|
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 |
|
|---|
| 4 | Summary: Python bindings for lzma
|
|---|
| 5 | Name: pyliblzma
|
|---|
| 6 | Version: 0.5.3
|
|---|
| 7 | Release: 1%{?dist}
|
|---|
| 8 | License: LGPLv3+
|
|---|
| 9 | URL: https://launchpad.net/pyliblzma
|
|---|
| 10 |
|
|---|
| 11 | Vendor: bww bitwise works GmbH
|
|---|
| 12 | %scm_source svn http://svn.netlabs.org/repos/ports/pyliblzma/trunk 2065
|
|---|
| 13 |
|
|---|
| 14 | BuildRequires: xz-devel python-setuptools python2-devel
|
|---|
| 15 | BuildRequires: python-test
|
|---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|---|
| 17 |
|
|---|
| 18 | %description
|
|---|
| 19 | PylibLZMA provides a python interface for the liblzma library
|
|---|
| 20 | to read and write data that has been compressed or can be decompressed
|
|---|
| 21 | by 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
|
|---|
| 37 | rm -rf %{buildroot}
|
|---|
| 38 | %{__python} setup.py install --root=%{buildroot}
|
|---|
| 39 |
|
|---|
| 40 | # don't deliver map files
|
|---|
| 41 | rm -f %{buildroot}/%{python_sitearch}/*.map
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | %clean
|
|---|
| 45 | rm -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.