-
Notifications
You must be signed in to change notification settings - Fork 0
/
oracle-fake-client.spec
49 lines (35 loc) · 1.1 KB
/
oracle-fake-client.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Summary: Fake Oracle client packagee
Name: oracle-fake-client
Version: 11.1
Release: 1
Source: oracle-fake-client-%{version}.tar.bz2
License: LGPL
Group: Clients
URL: https://github.com/pvanek/oracle-fake-client
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Provides: libclntsh.so.11.1
BuildRequires: cmake gcc-c++
Group: Development/Libraries/Other
%description
This package contains fake oracle client. It does not mean you can run any SW with it. You
need to download at least instant client from Oracle website. Yes, it's closed source
but free-as-a-beer.
http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
%prep
%setup -q -n "oracle-fake-client-%{version}"
%build
cmake -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_PREFIX="%{_prefix}" .
make
%install
%__make install DESTDIR="%buildroot"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%_libdir/libclntsh.*
%doc AUTHORS COPYING README
%changelog
* Thu Sep 8 2011 Petr Vanek <[email protected]> - 11.1
- initial spec file revision