1 |
slords |
1.2 |
# 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 |
slords |
1.1 |
%define name Pootle |
11 |
|
|
%define version 1.1.0 |
12 |
|
|
%define release 1 |
13 |
|
|
|
14 |
|
|
Summary: pootle is a web portal for localisation |
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 |
|
|
pootle is a web portal for localisation |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup |
31 |
|
|
|
32 |
|
|
%build |
33 |
|
|
python pootlesetup.py build |
34 |
|
|
|
35 |
|
|
%install |
36 |
|
|
python pootlesetup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES |
37 |
|
|
|
38 |
|
|
%clean |
39 |
|
|
rm -rf $RPM_BUILD_ROOT |
40 |
|
|
|
41 |
|
|
%files -f INSTALLED_FILES |
42 |
|
|
%defattr(-,root,root) |