Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4890fa0272 |
4 changed files with 2 additions and 229 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/po4a-0.45.tar.gz
|
||||
2
dead.package
Normal file
2
dead.package
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
2017-08-11: package is now included in RHEL
|
||||
|
||||
227
po4a.spec
227
po4a.spec
|
|
@ -1,227 +0,0 @@
|
|||
Name: po4a
|
||||
Version: 0.45
|
||||
Release: 4%{?dist}
|
||||
Summary: A tool maintaining translations anywhere
|
||||
License: GPL+
|
||||
URL: https://po4a.alioth.debian.org/
|
||||
|
||||
Source0: http://alioth.debian.org/frs/download.php/file/3942/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Locale::gettext) >= 1.01
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Pod::Parser)
|
||||
BuildRequires: perl(SGMLS) >= 1.03ii
|
||||
BuildRequires: perl(Term::ReadKey)
|
||||
BuildRequires: perl(Text::WrapI18N)
|
||||
BuildRequires: perl(Unicode::GCString)
|
||||
BuildRequires: /usr/bin/xsltproc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: docbook-style-xsl
|
||||
|
||||
# Requires a pod2man which supports --utf8
|
||||
# Seemingly added in perl-5.10.1
|
||||
BuildRequires: perl >= 4:5.10.1
|
||||
|
||||
# Required by the tests.
|
||||
BuildRequires: perl(Test::More)
|
||||
# hope texlive-kpseas-bin missing deps was fixed
|
||||
# epel7 doesn't have /usr/share/texlive/texmf-dist/web2c/texmf.cnf
|
||||
BuildRequires: texlive-kpathsea texlive-kpathsea-bin
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: gettext
|
||||
|
||||
# Optional, used by Locale/Po4a/TeX.pm
|
||||
# Requires: /usr/bin/kpsewhich
|
||||
# Optional, used by po4a-build
|
||||
# Requires: /usr/bin/xsltproc
|
||||
%if 0%{?rhel} != 7
|
||||
# Until got perl-gettext on epel7
|
||||
# Optional, but package is quite useless without
|
||||
Requires: perl(Locale::gettext) >= 1.01
|
||||
%endif
|
||||
|
||||
%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
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
chmod +x scripts/*
|
||||
|
||||
# Fix bang path /usr/bin/env perl -> %{_bindir}/perl (RHBZ#987035).
|
||||
%{__perl} -p -i -e 's,#!\s*/usr/bin/env perl,#!%{_bindir}/perl,' \
|
||||
$(find . -type f -executable |
|
||||
xargs grep -l "/usr/bin/env perl")
|
||||
|
||||
%build
|
||||
export PO4AFLAGS="-v -v -v"
|
||||
%{__perl} ./Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
|
||||
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README* COPYING TODO
|
||||
%{_bindir}/po4a*
|
||||
%{_bindir}/msguntypot
|
||||
%{perl_vendorlib}/Locale
|
||||
%{_mandir}/man1/po4a*.1*
|
||||
%{_mandir}/man1/msguntypot.1*
|
||||
%{_mandir}/man3/Locale::Po4a::*.3*
|
||||
%{_mandir}/man5/po4a-build.conf*.5*
|
||||
%{_mandir}/man7/po4a-runtime.7*
|
||||
%{_mandir}/man7/po4a.7*
|
||||
%{_mandir}/*/man1/po4a*.1*
|
||||
%{_mandir}/*/man1/msguntypot.1*
|
||||
%{_mandir}/*/man3/Locale::Po4a::*.3*
|
||||
%{_mandir}/*/man5/po4a-build.conf.5*
|
||||
%{_mandir}/*/man7/po4a.7*
|
||||
%{_mandir}/*/man7/po4a-runtime.7*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 19 2015 Sérgio Basto <sergio@serjux.com> - 0.45-4
|
||||
- Temporary workaround for epel-7 until have perl-gettext in epel-7
|
||||
|
||||
* Sat Jan 17 2015 Sérgio Basto <sergio@serjux.com> - 0.45-3
|
||||
- fix buildrequires for epel7
|
||||
|
||||
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-2
|
||||
- Perl 5.20 rebuild
|
||||
|
||||
* Thu Jul 10 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.45-1
|
||||
- Upstream update.
|
||||
- Remove 0001-Remove-defined-anachronism.patch,
|
||||
po4a-0.44-use-tempfile-correctly.patch.
|
||||
- Reflect upstream URL having changed.
|
||||
- Reflect Source0-URL having changed.
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Aug 8 2013 Richard W.M. Jones <rjones@redhat.com> - 0.44-12
|
||||
- Fix upstream source URL.
|
||||
|
||||
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 0.44-11
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Tue Jul 30 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.44-10
|
||||
- Add BR: /usr/share/texlive/texmf-dist/web2c/texmf.cnf.
|
||||
- Re-enable t/24-tex.t (Cause for breakdown is texlive packing mess).
|
||||
- Add BR: perl(Unicode::GCString).
|
||||
- Move shebang fixing into %%build.
|
||||
- Fix Source0-URL.
|
||||
- Spec-file cosmetics.
|
||||
|
||||
* Mon Jul 29 2013 Richard W.M. Jones <rjones@redhat.com> - 0.44-9
|
||||
- Fix bang path /usr/bin/env perl -> %{_bindir}/perl (RHBZ#987035).
|
||||
- Increase verbosity of po4a when building to help diagnose build errors.
|
||||
- +BR Pod::Parser.
|
||||
- Disable 24-tex.t which does not run and does not produce any
|
||||
useful diagnostics either.
|
||||
|
||||
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.44-2
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Wed Apr 17 2013 Richard W.M. Jones <rjones@redhat.com> - 0.44-1
|
||||
- New upstream version 0.44.
|
||||
- Fix incorrect use of File::Temp->tempfile (RHBZ#953066).
|
||||
- Tidy up the spec file.
|
||||
- po4a-build.conf.5 and po4a-runtime.7 man pages are no longer
|
||||
installed in the English version for some (unknown) reason.
|
||||
|
||||
* Mon Mar 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.42-3
|
||||
- Add 0001-Remove-defined-anachronism.patch.
|
||||
- Modernize spec.
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.42-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Jul 18 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.42-1
|
||||
- Upstream update.
|
||||
|
||||
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.41-5
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.41-3
|
||||
- Perl mass rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* 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.
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jun 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.35-15
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.35-14
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
- Add BuildRequires: perl(Test::More), BuildRequires: docbook-dtds.
|
||||
- Activate tests.
|
||||
- Fix Source0:-URL.
|
||||
- Spec file cosmetics.
|
||||
|
||||
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.34-9
|
||||
- Update to 0.34.
|
||||
|
||||
* Sun Jun 01 2008 Ralf Corsépius <rc040203@freenet.de> - 0.32-8
|
||||
- Let package own %%{perl_vendorlib}/Locale (BZ 449258).
|
||||
|
||||
* Thu May 22 2008 Ralf Corsépius <rc040203@freenet.de> - 0.32-7
|
||||
- Remove || : in %%check due to rpm not accepting it anymore.
|
||||
|
||||
* Thu May 22 2008 Ralf Corsépius <rc040203@freenet.de> - 0.32-6
|
||||
- Add: "Requires: perl(:MODULE_COMPAT_...)" (BZ 442548).
|
||||
|
||||
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.32-5
|
||||
- fix license tag
|
||||
|
||||
* 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).
|
||||
|
||||
* 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.
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
423bdf5c39f30e63a808b84c5d9d1899 po4a-0.45.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue