1 |
# $Id: Pootle.spec,v 1.10 2009/10/20 20:45:22 slords Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
%define name Pootle |
6 |
%define version 1.2.1 |
7 |
%define release 2 |
8 |
|
9 |
Summary: pootle is a web portal for localisation |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
Source0: %{name}-%{version}.tar.bz2 |
14 |
Patch0: Pootle-1.2.1-findunit.patch |
15 |
License: GNU General Public License (GPL) |
16 |
Group: Development/Libraries |
17 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
18 |
Prefix: %{_prefix} |
19 |
BuildArchitectures: noarch |
20 |
Url: http://translate.sourceforge.net/ |
21 |
|
22 |
%description |
23 |
pootle is a web portal for localisation |
24 |
|
25 |
%prep |
26 |
%setup -q |
27 |
%patch -p1 |
28 |
|
29 |
%build |
30 |
python pootlesetup.py build |
31 |
|
32 |
%install |
33 |
python pootlesetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
34 |
|
35 |
%clean |
36 |
rm -rf $RPM_BUILD_ROOT |
37 |
|
38 |
%files -f INSTALLED_FILES |
39 |
%defattr(-,root,root) |