|
|
1e2f6e9 |
%global module blosc
|
|
|
b82ee17 |
|
|
|
1e2f6e9 |
# Use the same directory of the main package for subpackage licence and docs
|
|
|
1e2f6e9 |
%global _docdir_fmt %{name}
|
|
|
b82ee17 |
|
|
|
b62540f |
Summary: Python wrapper for the Blosc high performance compressor
|
|
|
1e2f6e9 |
Name: python-%{module}
|
|
|
1542831 |
Version: 1.4.1
|
|
|
99e0de8 |
Release: 7%{?dist}
|
|
|
1e2f6e9 |
License: MIT
|
|
|
1542831 |
URL: https://github.com/Blosc/python-blosc
|
|
|
1542831 |
Source0: https://github.com/Blosc/python-blosc/archive/v%{version}.tar.gz#/%{module}-%{version}.tar.gz
|
|
|
3602f24 |
# remove the build-time CPU detection
|
|
|
3602f24 |
Patch0: python-blosc-alt-arch.patch
|
|
|
45b8ff2 |
|
|
|
1542831 |
BuildRequires: blosc-devel >= 1.9.0
|
|
|
1e2f6e9 |
BuildRequires: python2-devel
|
|
|
45b8ff2 |
BuildRequires: numpy
|
|
|
c8e2227 |
BuildRequires: python2-psutil
|
|
|
1542831 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
1542831 |
BuildRequires: python%{python3_pkgversion}-numpy
|
|
|
1542831 |
BuildRequires: python%{python3_pkgversion}-psutil
|
|
|
b82ee17 |
|
|
|
b82ee17 |
%description
|
|
|
b62540f |
%{summary}.
|
|
|
b62540f |
|
|
|
b62540f |
%package -n python2-%{module}
|
|
|
b62540f |
Summary: %{summary}
|
|
|
b62540f |
|
|
|
b62540f |
%{?python_provide:%python_provide python2-blosc}
|
|
|
b62540f |
%{?fedora:Recommends: numpy}
|
|
|
b62540f |
|
|
|
b62540f |
%description -n python2-%{module}
|
|
|
b62540f |
%{summary}.
|
|
|
b82ee17 |
|
|
Orion Poplawski |
a8a9e5f |
%package -n python%{python3_pkgversion}-%{module}
|
|
|
1e2f6e9 |
Summary: Python wrapper for the blosc high performance compressor
|
|
|
b62540f |
|
|
Orion Poplawski |
a8a9e5f |
%{?python_provide:%python_provide python%{python3_pkgversion}-blosc}
|
|
Orion Poplawski |
a8a9e5f |
%{?fedora:Recommends: python%{python3_pkgversion}-numpy}
|
|
|
1e2f6e9 |
|
|
Orion Poplawski |
a8a9e5f |
%description -n python%{python3_pkgversion}-%{module}
|
|
|
b62540f |
%{summary}.
|
|
|
1e2f6e9 |
|
|
|
b82ee17 |
%prep
|
|
|
1542831 |
%autosetup -p1
|
|
|
b82ee17 |
|
|
|
b82ee17 |
%build
|
|
|
1e2f6e9 |
export BLOSC_DIR=%{_libdir}/blosc CFLAGS="%{optflags}"
|
|
|
b62540f |
%py2_build
|
|
|
b62540f |
%py3_build
|
|
|
ce49e44 |
|
|
|
b82ee17 |
%install
|
|
|
b62540f |
%py2_install
|
|
|
b62540f |
%py3_install
|
|
Orion Poplawski |
a8a9e5f |
|
|
Orion Poplawski |
a8a9e5f |
%check
|
|
Orion Poplawski |
a8a9e5f |
cd / # avoid interference with build dir
|
|
Orion Poplawski |
a8a9e5f |
PYTHONPATH=%{buildroot}%{python2_sitearch} python -c 'import sys, blosc; sys.exit(blosc.test())'
|
|
Orion Poplawski |
a8a9e5f |
PYTHONPATH=%{buildroot}%{python3_sitearch} python3 -c 'import sys, blosc; sys.exit(blosc.test())'
|
|
|
b82ee17 |
|
|
|
b62540f |
%files -n python2-%{module}
|
|
|
b82ee17 |
%{python2_sitearch}/blosc/
|
|
|
b82ee17 |
%{python2_sitearch}/blosc-%{version}*-py*.egg-info
|
|
|
1e2f6e9 |
%license LICENSES/PYTHON-BLOSC.txt
|
|
|
1e2f6e9 |
%doc README.rst RELEASE_NOTES.rst
|
|
|
1e2f6e9 |
|
|
Orion Poplawski |
a8a9e5f |
%files -n python%{python3_pkgversion}-%{module}
|
|
|
1e2f6e9 |
%{python3_sitearch}/blosc/
|
|
|
1e2f6e9 |
%{python3_sitearch}/blosc-%{version}*-py*.egg-info
|
|
|
1e2f6e9 |
%license LICENSES/PYTHON-BLOSC.txt
|
|
|
1e2f6e9 |
%doc README.rst RELEASE_NOTES.rst
|
|
|
45b8ff2 |
|
|
|
b82ee17 |
%changelog
|
|
|
99e0de8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-7
|
|
|
99e0de8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
99e0de8 |
|
|
|
dfd972f |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-6
|
|
|
dfd972f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
dfd972f |
|
|
|
ce03372 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
|
|
|
ce03372 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ce03372 |
|
|
|
2cc1a67 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-4
|
|
|
2cc1a67 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2cc1a67 |
|
|
|
3602f24 |
* Thu Jan 05 2017 Dan Horák <dan[at]danny.cz> - 1.4.1-3
|
|
|
3602f24 |
- remove build time CPU detection, fixed build on ppc64/ppc64le and s390(x)
|
|
|
3602f24 |
|
|
|
da31bb8 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.4.1-2
|
|
|
da31bb8 |
- Rebuild for Python 3.6
|
|
|
da31bb8 |
|
|
|
1542831 |
* Thu Jul 28 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.4.1-1
|
|
|
1542831 |
- Update to latest version (#1323008)
|
|
|
1542831 |
|
|
|
067b376 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
|
|
|
067b376 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
067b376 |
|
|
|
ff40db4 |
* Thu Jul 14 2016 Thibault North <tnorth@fedoraproject.org> - 1.3.3-1
|
|
|
ff40db4 |
- Update to 1.3.3
|
|
|
ff40db4 |
|
|
Orion Poplawski |
c657fe4 |
* Mon May 16 2016 Orion Poplawski <orion@cora.nwra.com> - 1.3.2-1
|
|
Orion Poplawski |
c657fe4 |
- Update to 1.3.2
|
|
Orion Poplawski |
c657fe4 |
|
|
Orion Poplawski |
a8a9e5f |
* Mon May 16 2016 Orion Poplawski <orion@cora.nwra.com> - 1.2.8-3
|
|
Orion Poplawski |
a8a9e5f |
- Fix provides filter
|
|
Orion Poplawski |
a8a9e5f |
- Use %%python3_pkgversion for EPEL7 compatibility
|
|
Orion Poplawski |
a8a9e5f |
|
|
|
c8e2227 |
* Sat Feb 13 2016 Zbigniew Jędrzejewski-Szmek <zbyszek@bupkis> - 1.2.8-2
|
|
|
c8e2227 |
- Add dependency on psutil to check for leaks during build
|
|
|
c8e2227 |
- Fix build (#1307896)
|
|
|
c8e2227 |
|
|
|
dd20be5 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-2
|
|
|
dd20be5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
dd20be5 |
|
|
|
b62540f |
* Mon Nov 16 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.8-1
|
|
|
b62540f |
- Update to latest version (#1263680)
|
|
|
b62540f |
- Add python2 subpackage following the latest guidelines
|
|
|
b62540f |
|
|
|
b62540f |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-5
|
|
|
d039e87 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
d039e87 |
|
|
|
d23ecf1 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-4
|
|
|
d23ecf1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
d23ecf1 |
|
|
|
45b8ff2 |
* Fri May 29 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.7-3
|
|
|
45b8ff2 |
- Run test suite
|
|
|
45b8ff2 |
|
|
|
403ae7f |
* Thu May 28 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.7-2
|
|
|
403ae7f |
- Build python 3 subpackage
|
|
|
403ae7f |
- Install license and readme files
|
|
|
403ae7f |
|
|
|
0be7e36 |
* Thu May 7 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.7-1
|
|
|
0be7e36 |
- Update to 1.2.7 (#1212231)
|
|
|
0be7e36 |
|
|
|
6cf776c |
* Mon Apr 20 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.5-1
|
|
|
6cf776c |
- Update to 1.2.5 (#1212231)
|
|
|
6cf776c |
|
|
|
2388635 |
* Tue Jan 06 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-1
|
|
|
2388635 |
- Update to 1.2.4
|
|
|
2388635 |
|
|
|
15ad68b |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-4
|
|
|
15ad68b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
15ad68b |
|
|
|
ec4333e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-3
|
|
|
ec4333e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ec4333e |
|
|
|
c859b36 |
* Wed Mar 26 2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.3-2
|
|
|
c859b36 |
- Rebuild for blosc
|
|
|
c859b36 |
|
|
|
6e5516f |
* Sat Mar 22 2014 Thibault North <tnorth@fedoraproject.org> - 1.2.3-1
|
|
|
6e5516f |
- Update to 1.2.3 for blosc 1.3.4
|
|
|
6e5516f |
|
|
|
f4e945a |
* Wed Jan 08 2014 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1-8
|
|
|
f4e945a |
- Rebuild for blosc
|
|
|
f4e945a |
|
|
|
ce49e44 |
* Tue Nov 05 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-7
|
|
|
ce49e44 |
- Properly link with blosc shared lib
|
|
|
ce49e44 |
|
|
|
1c40f29 |
* Tue Nov 05 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-6
|
|
|
1c40f29 |
- Disable SSE2 optimizations
|
|
|
1c40f29 |
|
|
|
b82ee17 |
* Tue Nov 05 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-5
|
|
|
b82ee17 |
- Final cosmetic fixes
|
|
|
b82ee17 |
|
|
|
b82ee17 |
* Tue Nov 05 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-4
|
|
|
b82ee17 |
- Fix wrong lib perms
|
|
|
b82ee17 |
|
|
|
b82ee17 |
* Fri Oct 18 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-3
|
|
|
b82ee17 |
- Fixes, thanks to Christopher Meng
|
|
|
b82ee17 |
|
|
|
b82ee17 |
* Wed Oct 16 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-2
|
|
|
b82ee17 |
- Various fixes
|
|
|
b82ee17 |
|
|
|
b82ee17 |
* Fri Sep 20 2013 Thibault North <tnorth@fedoraproject.org> - 1.1-1
|
|
|
b82ee17 |
- Sync to version 1.1
|
|
|
b82ee17 |
|
|
|
b82ee17 |
* Mon Jan 2 2012 Thibault North <tnorth@fedoraproject.org> - 1.0.7-1
|
|
|
b82ee17 |
- Initial package
|