1 |
# $Id: Pootle.spec,v 1.5 2008/04/02 15:22:02 slords Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
%define name Pootle |
6 |
%define version 1.2.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.bz2 |
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) |