2007-01-07 00:25:54 +00:00
|
|
|
Name: po4a
|
2012-07-17 23:41:03 +00:00
|
|
|
Version: 0.42
|
|
|
|
Release: 1%{?dist}
|
2007-01-07 00:25:54 +00:00
|
|
|
Summary: A tool maintaining translations anywhere
|
|
|
|
Group: Applications/System
|
2008-05-21 20:12:38 +00:00
|
|
|
License: GPL+
|
2007-01-07 00:25:54 +00:00
|
|
|
URL: http://alioth.debian.org/projects/po4a/
|
2012-07-17 23:41:03 +00:00
|
|
|
Source0: http://alioth.debian.org/frs/download.php/3723/%{name}-%{version}.tar.gz
|
2010-10-15 14:41:22 +00:00
|
|
|
|
2007-01-07 00:25:54 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Module::Build)
|
|
|
|
BuildRequires: perl(Text::WrapI18N)
|
|
|
|
BuildRequires: perl(SGMLS) >= 1.03ii
|
2010-10-15 14:41:22 +00:00
|
|
|
BuildRequires: perl(Locale::gettext) >= 1.01
|
2007-01-07 00:25:54 +00:00
|
|
|
BuildRequires: perl(Term::ReadKey)
|
2010-10-15 14:41:22 +00:00
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
|
|
|
|
# Requires a pod2man which support --utf8
|
|
|
|
# Seemingling added in perl-5.10.1
|
|
|
|
BuildRequires: perl >= 4:5.10.1
|
2008-05-22 06:01:49 +00:00
|
|
|
|
2009-01-13 13:07:41 +00:00
|
|
|
# Required by the tests.
|
|
|
|
BuildRequires: perl(Test::More)
|
2010-10-15 14:41:22 +00:00
|
|
|
BuildRequires: /usr/bin/kpsewhich
|
2009-01-13 13:07:41 +00:00
|
|
|
|
2008-05-22 06:01:49 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2007-01-07 00:25:54 +00:00
|
|
|
Requires: gettext
|
|
|
|
|
2010-10-15 14:41:22 +00:00
|
|
|
# Optional, used by Locale/Po4a/TeX.pm
|
|
|
|
# Requires: /usr/bin/kpsewhich
|
|
|
|
# Optional, used by po4a-build
|
|
|
|
# Requires: /usr/bin/xsltproc
|
|
|
|
# Optional, but package is quite useless without
|
|
|
|
Requires: perl(Locale::gettext) >= 1.01
|
|
|
|
|
2007-01-07 00:25:54 +00:00
|
|
|
%description
|
|
|
|
The po4a (po for anything) project goal is to ease translations (and
|
|
|
|
more interestingly, the maintenance of translations) using gettext
|
|
|
|
tools on areas where they were not expected like documentation.
|
|
|
|
|
|
|
|
%prep
|
2010-12-08 07:14:41 +00:00
|
|
|
%setup -q -n %{name}-%{version}
|
2007-01-07 00:25:54 +00:00
|
|
|
|
|
|
|
%build
|
2010-12-08 07:14:41 +00:00
|
|
|
%{__perl} ./Build.PL installdirs=vendor
|
|
|
|
./Build
|
2007-01-07 00:25:54 +00:00
|
|
|
|
|
|
|
%install
|
2010-12-08 07:14:41 +00:00
|
|
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
2009-01-13 13:07:41 +00:00
|
|
|
|
2010-12-08 07:14:41 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2007-01-07 00:25:54 +00:00
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2008-05-22 07:26:13 +00:00
|
|
|
%check
|
2010-10-15 14:41:22 +00:00
|
|
|
./Build test
|
2007-01-07 00:25:54 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README* COPYING TODO
|
|
|
|
%{_bindir}/po4a*
|
|
|
|
%{_bindir}/msguntypot
|
2008-06-01 05:40:40 +00:00
|
|
|
%{perl_vendorlib}/Locale
|
2007-01-07 00:25:54 +00:00
|
|
|
%{_mandir}/man1/po4a*.1*
|
|
|
|
%{_mandir}/man1/msguntypot.1*
|
2010-10-15 14:41:22 +00:00
|
|
|
%{_mandir}/man3/Locale::Po4a::*.3*
|
|
|
|
%{_mandir}/man5/po4a-build.conf*.5*
|
|
|
|
%{_mandir}/man7/po4a-runtime.7*
|
2007-01-07 00:25:54 +00:00
|
|
|
%{_mandir}/man7/po4a.7*
|
2008-08-26 17:57:14 +00:00
|
|
|
%{_mandir}/*/man1/po4a*.1*
|
2007-01-07 00:25:54 +00:00
|
|
|
%{_mandir}/*/man1/msguntypot.1*
|
2010-10-15 14:41:22 +00:00
|
|
|
%{_mandir}/*/man3/Locale::Po4a::*.3*
|
|
|
|
%{_mandir}/*/man5/po4a-build.conf.5*
|
2007-01-07 00:25:54 +00:00
|
|
|
%{_mandir}/*/man7/po4a.7*
|
2010-10-15 14:41:22 +00:00
|
|
|
%{_mandir}/*/man7/po4a-runtime.7*
|
2007-01-07 00:25:54 +00:00
|
|
|
|
|
|
|
%changelog
|
2012-07-17 23:41:03 +00:00
|
|
|
* Wed Jul 18 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.42-1
|
|
|
|
- Upstream update.
|
|
|
|
|
2012-06-12 11:26:14 +00:00
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.41-5
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-14 01:05:28 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-20 22:25:59 +00:00
|
|
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.41-3
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-09 15:33:15 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-08 07:14:41 +00:00
|
|
|
* Wed Dec 08 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.41-1
|
|
|
|
- Upstream update.
|
|
|
|
- Reflect upstream having changed to Module::Build.
|
|
|
|
- Remove po4a-0.40.1.diff.
|
|
|
|
|
2010-10-15 14:41:22 +00:00
|
|
|
* Fri Oct 15 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.40.1-1
|
|
|
|
- Upstream update.
|
|
|
|
- Add po4a-v0.40.1.diff (add missing file t/compare-po.pl)
|
|
|
|
- Make testsuite working.
|
|
|
|
- Spec overhaul.
|
|
|
|
- Eliminate /usr/bin/env perl.
|
|
|
|
- Require perl >= 5.10.1
|
|
|
|
|
2010-06-01 22:11:04 +00:00
|
|
|
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.35-15
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 02:52:51 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.35-14
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 19:01:44 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 01:17:52 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-14 07:18:25 +00:00
|
|
|
* Sat Feb 14 2009 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.35-11
|
|
|
|
- Update to 0.35.
|
|
|
|
|
|
|
|
* Tue Jan 13 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.34-10
|
2009-01-13 13:07:41 +00:00
|
|
|
- Add BuildRequires: perl(Test::More), BuildRequires: docbook-dtds.
|
|
|
|
- Activate tests.
|
|
|
|
- Fix Source0:-URL.
|
|
|
|
- Spec file cosmetics.
|
|
|
|
|
2009-02-14 07:18:25 +00:00
|
|
|
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.34-9
|
2008-08-26 17:57:14 +00:00
|
|
|
- Update to 0.34.
|
|
|
|
|
2008-06-01 05:40:40 +00:00
|
|
|
* Sun Jun 01 2008 Ralf Corsépius <rc040203@freenet.de> - 0.32-8
|
|
|
|
- Let package own %%{perl_vendorlib}/Locale (BZ 449258).
|
|
|
|
|
2008-05-22 07:26:13 +00:00
|
|
|
* Thu May 22 2008 Ralf Corsépius <rc040203@freenet.de> - 0.32-7
|
|
|
|
- Remove || : in %%check due to rpm not accepting it anymore.
|
|
|
|
|
2008-05-22 06:01:49 +00:00
|
|
|
* Thu May 22 2008 Ralf Corsépius <rc040203@freenet.de> - 0.32-6
|
|
|
|
- Add: "Requires: perl(:MODULE_COMPAT_...)" (BZ 442548).
|
|
|
|
|
2008-05-21 20:12:38 +00:00
|
|
|
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.32-5
|
|
|
|
- fix license tag
|
|
|
|
|
2007-08-20 17:21:39 +00:00
|
|
|
* Mon Aug 20 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.32-4
|
|
|
|
- Update to 0.32.
|
|
|
|
- fixes a possible race condition under /tmp (no CVE yet).
|
|
|
|
|
2007-01-07 00:25:54 +00:00
|
|
|
* Thu Dec 28 2006 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.29-3
|
|
|
|
- Update to 0.29.
|
|
|
|
|
|
|
|
* Sat Feb 18 2006 Axel Thimm <Axel.Thimm@ATrpms.net>
|
|
|
|
- Initial build.
|
|
|
|
|