14
0
forked from pool/python-pylzma

Accepting request 208690 from home:posophe:branches:devel:languages:python

update

OBS-URL: https://build.opensuse.org/request/show/208690
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylzma?expand=0&rev=2
This commit is contained in:
Denisart Benjamin
2013-11-27 14:56:36 +00:00
committed by Git OBS Bridge
parent 75d1ef738b
commit a352da3f9a
6 changed files with 68 additions and 56 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46691c4a022e464bbd5a271d99fec6228eafe8634af11a35853f6c7095e83972
size 99245

3
pylzma-0.4.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba65fbeee504bd10af275399df10e5603a33226a3e22d393dfa59ae99765cff1
size 106537

View File

@@ -1,5 +0,0 @@
-------------------------------------------------------------------
Mon Jun 9 02:10:43 CEST 2008 - poeml@suse.de
- package created (scrounged from Mandriva) (0.3.0)

View File

@@ -1,48 +0,0 @@
#
# spec file for package python-cmdln
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Summary: Python bindings for the LZMA compression library
Name: python-pylzma
BuildRequires: python-devel gcc-c++
Autoreqprov: on
Version: 0.3.0
Release: 0
License: GPL
Group: Development/Python
Url: http://www.joachim-bauch.de/projects/python/pylzma
Source0: http://www.joachim-bauch.de/projects/python/pylzma/releases/pylzma-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
%description
Python bindings for the LZMA compression library.
%prep
%setup -q -n pylzma-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%doc LICENSE.txt
%doc 7zip/readme_pylzma.txt
%doc 7zip/readme.txt
%changelog

14
python-pylzma.changes Normal file
View File

@@ -0,0 +1,14 @@
-------------------------------------------------------------------
Wed Nov 27 14:54:28 UTC 2013 - p.drouand@gmail.com
- Update to version 0.4.4
+ No changelog available
- Add Python prefix to spec file and .changes file
- Add a head to spec file
- Others improvements
-------------------------------------------------------------------
Mon Jun 9 02:10:43 CEST 2008 - poeml@suse.de
- package created (scrounged from Mandriva) (0.3.0)

51
python-pylzma.spec Normal file
View File

@@ -0,0 +1,51 @@
#
# spec file for package python-pylzma
#
# Copyright (c) 2013 SUSE LINUX Products 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 modname pylzma
Name: python-%{modname}
Version: 0.4.4
Release: 0
Summary: Python bindings for the LZMA compression library
Url: http://www.joachim-bauch.de/projects/python/pylzma
License: LGPL-2.1
Group: Development/Languages/Python
Source0: https://pypi.python.org/packages/source/p/pylzma/pylzma-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
%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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Python bindings for the LZMA compression library.
%prep
%setup -q -n pylzma-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root)
%doc doc/* LICENSE.txt readme.txt
%{python_sitearch}
%changelog