4430d01
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
48a8cab
48a8cab
Name:           python-cpio
48a8cab
Version:        0.1
4430d01
Release:        9%{?dist}
48a8cab
Summary:        A Python module for accessing cpio archives
48a8cab
48a8cab
Group:          Development/Languages
4430d01
License:        LGPLv2+
48a8cab
URL:            http://developer.berlios.de/projects/python-cpio/
48a8cab
Source0:        http://download.berlios.de/python-cpio/python-cpio-0.1.tar.bz2
48a8cab
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
48a8cab
48a8cab
BuildArch:      noarch
48a8cab
BuildRequires:  python-devel
48a8cab
48a8cab
%description
48a8cab
This is a Python module for accessing cpio archives.
48a8cab
48a8cab
%prep
48a8cab
%setup -q
48a8cab
48a8cab
%build
48a8cab
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
48a8cab
48a8cab
%install
48a8cab
rm -rf $RPM_BUILD_ROOT
4430d01
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
48a8cab
 
48a8cab
%clean
48a8cab
rm -rf $RPM_BUILD_ROOT
48a8cab
48a8cab
%files
48a8cab
%defattr(-,root,root,-)
48a8cab
%doc AUTHORS ChangeLog COPYING.lib README TODO
4430d01
%{python_sitelib}/cpioarchive.py*
4430d01
%if 0%{?fedora} >= 9
4430d01
%{python_sitelib}/*.egg-info
4430d01
%endif
4430d01
48a8cab
48a8cab
%changelog
4430d01
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-9
4430d01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4430d01
4430d01
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8
4430d01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4430d01
4430d01
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.1-7
4430d01
- Rebuild for Python 2.6
4430d01
4430d01
* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.1-6
4430d01
- fix license tag
4430d01
4430d01
* Tue Apr  1 2008 José Matos <jamatos[AT]fc.up.pt> - 0.1-5
4430d01
- Add egg-info for F9+.
4430d01
4430d01
* Tue Aug 28 2007 José Matos <jamatos[AT]fc.up.pt> - 0.1-4
4430d01
- License fix, rebuild for devel (F8).
4430d01
4430d01
* Tue Dec 12 2006 José Matos <jamatos[AT]fc.up.pt> - 0.1-3
4430d01
- Rebuild for python 2.5.
4430d01
9c3cffe
* Mon Sep 11 2006 José Matos <jamatos[AT]fc.up.pt> - 0.1-2
9c3cffe
- Rebuild for FC6.
9c3cffe
48a8cab
* Tue Jan  3 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.1-1
48a8cab
- Initial RPM release