rpms/python-bitarray/F-11 python-bitarray.spec, NONE, 1.1 sources, 1.1, 1.2

Ramakrishna Reddy ramkrsna at fedoraproject.org
Thu Apr 23 10:34:54 UTC 2009


Author: ramkrsna

Update of /cvs/pkgs/rpms/python-bitarray/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28683

Modified Files:
	sources 
Added Files:
	python-bitarray.spec 
Log Message:
Initial release for F-11


--- NEW FILE python-bitarray.spec ---
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 

Name:   python-bitarray          
Version:     0.3.5   
Release:        1%{?dist}
Summary:        Efficient Array of Booleans --C Extensions

Group:          Development/Languages
License:        Python
URL:            http://pypi.python.org/pypi/bitarray/
Source0:        http://pypi.python.org/packages/source/b/bitarray/bitarray-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  python-devel python-setuptools

%description
Bitarrays are sequence types and behave very much like usual lists.
Eight bits are represented by one byte in contiguous block of memory.
The user can select between two representations; little-endian and big-endian.
Most of the functionality is implemented in C.Methods for accessing the machine
representation are provided. This can be useful when bit level access to binary
files is required, such as portable bitmap image files (.pbm). Also, when 
dealing with compressed data which uses variable bit length encoding
you may find this module useful.

%prep
%setup -q -n bitarray-%{version}


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE 

%{python_sitearch}/*
 


%changelog
* Wed Apr 08 2009 Ramakrishna Reddy Yekulla <ramkrsna at fedoraproject.org> 0.3.5-1
- Initial RPM release





Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-bitarray/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Apr 2009 21:35:11 -0000	1.1
+++ sources	23 Apr 2009 10:34:23 -0000	1.2
@@ -0,0 +1 @@
+322a25e04e7aece5e028e5b068329291  bitarray-0.3.5.tar.gz




More information about the fedora-extras-commits mailing list