-
Notifications
You must be signed in to change notification settings - Fork 0
/
python-aerospike.spec
59 lines (42 loc) · 1.33 KB
/
python-aerospike.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
49
50
51
52
53
54
55
56
57
58
59
# Created by pyp2rpm-1.1.2
%global pypi_name aerospike
%global py_ver 2.7
Name: python-%{pypi_name}
Version: 1.0.45
Release: 1%{?dist}
Summary: Aerospike Client Library for Python
License: ASL %(TODO: version)s
URL: http://aerospike.com
Source0: https://pypi.python.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildRequires: python2-devel
%description
Aerospike Python Client
=======================
|Build| |Release| |Downloads|
|License|
.. |Build| image:: https://travis-ci.org/aerospike/aerospike-client-
python.svg?branch=master
.. |Release| image::
https://pypip.in/version/aerospike/badge.svg
.. |Downloads| image::
https://pypip.in/download/aerospike/badge.svg
.. |License| image:: ...
%prep
%setup -q -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
%install
%{__python2} setup.py install --skip-build --root %{buildroot}
%files
%doc README.rst LICENSE
%{python2_sitearch}/%{pypi_name}.so
%{python_sitearch}/%{pypi_name}-%{version}-py%{py_ver}.egg-info
/usr/aerospike/lua/aerospike.lua
/usr/aerospike/lua/as.lua
/usr/aerospike/lua/stream_ops.lua
#/usr/lib64/python2.7/site-packages/aerospike.so
%changelog
* Wed Jun 17 2015 root - 1.0.45-1
- Initial package.