1 |
# Redifine to remove /usr/lib/rpm/brp-python-bytecompile |
# $Id: Pootle.spec,v 1.9 2009/10/20 15:04:04 slords Exp $ |
2 |
%define __os_install_post \ |
# Authority: slords |
3 |
/usr/lib/rpm/redhat/brp-compress \ |
# Name: Shad L. Lords |
|
%{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip}} \ |
|
|
/usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \ |
|
|
/usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \ |
|
|
/usr/lib/rpm/redhat/brp-java-repack-jars \ |
|
|
%{nil} |
|
4 |
|
|
5 |
%define name Pootle |
%define name Pootle |
6 |
%define version 1.1.0 |
%define version 1.2.1 |
7 |
%define release 1 |
%define release 2 |
8 |
|
|
9 |
Summary: pootle is a web portal for localisation |
Summary: pootle is a web portal for localisation |
10 |
Name: %{name} |
Name: %{name} |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.bz2 |
14 |
|
Patch0: Pootle-1.2.1-findunit.patch |
15 |
License: GNU General Public License (GPL) |
License: GNU General Public License (GPL) |
16 |
Group: Development/Libraries |
Group: Development/Libraries |
17 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
BuildRoot: %{_tmppath}/%{name}-buildroot |
23 |
pootle is a web portal for localisation |
pootle is a web portal for localisation |
24 |
|
|
25 |
%prep |
%prep |
26 |
%setup |
%setup -q |
27 |
|
%patch -p1 |
28 |
|
|
29 |
%build |
%build |
30 |
python pootlesetup.py build |
python pootlesetup.py build |