1 |
slords |
1.11 |
# $Id: Pootle.spec,v 1.10 2009/10/20 20:45:22 slords Exp $ |
2 |
slords |
1.5 |
# Authority: slords |
3 |
slords |
1.4 |
# Name: Shad L. Lords |
4 |
|
|
|
5 |
slords |
1.1 |
%define name Pootle |
6 |
slords |
1.9 |
%define version 1.2.1 |
7 |
slords |
1.10 |
%define release 2 |
8 |
slords |
1.1 |
|
9 |
|
|
Summary: pootle is a web portal for localisation |
10 |
|
|
Name: %{name} |
11 |
|
|
Version: %{version} |
12 |
|
|
Release: %{release}%{?dist} |
13 |
slords |
1.6 |
Source0: %{name}-%{version}.tar.bz2 |
14 |
slords |
1.10 |
Patch0: Pootle-1.2.1-findunit.patch |
15 |
slords |
1.1 |
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 |
slords |
1.10 |
%setup -q |
27 |
|
|
%patch -p1 |
28 |
slords |
1.1 |
|
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) |