1 |
slords |
1.5 |
# $Id: Pootle.spec,v 1.4 2008/04/02 15:12:56 slords Exp $ |
2 |
|
|
# Authority: slords |
3 |
slords |
1.4 |
# Name: Shad L. Lords |
4 |
|
|
|
5 |
slords |
1.1 |
%define name Pootle |
6 |
|
|
%define version 1.1.0 |
7 |
|
|
%define release 1 |
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.gz |
14 |
|
|
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) |