1 |
slords |
1.6 |
# $Id: Pootle.spec,v 1.5 2008/04/02 15:22:02 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.6 |
%define version 1.2.0 |
7 |
slords |
1.1 |
%define release 1 |
8 |
|
|
|
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.1 |
License: GNU General Public License (GPL) |
15 |
|
|
Group: Development/Libraries |
16 |
|
|
BuildRoot: %{_tmppath}/%{name}-buildroot |
17 |
|
|
Prefix: %{_prefix} |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
Url: http://translate.sourceforge.net/ |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
pootle is a web portal for localisation |
23 |
|
|
|
24 |
|
|
%prep |
25 |
|
|
%setup |
26 |
|
|
|
27 |
|
|
%build |
28 |
|
|
python pootlesetup.py build |
29 |
|
|
|
30 |
|
|
%install |
31 |
|
|
python pootlesetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
32 |
|
|
|
33 |
|
|
%clean |
34 |
|
|
rm -rf $RPM_BUILD_ROOT |
35 |
|
|
|
36 |
|
|
%files -f INSTALLED_FILES |
37 |
|
|
%defattr(-,root,root) |