Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > 478e9b626aecbcc3a7979e33ab6c44dc > files > 2

python-pyrtf-0.45-4mdv2010.0.src.rpm

%define oname	PyRTF

Name: 	 	python-pyrtf
Summary: 	Python module to generate RTF documents
Version: 	0.45
Release: 	%mkrel 4
Source0:	http://downloads.sourceforge.net/pyrtf/%{oname}-%{version}.tar.bz2
URL:		http://pyrtf.sourceforge.net/
License:	GPL+
Group:		Development/Python
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	python-devel
%{py_requires}
BuildArch:	noarch
Obsoletes:	PyRTF < %{version}-%{release}
Provides:	PyRTF = %{version}-%{release}

%description
PyRTF is a set of python classes that make it possible to produce RTF
documents from python programs. The library has no external dependencies
and has proved reliable and fast.

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

%install
rm -rf %{buildroot}
python setup.py install --root=%{buildroot} --compile --optimize=2

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{py_puresitedir}/%{oname}
%{py_puresitedir}/%{oname}-%{version}-py%{pyver}.egg-info


%changelog
* Tue Sep 15 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.45-4mdv2010.0
+ Revision: 442465
- rebuild

* Sat Jan 03 2009 Funda Wang <fundawang@mandriva.org> 0.45-3mdv2009.1
+ Revision: 323952
- rebuild

* Fri Sep 12 2008 Adam Williamson <awilliamson@mandriva.org> 0.45-2mdv2009.0
+ Revision: 284031
- generate .pyc and .pyo files
- clean macros
- clean python requires
- new license policy
- source location
- rename to match python policy
- drop unnecessary defines
- rename spec
- rename to conform to python policy

* Thu Sep 04 2008 Jérôme Soyer <saispo@mandriva.org> 0.45-1mdv2009.0
+ Revision: 280606
- Fix files section
- New version

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - kill re-definition of %%buildroot on Pixel's request
    - use %%mkrel
    - import PyRTF

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