Search
j0ke.net Open Build Service
>
Projects
>
devel
>
oracle-instantclient-config
> oracle-instantclient-config.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File oracle-instantclient-config.spec of Package oracle-instantclient-config (Revision 6)
Currently displaying revision
6
,
show latest
%define _oracleversion %( echo `rpm -q --queryformat '%{VERSION}' oracle-instantclient-devel` ) Name: oracle-instantclient-config Version: %{_oracleversion} Release: 1 Group: Development License: GPL Summary: oracle-instantclient-config BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: oracle-instantclient-config.tmpl BuildArch: noarch BuildRequires: oracle-instantclient-devel %ifarch x86_64 %define _oracleclient client64 %else %define _oracleclient client %endif %description This package provides missing oracle-instantclient-config script. %prep %build %install %__install -m 755 -d %{buildroot}%{_bindir} cat %{SOURCE0} | \ sed -e s@%VERSION%@%{_oracleversion}@g | \ sed -e s@%CLIENT%@%{_oracleclient}@g > %{buildroot}%{_bindir}/%{name} %post mkdir -p /etc/ld.so.conf.d echo %{_prefix}/lib/oracle/${version}/%{_oracleclient}/lib > /etc/ld.so.conf.d/oracle-instantclient.conf /sbin/ldconfig %clean rm -rf %{buildroot} %files %attr(0755,root,root) %{_bindir}/%{name}