Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 6b70c2312a48c40d071f288973b276af > files > 2

PyRTF-0.43-1mdk.src.rpm

%define name	PyRTF
%define version	0.43
%define release 1mdk

Name: 	 	%{name}
Summary: 	Python module to generate RTF documents
Version: 	%{version}
Release: 	%{release}

Source:		%{name}-%{version}.tar.bz2
URL:		http://pyrtf.sourceforge.net/
License:	GPL
Group:		Development/Python
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	python-devel
Requires:	python
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

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

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc %name/examples.py
%{_libdir}/python*/site-packages/%name

%changelog
* Sun Jan 10 2005 Austin Acton <austin@mandrake.org> 0.43-1mdk
- initial package