Sha256: 3a113c993e4ac4dc267379a5020866cbaa57ce1b6dc7c29ce0be56b492e27578
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
%define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]') %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]') Summary: ruby interface for Oracle using OCI8 API Name: ruby-oci8 Version: 1.0.6 Release: 1%{?dist} Group: Development/Libraries License: Ruby License URL: http://rubyforge.org/projects/ruby-oci8/ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) Requires: ruby Requires: oracle-instantclient-basic BuildRequires: ruby BuildRequires: ruby-devel BuildRequires: oracle-instantclient-basic BuildRequires: oracle-instantclient-devel # Note: the oracle-instanclient-basic package should say # Provides: libclntsh.so.10.1 # but it doesn't. So we have to turn off dependency checking in the # finished package. (Or else we could manually patch the package # using rpmrebuild) AutoReqProv: no %description Ruby/OCI8 is a ruby interface for Oracle using OCI8 API. It also provides a DBD driver for use with ruby-dbi, and is used by the ActiveRecord Oracle connection adapter. %prep %setup -q -n %{name}-%{Version} %build CFLAGS="$RPM_OPT_FLAGS" \ LD_LIBRARY_PATH="$(echo /usr/lib/oracle/*/client/lib | sed 's/^.* //')" \ ruby setup.rb config -- --with-instant-client make %install rm -rf $RPM_BUILD_ROOT ruby setup.rb --verbose install --prefix=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc ChangeLog NEWS README %doc doc/api.en.html doc/manual.css %{ruby_sitelib}/oci8.rb %{ruby_sitelib}/DBD/OCI8/OCI8.rb %{ruby_sitearch}/oci8lib.so %changelog * Thu Jun 26 2008 KUBO Takehiro <kubo@jiubao.org> - Thie file is made from ruby-oci8.spec.in by erb. * Fri Mar 23 2007 Brian Candler <brian.candler@inspiredbroadcast.net> - 1.0.0_rc1-1 - First cut
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-oci8-1.0.6-x86-mswin32-60 | ruby-oci8.spec |
ruby-oci8-1.0.6 | ruby-oci8.spec |