From b82ee1734ed35363656338b136856e059540e7a8 Mon Sep 17 00:00:00 2001 From: Thibault North Date: Tue, 5 Nov 2013 10:46:24 -0500 Subject: [PATCH] Initial import (#1020096) --- .gitignore | 1 + python-blosc.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 53 insertions(+) create mode 100644 python-blosc.spec diff --git a/.gitignore b/.gitignore index e69de29..4074bce 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/blosc-1.1.tar.gz diff --git a/python-blosc.spec b/python-blosc.spec new file mode 100644 index 0000000..7f129e3 --- /dev/null +++ b/python-blosc.spec @@ -0,0 +1,51 @@ +%global __provides_filter_from ^%{python_sitearch}/.*\\.so$ + +%global module blosc + +Summary: Python wrapper for the blosc high performance compressor +Name: python-%{module} +Version: 1.1 +Release: 5%{?dist} +License: MIT +URL: https://github.com/FrancescAlted/python-blosc +Source0: https://pypi.python.org/packages/source/b/%{module}/%{module}-%{version}.tar.gz +BuildRequires: python2-devel blosc-devel + + +%description +Python wrapper for the Blosc high performance compressor. + +%prep +%setup -q -n %{module}-%{version} + +%build +%{__python2} setup.py build +# Fix lib perms +find . -name "blosc_extension.so" -exec chmod 0755 {} \; + + +%install +%{__python2} setup.py install --prefix=%{_prefix} -O1 --skip-build --root=%{buildroot} + +%files +%{python2_sitearch}/blosc/ +%{python2_sitearch}/blosc-%{version}*-py*.egg-info + +%changelog +* Tue Nov 05 2013 Thibault North - 1.1-5 +- Final cosmetic fixes + +* Tue Nov 05 2013 Thibault North - 1.1-4 +- Fix wrong lib perms + +* Fri Oct 18 2013 Thibault North - 1.1-3 +- Fixes, thanks to Christopher Meng + +* Wed Oct 16 2013 Thibault North - 1.1-2 +- Various fixes + +* Fri Sep 20 2013 Thibault North - 1.1-1 +- Sync to version 1.1 + +* Mon Jan 2 2012 Thibault North - 1.0.7-1 +- Initial package diff --git a/sources b/sources index e69de29..ef0bc01 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4b0a30bace14fb7c64c78df6addf857e blosc-1.1.tar.gz