/[smecontribs]/rpms/translate-toolkit/contribs8/translate-toolkit.spec
ViewVC logotype

Contents of /rpms/translate-toolkit/contribs8/translate-toolkit.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Mar 27 15:19:02 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
Changes since 1.1: +9 -0 lines
Spec fix

1 # Redifine to remove /usr/lib/rpm/brp-python-bytecompile
2 %define __os_install_post \
3 /usr/lib/rpm/redhat/brp-compress \
4 %{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip}} \
5 /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \
6 /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \
7 /usr/lib/rpm/redhat/brp-java-repack-jars \
8 %{nil}
9
10 %define name translate-toolkit
11 %define version 1.1.1
12 %define release 1
13
14 Summary: The Translate Toolkit is a Python package that assists in localization of software.
15 Name: %{name}
16 Version: %{version}
17 Release: %{release}%{?dist}
18 Source0: %{name}-%{version}.tar.gz
19 License: GNU General Public License (GPL)
20 Group: Development/Libraries
21 BuildRoot: %{_tmppath}/%{name}-buildroot
22 Prefix: %{_prefix}
23 BuildArchitectures: noarch
24 Url: http://translate.sourceforge.net/
25
26 %description
27 The Translate Toolkit is a Python package that assists in localization of software.
28
29 See U{http://translate.sourceforge.net} or U{http://translate.org.za} for more information.
30
31 @organization: Zuza Software Foundation
32 @copyright: 2002-2008 Zuza Software Foundation
33 @license: U{GPL <http://www.fsf.org/licensing/licenses/gpl.html>}
34
35
36
37 %prep
38 %setup
39
40 %build
41 python setup.py build
42
43 %install
44 python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files -f INSTALLED_FILES
50 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed