# $Id: Pootle.spec,v 1.10 2009/10/20 20:45:22 slords Exp $ # Authority: slords # Name: Shad L. Lords %define name Pootle %define version 1.2.1 %define release 2 Summary: pootle is a web portal for localisation Name: %{name} Version: %{version} Release: %{release}%{?dist} Source0: %{name}-%{version}.tar.bz2 Patch0: Pootle-1.2.1-findunit.patch License: GNU General Public License (GPL) Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArchitectures: noarch Url: http://translate.sourceforge.net/ %description pootle is a web portal for localisation %prep %setup -q %patch -p1 %build python pootlesetup.py build %install python pootlesetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root)