1 |
%define name Pootle |
2 |
%define version 1.1.0 |
3 |
%define release 1 |
4 |
|
5 |
Summary: pootle is a web portal for localisation |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
Source0: %{name}-%{version}.tar.gz |
10 |
License: GNU General Public License (GPL) |
11 |
Group: Development/Libraries |
12 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
13 |
Prefix: %{_prefix} |
14 |
BuildArchitectures: noarch |
15 |
Url: http://translate.sourceforge.net/ |
16 |
|
17 |
%description |
18 |
pootle is a web portal for localisation |
19 |
|
20 |
%prep |
21 |
%setup |
22 |
|
23 |
%build |
24 |
python pootlesetup.py build |
25 |
|
26 |
%install |
27 |
python pootlesetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
28 |
|
29 |
%clean |
30 |
rm -rf $RPM_BUILD_ROOT |
31 |
|
32 |
%files -f INSTALLED_FILES |
33 |
%defattr(-,root,root) |