66 lines
1.4 KiB
RPMSpec
66 lines
1.4 KiB
RPMSpec
Summary: Python bindings for liblzma
|
|
Name: pyliblzma
|
|
Version: 0.5.3
|
|
Release: 28
|
|
License: LGPLv3+
|
|
Url: https://launchpad.net/pyliblzma
|
|
Source0: https://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: python-setuptools xz-devel python-test python-devel
|
|
|
|
%description
|
|
PylibLZMA provides a python interface for the liblzma library
|
|
to read and write data that has been compressed or can be decompressed
|
|
by Lasse Collin's lzma utils.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%check
|
|
python setup.py test
|
|
|
|
%install
|
|
python setup.py install --root=%{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc THANKS ChangeLog
|
|
%license COPYING
|
|
%{python_sitearch}/liblzma.py*
|
|
%attr(0755,root,root) %{python_sitearch}/lzma.so
|
|
%{python_sitearch}/%{name}*.egg-info
|
|
|
|
%files help
|
|
%defattr(-,root,root)
|
|
%doc README PKG-INFO NEWS
|
|
|
|
%changelog
|
|
* Thu Jan 09 2020 kangenbo<kangenbo@huawei.com> - 0.5.3-28
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:update software package
|
|
|
|
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 0.5.3-27
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:move directory of COPYING
|
|
|
|
* Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 0.5.3-26
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC:revise description
|
|
|
|
* Fri Aug 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.5.3-25
|
|
- strenthen spec
|
|
|
|
* Mon May 19 2008 Per Øyvind Karlsen <peroyvind@mandriva.org> 0.3-1
|
|
- initial release
|