Last active
January 4, 2016 16:59
-
-
Save nohtyp/8651104 to your computer and use it in GitHub Desktop.
oracle-pre-req
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name: oracle-11g-pre-reqs | |
Version: 1 | |
Release: 1%{?dist} | |
Summary: This package is the pre-reqs for an Oracle install | |
Group: Miscellaneous | |
License: PIN | |
URL: http://www.promnetwork.com/syseng | |
Source0: oracle-11g-pre-reqs.tgz | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | |
#BuildRequires: | |
Requires: xorg-x11-utils, binutils, compat-libcap1, compat-libstdc++-33, compat-libstdc++-33(x86-32), gcc, gcc-c++, glibc, glibc(x86-32), glibc-devel, glibc-devel(x86-32), libgcc, libgcc(x86-32), libstdc++, libstdc++(x86-32), libstdc++-devel, libstdc++-devel(x86-32), libaio, libaio(x86-32), libaio-devel, libaio-devel(x86-32), make, sysstat, ksh, elfutils-libelf-devel | |
%description | |
This package will install the Oracle 11g pre-reqs | |
%prep | |
%setup -q | |
%build | |
#%configure | |
#make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
#make install DESTDIR=$RPM_BUILD_ROOT | |
install -d -m 0755 $RPM_BUILD_ROOT/opt/oracle-11g-pre-reqs-1 | |
install -m 0755 oracle-11g-config $RPM_BUILD_ROOT/opt/oracle-11g-pre-reqs-1/oracle-11g-config | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%dir /opt/oracle-11g-pre-reqs-1 | |
%defattr(-,root,root,-) | |
/opt/oracle-11g-pre-reqs-1/oracle-11g-config | |
#%doc | |
%post | |
/opt/oracle-11g-pre-reqs-1/oracle-11g-config | |
%changelog | |
* Fri Jan 25 2013 Thomas Foster <tfoster@promnetwork.com> | |
Modified rpm for and added elfutils-libelf-devel | |
* Thu Jan 17 2013 Thomas Foster <tfoster@promnetwork.com> | |
Created rpm for oracle pre-reqs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment