From a352da3f9ad49fbdadeeb6a804cdf3e6080870b2fdb3b383da8519a80ce33cbe Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Wed, 27 Nov 2013 14:56:36 +0000 Subject: [PATCH] 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 --- pylzma-0.3.0.tar.bz2 | 3 --- pylzma-0.4.4.tar.gz | 3 +++ pylzma.changes | 5 ----- pylzma.spec | 48 ---------------------------------------- python-pylzma.changes | 14 ++++++++++++ python-pylzma.spec | 51 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 68 insertions(+), 56 deletions(-) delete mode 100644 pylzma-0.3.0.tar.bz2 create mode 100644 pylzma-0.4.4.tar.gz delete mode 100644 pylzma.changes delete mode 100644 pylzma.spec create mode 100644 python-pylzma.changes create mode 100644 python-pylzma.spec diff --git a/pylzma-0.3.0.tar.bz2 b/pylzma-0.3.0.tar.bz2 deleted file mode 100644 index 100f112..0000000 --- a/pylzma-0.3.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:46691c4a022e464bbd5a271d99fec6228eafe8634af11a35853f6c7095e83972 -size 99245 diff --git a/pylzma-0.4.4.tar.gz b/pylzma-0.4.4.tar.gz new file mode 100644 index 0000000..403fe86 --- /dev/null +++ b/pylzma-0.4.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba65fbeee504bd10af275399df10e5603a33226a3e22d393dfa59ae99765cff1 +size 106537 diff --git a/pylzma.changes b/pylzma.changes deleted file mode 100644 index d1211ba..0000000 --- a/pylzma.changes +++ /dev/null @@ -1,5 +0,0 @@ -------------------------------------------------------------------- -Mon Jun 9 02:10:43 CEST 2008 - poeml@suse.de - -- package created (scrounged from Mandriva) (0.3.0) - diff --git a/pylzma.spec b/pylzma.spec deleted file mode 100644 index faecd73..0000000 --- a/pylzma.spec +++ /dev/null @@ -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 diff --git a/python-pylzma.changes b/python-pylzma.changes new file mode 100644 index 0000000..b693c39 --- /dev/null +++ b/python-pylzma.changes @@ -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) + diff --git a/python-pylzma.spec b/python-pylzma.spec new file mode 100644 index 0000000..f9b9191 --- /dev/null +++ b/python-pylzma.spec @@ -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