Sophie

Sophie

distrib > Mandriva > 2010.0 > x86_64 > by-pkgid > a7ddd65619159657c48dde53b3d0b972 > files > 2

python-pybaz-1.5.3-7mdv2010.0.src.rpm

%define oname pybaz
%define name python-%{oname}
%define version 1.5.3
%define release %mkrel 7

Summary: Python Bindings for the Baz Revision Control System
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://code.aaronbentley.com/pybaz/releases/%{oname}-%{version}.tar.gz
License: GPL
URL: http://code.aaronbentley.com/pybaz/
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Prefix: %{_prefix}
BuildArch: noarch
BuildRequires: libpython-devel
Requires:  python >= 2.4 bazaar

%description
PyBaz provides Python bindings for the Baz revision control system. 

It's based on PyArch, and shares the same design goals:
- Faithfulness to the Baz design.
- Python best idioms.
- Code elegance.

It provides enough flexibility and efficiency for all types of
applications, from batch scripts to graphical user interface front-end and
web services.

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

%build
python setup.py build

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

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%py_puresitedir/pybaz*.egg-info
%dir %py_puresitedir/pybaz
%py_puresitedir/pybaz/*.py
%py_puresitedir/pybaz/*.pyc
%dir %py_puresitedir/pybaz/backends
%py_puresitedir/pybaz/backends/*.py
%py_puresitedir/pybaz/backends/*.pyc



%changelog
* Tue Sep 15 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.5.3-7mdv2010.0
+ Revision: 442407
- rebuild

* Sat Jan 10 2009 Crispin Boylan <crisb@mandriva.org> 1.5.3-6mdv2009.1
+ Revision: 328061
- Use proper file list

* Mon Dec 29 2008 Crispin Boylan <crisb@mandriva.org> 1.5.3-5mdv2009.1
+ Revision: 321176
- Rebuild for 2.6

* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.5.3-4mdv2009.0
+ Revision: 242460
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Tue Jul 17 2007 Bogdano Arendartchuk <bogdano@mandriva.com> 1.5.3-2mdv2008.0
+ Revision: 53019
- added buildrequires for libpython-devel
- Import python-pybaz