%define name python-textile %define version 2.0.10 %define release %mkrel 1 Summary: This is Textile. A Humane Web Text Generator Name: %{name} Version: %{version} Release: %{release} Source0: http://dealmeida.net/public/textile-%{version}.tar.bz2 License: Freely Distributable Group: Python Url: http://dealmeida.net/projects/textile/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Textile is a XHTML generator using a simple markup developed by Dean Allen. This is a Python port with support for code validation, itex to MathML translation, Python code coloring and much more. %prep %setup -q -n textile-%version %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --root=%{buildroot} --record INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Sun Jun 11 2006 Frederic Lepied 2.0.10-1mdk - Initial package