1 |
slords |
1.1 |
%define name translate-toolkit |
2 |
|
|
%define version 1.1.1 |
3 |
|
|
%define release 1 |
4 |
|
|
|
5 |
|
|
Summary: The Translate Toolkit is a Python package that assists in localization of software. |
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 |
|
|
The Translate Toolkit is a Python package that assists in localization of software. |
19 |
|
|
|
20 |
|
|
See U{http://translate.sourceforge.net} or U{http://translate.org.za} for more information. |
21 |
|
|
|
22 |
|
|
@organization: Zuza Software Foundation |
23 |
|
|
@copyright: 2002-2008 Zuza Software Foundation |
24 |
|
|
@license: U{GPL <http://www.fsf.org/licensing/licenses/gpl.html>} |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
%prep |
29 |
|
|
%setup |
30 |
|
|
|
31 |
|
|
%build |
32 |
|
|
python setup.py build |
33 |
|
|
|
34 |
|
|
%install |
35 |
|
|
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
36 |
|
|
|
37 |
|
|
%clean |
38 |
|
|
rm -rf $RPM_BUILD_ROOT |
39 |
|
|
|
40 |
|
|
%files -f INSTALLED_FILES |
41 |
|
|
%defattr(-,root,root) |