summaryrefslogtreecommitdiffstats
path: root/oracle-instantclient-12.1-x86_64.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2013-07-26 14:37:16 +0200
committerRemi Collet <fedora@famillecollet.com>2013-07-26 14:37:16 +0200
commit1beb3a649d916adfc436e9f3e4dd67be094d1a2a (patch)
treeca3d64fddfa2f08b280415d3a5606933b81ca88d /oracle-instantclient-12.1-x86_64.spec
parentae8ac1ff4546d22af86bd666582ff5861b9b5ef1 (diff)
oracle-instantclient: 12.1.0.1.0
Diffstat (limited to 'oracle-instantclient-12.1-x86_64.spec')
-rw-r--r--oracle-instantclient-12.1-x86_64.spec70
1 files changed, 42 insertions, 28 deletions
diff --git a/oracle-instantclient-12.1-x86_64.spec b/oracle-instantclient-12.1-x86_64.spec
index 8ee1401..28ad061 100644
--- a/oracle-instantclient-12.1-x86_64.spec
+++ b/oracle-instantclient-12.1-x86_64.spec
@@ -8,11 +8,12 @@
%define __arch_install_post /bin/true
-%global mainver 11.2
+%global major 12
+%global mainver 12.1
Summary: Instant Client for Oracle Database 11g
Name: oracle-instantclient-x86_64
-Version: 11.2.0.3.0
+Version: 12.1.0.1.0
Release: 1%{?dist}
License: Oracle
Group: Applications/File
@@ -25,7 +26,6 @@ Source3: instantclient-sdk-linux.x64-%{version}.zip
Source4: instantclient-sqlplus-linux.x64-%{version}.zip
Source5: instantclient-tools-linux.x64-%{version}.zip
Source6: instantclient-precomp-linux.x64-%{version}.zip
-
NoSource: 0
NoSource: 1
NoSource: 2
@@ -37,7 +37,7 @@ NoSource: 6
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: x86_64
-%global topdir instantclient_11_2
+%global topdir instantclient_12_1
%global oradir %{_libdir}/oracle/%{mainver}/client64
%global incdir %{_includedir}/oracle/%{mainver}/client64
@@ -56,7 +56,7 @@ and JDBC-OCI applications.
%package -n oracle-instantclient-devel
Summary: Development headers for Instant Client
Group: Applications/File
-Requires: oracle-instantclient-basic = %version
+Requires: oracle-instantclient-basic%{?_isa} = %version
%description -n oracle-instantclient-devel
Additional header files and an example Makefile for developing Oracle
@@ -65,7 +65,7 @@ applications with Instant Client.
%package -n oracle-instantclient-jdbc
Summary: Supplemental JDBC features under Instant Client
Group: Applications/File
-Requires: oracle-instantclient-basic = %version
+Requires: oracle-instantclient-basic%{?_isa} = %version
%description -n oracle-instantclient-jdbc
Additional support for XA, Internationalization,
@@ -74,7 +74,7 @@ and RowSet operations under JDBC.
%package -n oracle-instantclient-odbc
Summary: Oracle ODBC Instant Client for Linux
Group: Applications/File
-Requires: oracle-instantclient-basic = %version
+Requires: oracle-instantclient-basic%{?_isa} = %version
%description -n oracle-instantclient-odbc
Oracle ODBC Instant Client for Linux complies with
@@ -85,7 +85,7 @@ the need for a traditional ORACLE_HOME installation.
%package -n oracle-instantclient-sqlplus
Summary: SQL*Plus for Instant Client
Group: Applications/File
-Requires: oracle-instantclient-basic = %version
+Requires: oracle-instantclient-basic%{?_isa} = %version
%description -n oracle-instantclient-sqlplus
Additional libraries and executable for running
@@ -94,7 +94,7 @@ SQL*Plus with Instant Client.
%package -n oracle-instantclient-tools
Summary: Tools for Oracle Database 11g
Group: Applications/File
-Requires: oracle-instantclient-basic = %version
+Requires: oracle-instantclient-basic%{?_isa} = %version
%description -n oracle-instantclient-tools
This package provides tools to be used with the Oracle Database.
@@ -104,7 +104,7 @@ It currently includes
%package -n oracle-instantclient-precomp
Summary: Oracle Precompilers for Pro*C and Pro*COBOL
Group: Applications/File
-Requires: oracle-instantclient-devel = %version
+Requires: oracle-instantclient-devel%{?_isa} = %version
%description -n oracle-instantclient-precomp
PRECOMP Instant Client (IC) Package contains following
@@ -141,13 +141,16 @@ mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
install -p adrci %{buildroot}%{oradir}/bin
install -p genezi %{buildroot}%{oradir}/bin
install -p uidrvci %{buildroot}%{oradir}/bin
-install -p libclntsh.so.11.1 %{buildroot}%{oradir}/lib
-install -p libnnz11.so %{buildroot}%{oradir}/lib
-install -p libocci.so.11.1 %{buildroot}%{oradir}/lib
-install -p libociei.so %{buildroot}%{oradir}/lib
-install -p libocijdbc11.so %{buildroot}%{oradir}/lib
-install -p ojdbc5.jar %{buildroot}%{oradir}/lib
+install -p libclntshcore.so.%{mainver} %{buildroot}%{oradir}/lib
+install -p libclntsh.so.%{mainver} %{buildroot}%{oradir}/lib
+install -p libnnz%{major}.so %{buildroot}%{oradir}/lib
+install -p libocci.so.%{mainver} %{buildroot}%{oradir}/lib
+install -p libociei.so %{buildroot}%{oradir}/lib
+install -p libocijdbc%{major}.so %{buildroot}%{oradir}/lib
+install -p libons.so %{buildroot}%{oradir}/lib
+install -p liboramysql%{major}.so %{buildroot}%{oradir}/lib
install -p ojdbc6.jar %{buildroot}%{oradir}/lib
+install -p ojdbc7.jar %{buildroot}%{oradir}/lib
install -p xstreams.jar %{buildroot}%{oradir}/lib
echo %{oradir}/lib >%{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
@@ -157,9 +160,12 @@ install -p -m 644 sdk/include/*.h %{buildroot}%{incdir}
install -p sdk/ottclasses.zip %{buildroot}%{oradir}/lib
install -p -m 755 sdk/ott %{buildroot}%{oradir}/bin
-ln -s %{oradir}/bin/ott %{buildroot}%{_bindir}/ott
-ln -s libocci.so.11.1 %{buildroot}%{oradir}/lib/libocci.so
-ln -s libclntsh.so.11.1 %{buildroot}%{oradir}/lib/libclntsh.so
+ln -s %{oradir}/bin/ott %{buildroot}%{_bindir}/ott
+ln -s libocci.so.%{mainver} %{buildroot}%{oradir}/lib/libocci.so
+ln -s libclntsh.so.%{mainver} %{buildroot}%{oradir}/lib/libclntsh.so
+ln -s libclntshcore.so.%{mainver} %{buildroot}%{oradir}/lib/libclntshcore.so
+
+# sdk/admin/oraaccess.xsd not provided in upstream RPM.
# SQL*Plus
install -p sqlplus %{buildroot}%{oradir}/bin
@@ -170,12 +176,12 @@ install -p libsqlplusic.so %{buildroot}%{oradir}/lib
ln -sf %{oradir}/bin/sqlplus %{buildroot}%{_bindir}/sqlplus
# JDBC
-install -p libheteroxa11.so %{buildroot}%{oradir}/lib
+install -p libheteroxa%{major}.so %{buildroot}%{oradir}/lib
install -p orai18n-mapping.jar %{buildroot}%{oradir}/lib
install -p orai18n.jar %{buildroot}%{oradir}/lib
# ODBC
-install -p libsqora.so.11.1 %{buildroot}%{oradir}/lib
+install -p libsqora.so.%{mainver} %{buildroot}%{oradir}/lib
# Tools
install -p wrc %{buildroot}%{oradir}/bin
@@ -209,13 +215,16 @@ rm -rf %{buildroot}
%dir %{oradir}
%dir %{oradir}/lib
%dir %{oradir}/bin
-%{oradir}/lib/libclntsh.so.11.1
-%{oradir}/lib/libnnz11.so
-%{oradir}/lib/libocci.so.11.1
+%{oradir}/lib/libclntshcore.so.%{mainver}
+%{oradir}/lib/libclntsh.so.%{mainver}
+%{oradir}/lib/libnnz%{major}.so
+%{oradir}/lib/libocci.so.%{mainver}
%{oradir}/lib/libociei.so
-%{oradir}/lib/libocijdbc11.so
-%{oradir}/lib/ojdbc5.jar
+%{oradir}/lib/libocijdbc%{major}.so
+%{oradir}/lib/libons.so
+%{oradir}/lib/liboramysql%{major}.so
%{oradir}/lib/ojdbc6.jar
+%{oradir}/lib/ojdbc7.jar
%{oradir}/lib/xstreams.jar
%{_sysconfdir}/ld.so.conf.d/%{name}.conf
%{oradir}/bin/genezi
@@ -225,6 +234,7 @@ rm -rf %{buildroot}
%files -n oracle-instantclient-devel
%defattr(-,root,root)
%doc %{topdir}/sdk/demo %{topdir}/sdk/SDK_README %{topdir}/sdk/ott
+%{oradir}/lib/libclntshcore.so
%{oradir}/lib/libclntsh.so
%{oradir}/lib/libocci.so
%{oradir}/lib/ottclasses.zip
@@ -250,7 +260,7 @@ rm -rf %{buildroot}
%files -n oracle-instantclient-jdbc
%defattr(-,root,root)
%doc %{topdir}/JDBC_README
-%{oradir}/lib/libheteroxa11.so
+%{oradir}/lib/libheteroxa%{major}.so
%{oradir}/lib/orai18n-mapping.jar
%{oradir}/lib/orai18n.jar
@@ -258,7 +268,8 @@ rm -rf %{buildroot}
%defattr(-,root,root)
%doc %{topdir}/ODBC_IC_Readme_Unix.html %{topdir}/ODBCRelnotesJA.htm %{topdir}/ODBCRelnotesUS.htm
%doc %{topdir}/odbc_update_ini.sh
-%{oradir}/lib/libsqora.so.11.1
+%doc %{topdir}/help
+%{oradir}/lib/libsqora.so.%{mainver}
%files -n oracle-instantclient-tools
%defattr(-,root,root)
@@ -283,6 +294,9 @@ rm -rf %{buildroot}
%changelog
+* Fri Jul 26 2013 Remi Collet <RPMS@famillecollet.com> 12.1.0.1.0-1
+- update to 12.1.0.1.0
+
* Wed Feb 29 2012 Remi Collet <RPMS@famillecollet.com> 11.2.0.3.0-1
- update to 11.2.0.3.0
- add precomp subpackage