1 |
# $Id: translate-toolkit.spec,v 1.4 2008/04/02 15:12:56 slords Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
%define name translate-toolkit |
6 |
%define version 1.1.1 |
7 |
%define release 1 |
8 |
|
9 |
Summary: The Translate Toolkit is a Python package that assists in localization of software. |
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 |
The Translate Toolkit is a Python package that assists in localization of software. |
23 |
|
24 |
See U{http://translate.sourceforge.net} or U{http://translate.org.za} for more information. |
25 |
|
26 |
@organization: Zuza Software Foundation |
27 |
@copyright: 2002-2008 Zuza Software Foundation |
28 |
@license: U{GPL <http://www.fsf.org/licensing/licenses/gpl.html>} |
29 |
|
30 |
|
31 |
|
32 |
%prep |
33 |
%setup |
34 |
|
35 |
%build |
36 |
python setup.py build |
37 |
|
38 |
%install |
39 |
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
40 |
|
41 |
%clean |
42 |
rm -rf $RPM_BUILD_ROOT |
43 |
|
44 |
%files -f INSTALLED_FILES |
45 |
%defattr(-,root,root) |