source: spec/trunk/SPECS/pyliblzma.spec@ 1569

Last change on this file since 1569 was 1200, checked in by Silvan Scherrer, 8 years ago

spec: pyliblzma: Release version 0.5.3-1.

File size: 1.4 KB
Line 
1%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
2
3
4Summary: Python bindings for lzma
5Name: pyliblzma
6Version: 0.5.3
7Release: 1%{?dist}
8License: LGPLv3+
9URL: https://launchpad.net/pyliblzma
10
11Vendor: bww bitwise works GmbH
12%scm_source svn http://svn.netlabs.org/repos/ports/pyliblzma/trunk 2065
13
14BuildRequires: xz-devel python-setuptools python2-devel
15BuildRequires: python-test
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17
18%description
19PylibLZMA provides a python interface for the liblzma library
20to read and write data that has been compressed or can be decompressed
21by Lasse Collin's lzma utils.
22
23%debug_package
24
25%prep
26%scm_setup
27
28
29%build
30%{__python} setup.py build --debug
31
32%check
33# disable tests for now, as 3 of them fail
34#{__python} setup.py test
35
36%install
37rm -rf %{buildroot}
38%{__python} setup.py install --root=%{buildroot}
39
40# don't deliver map files
41rm -f %{buildroot}/%{python_sitearch}/*.map
42
43
44%clean
45rm -rf %{buildroot}
46
47%files
48%defattr(-,root,root)
49%{!?_licensedir:%global license %%doc}
50%license COPYING
51%doc README THANKS ChangeLog NEWS
52%attr(0755,-,-) %{python_sitearch}/lzma.pyd
53%{python_sitearch}/liblzma.py*
54%{python_sitearch}/%{name}*.egg-info
55
56%changelog
57* Wed Feb 22 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 0.5.3-1
58- initial build
Note: See TracBrowser for help on using the repository browser.