|
|
1f2f4a7 |
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
Name: python-bitarray
|
|
|
1f2f4a7 |
Version: 0.3.5
|
|
|
20f974d |
Release: 9%{?dist}
|
|
|
1f2f4a7 |
Summary: Efficient Array of Booleans --C Extensions
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
Group: Development/Languages
|
|
|
1f2f4a7 |
License: Python
|
|
|
1f2f4a7 |
URL: http://pypi.python.org/pypi/bitarray/
|
|
|
1f2f4a7 |
Source0: http://pypi.python.org/packages/source/b/bitarray/bitarray-%{version}.tar.gz
|
|
|
1f2f4a7 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
1f2f4a7 |
BuildRequires: python-devel python-setuptools
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%description
|
|
|
1f2f4a7 |
Bitarrays are sequence types and behave very much like usual lists.
|
|
|
1f2f4a7 |
Eight bits are represented by one byte in contiguous block of memory.
|
|
|
1f2f4a7 |
The user can select between two representations; little-endian and big-endian.
|
|
|
1f2f4a7 |
Most of the functionality is implemented in C.Methods for accessing the machine
|
|
|
1f2f4a7 |
representation are provided. This can be useful when bit level access to binary
|
|
|
1f2f4a7 |
files is required, such as portable bitmap image files (.pbm). Also, when
|
|
|
1f2f4a7 |
dealing with compressed data which uses variable bit length encoding
|
|
|
1f2f4a7 |
you may find this module useful.
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%prep
|
|
|
1f2f4a7 |
%setup -q -n bitarray-%{version}
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%build
|
|
|
1f2f4a7 |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%install
|
|
|
1f2f4a7 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1f2f4a7 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%clean
|
|
|
1f2f4a7 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%files
|
|
|
1f2f4a7 |
%defattr(-,root,root,-)
|
|
|
1f2f4a7 |
%doc LICENSE
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%{python_sitearch}/*
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
%changelog
|
|
|
20f974d |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-9
|
|
|
20f974d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
20f974d |
|
|
|
e43cd55 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-8
|
|
|
e43cd55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
e43cd55 |
|
|
|
89f6158 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-7
|
|
|
89f6158 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
89f6158 |
|
|
|
101d255 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-6
|
|
|
101d255 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
101d255 |
|
|
|
92dfb73 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-5
|
|
|
92dfb73 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
92dfb73 |
|
|
|
bfaccc6 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-4
|
|
|
bfaccc6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
bfaccc6 |
|
|
|
f81567d |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.5-3
|
|
|
f81567d |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
f81567d |
|
|
|
840967d |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.5-2
|
|
|
840967d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
840967d |
|
|
|
1f2f4a7 |
* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <ramkrsna@fedoraproject.org> 0.3.5-1
|
|
|
1f2f4a7 |
- Initial RPM release
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|
|
|
1f2f4a7 |
|