Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Virtualization:Tests
python-pyliblzma
python-pyliblzma.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pyliblzma.spec of Package python-pyliblzma
# # spec file for package python-pyliblzma # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define oname pyliblzma %define module liblzma Name: python-pyliblzma Version: 0.5.3 Release: 0 Summary: Python bindings for liblzma License: LGPL-3.0 Group: Development/Libraries/Python Url: https://launchpad.net/pyliblzma Source: https://pypi.python.org/packages/source/p/%{oname}/%{oname}-%{version}.tar.bz2 BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: make BuildRequires: pkgconfig BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: xz-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %endif %package -n %{name}-doc Summary: Documentation for the python-pyliblzma Group: Documentation BuildArch: noarch %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 xz / lzma utils. %description -n %{name}-doc 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 xz / lzma utils. Documentation for the %{name}. %prep %setup -q -n %{oname}-%{version} # Remove Shebang sed -i '1d' %{module}.py %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check python setup.py test %files %defattr(-,root,root,-) %{python_sitearch}/%{module}.py* %{python_sitearch}/lzma.so %{python_sitearch}/%{oname}-%{version}-py%{py_ver}.egg-info %files -n %{name}-doc %defattr(-,root,root,-) %doc COPYING ChangeLog NEWS README THANKS %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor