Search
j0ke.net Open Build Service
>
Projects
>
ORACLE
:
XE
>
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 2)
Currently displaying revision
2
,
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 %define _oracleclient client %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 | \ sed -e s@%LIB%@%{_lib}@g > %{buildroot}%{_bindir}/%{name} %clean rm -rf %{buildroot} %files %attr(0755,root,root) %{_bindir}/%{name}