%define oname PyRTF Name: python-pyrtf Summary: Python module to generate RTF documents Version: 0.45 Release: %mkrel 12 Source0: http://downloads.sourceforge.net/pyrtf/%{oname}-%{version}.tar.bz2 URL: http://pyrtf.sourceforge.net/ License: GPL+ Group: Development/Python BuildRequires: python-devel BuildRequires: dos2unix BuildArch: noarch %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} #fix EOLs dos2unix examples/merged_cells.py #fix rights chmod 644 examples/* %build #nothing %install python setup.py install --root=%{buildroot} --compile --optimize=2 %files %doc README examples/ %{py_puresitedir}/%{oname} %{py_puresitedir}/%{oname}-%{version}-py%{pyver}.egg-info %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.45-12.mga5 + Revision: 746336 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 0.45-11.mga5 + Revision: 729557 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot <umeabot> 0.45-10.mga5 + Revision: 688277 - Mageia 5 Mass Rebuild + pterjan <pterjan> - Rebuild for new Python * Tue Oct 22 2013 umeabot <umeabot> 0.45-8.mga4 + Revision: 544064 - Mageia 4 Mass Rebuild * Tue Oct 15 2013 pterjan <pterjan> 0.45-7.mga4 + Revision: 499270 - Rebuild to add different pythonegg provides for python 2 and 3 * Sun Jan 13 2013 umeabot <umeabot> 0.45-6.mga3 + Revision: 379416 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jun 11 2011 wally <wally> 0.45-5.mga2 + Revision: 103418 - drop old provides/obsoletes - add some docs - drop buildroot definition - drop obsolete py_requires macro - imported package python-pyrtf * Sat Nov 06 2010 Funda Wang <fwang@mandriva.org> 0.45-5mdv2011.0 + Revision: 593999 - rebuild for py2.7 * Tue Sep 15 2009 Thierry Vignaud <tv@mandriva.org> 0.45-4mdv2010.0 + Revision: 442465 - rebuild * Sat Jan 03 2009 Funda Wang <fwang@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 <tv@mandriva.org> - rebuild - kill re-definition of %%buildroot on Pixel's request - use %%mkrel - import PyRTF + Olivier Blin <oblin@mandriva.com> - restore BuildRoot