Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 06f48338dc2c8a55aa2b64b3a5cc8dbe > files > 1

python-xarfile-0.4-2mdv2008.0.src.rpm

%define oname pyxar
%define name python-xarfile
%define version 0.4
%define release %mkrel 2

Summary: Python bindings for XAR, the eXtensible ARchiver
Name: %{name}
Version: %{version}
Release: %{release}
Source0: %{oname}-%{version}.tar.gz
Url: http://code.google.com/p/xar
License: BSD
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Provides: pyxar
BuildRequires: libxar-devel
BuildRequires: python-devel
BuildRequires: python-pyrex
Requires: python-base

%description
Python bindings for XAR, the eXtensible ARchiver.

%prep
%setup -n %{oname}-%{version}

%build
env CFLAGS="$RPM_OPT_FLAGS" python setup.py build

%install
python setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{py_platsitedir}/*.so
%{py_platsitedir}/*egg-info


%changelog
* Tue May 29 2007 Bogdano Arendartchuk <bogdano@mandriva.com> 0.4-2mdv2008.0
+ Revision: 32636
- force rebuild, as it failed in x86-64
- Import python-xarfile