packages: po4a/po4a.spec - up to 0.41
glen
glen at pld-linux.org
Tue Aug 30 17:08:53 CEST 2011
Author: glen Date: Tue Aug 30 15:08:53 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.41
---- Files affected:
packages/po4a:
po4a.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/po4a/po4a.spec
diff -u packages/po4a/po4a.spec:1.7 packages/po4a/po4a.spec:1.8
--- packages/po4a/po4a.spec:1.7 Sat Sep 15 11:46:38 2007
+++ packages/po4a/po4a.spec Tue Aug 30 17:08:48 2011
@@ -3,13 +3,13 @@
Summary: Framework to translate documentation and other materials
Summary(pl.UTF-8): Szkielet do tłumaczenia dokumentacji i innych materiałów
Name: po4a
-Version: 0.32
+Version: 0.41
Release: 1
License: GPL
Group: Development/Tools
-#Source0Download: http://alioth.debian.org/frs/?group_id=30267
-Source0: http://alioth.debian.org/frs/download.php/2108/%{name}-%{version}.tar.gz
-# Source0-md5: d026b224965b50afd9924b61d0df2a06
+# Source0Download: http://alioth.debian.org/frs/?group_id=30267
+Source0: http://alioth.debian.org/frs/download.php/3472/%{name}-%{version}.tar.gz
+# Source0-md5: 93b3137502a749bdc3a059466f2a19d2
URL: http://alioth.debian.org/projects/po4a/
BuildRequires: perl-Locale-gettext >= 1.01
BuildRequires: perl-Module-Build
@@ -17,6 +17,7 @@
BuildRequires: perl-YAML
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: sed >= 4.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,6 +34,9 @@
%prep
%setup -q
+# fix #!%{_bindir}/env perl -w -> #!%{__perl}:
+%{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' po4a* scripts/*
+
%build
%{__perl} Build.PL \
destdir=$RPM_BUILD_ROOT \
@@ -41,13 +45,11 @@
%install
rm -rf $RPM_BUILD_ROOT
-
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+./Build install
%find_lang %{name}
-rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/po4a/.packlist
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/po4a/.packlist
%clean
rm -rf $RPM_BUILD_ROOT
@@ -55,14 +57,24 @@
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc README* TODO
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/msguntypot
+%attr(755,root,root) %{_bindir}/po4a
+%attr(755,root,root) %{_bindir}/po4a-build
+%attr(755,root,root) %{_bindir}/po4a-gettextize
+%attr(755,root,root) %{_bindir}/po4a-normalize
+%attr(755,root,root) %{_bindir}/po4a-translate
+%attr(755,root,root) %{_bindir}/po4a-updatepo
+%attr(755,root,root) %{_bindir}/po4aman-display-po
+%attr(755,root,root) %{_bindir}/po4apod-display-po
%{perl_vendorlib}/Locale/Po4a
-%{_mandir}/man[137]/*
-%lang(ca) %{_mandir}/ca/man[137]/*
-%lang(es) %{_mandir}/es/man[137]/*
-%lang(fr) %{_mandir}/fr/man[137]/*
-%lang(it) %{_mandir}/it/man[137]/*
-%lang(pl) %{_mandir}/pl/man[137]/*
+%{_mandir}/man[1357]/*
+%lang(ca) %{_mandir}/ca/man[1357]/*
+%lang(es) %{_mandir}/es/man[1357]/*
+%lang(fr) %{_mandir}/fr/man[1357]/*
+%lang(it) %{_mandir}/it/man[1357]/*
+%lang(pl) %{_mandir}/pl/man[1357]/*
+%lang(ja) %{_mandir}/ja/man[1357]/*
+%lang(ru) %{_mandir}/ru/man[1357]/*
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -70,6 +82,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2011/08/30 15:08:48 glen
+- up to 0.41
+
Revision 1.7 2007/09/15 09:46:38 adamg
- updated to 0.32 (CVE-2007-4462)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/po4a/po4a.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list