Compare commits

...
Sign in to create a new pull request.

75 commits

Author SHA1 Message Date
Fedora Release Engineering
70368b9e1a Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 05:58:52 +00:00
Steven A. Falco
819607b95f Convert tests from STI to TMT 2025-07-23 17:21:01 -04:00
Steven A. Falco
5c50f92d7b Update to 0.74 2025-07-12 14:52:55 -04:00
Fedora Release Engineering
0c6db5646e Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-18 10:28:23 +00:00
Fedora Release Engineering
2b5ebbb058 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 08:10:34 +00:00
Packit
eb05dc3be9 Update to 0.73 upstream release
- Resolves: rhbz#2267401

Upstream tag: v0.73
Upstream commit: 87732c78

Commit authored by Packit automation (https://packit.dev/)
2024-06-17 23:47:24 +00:00
Packit
08d210453c Update to 0.72 upstream release
- Resolves: rhbz#2267401

Upstream tag: v0.72
Upstream commit: 1698935b

Commit authored by Packit automation (https://packit.dev/)
2024-06-05 21:42:25 +01:00
Richard W.M. Jones
ea6a788c41 Fix "Malformed encoding" error with newest Perl
(https://github.com/mquinson/po4a/issues/494)
2024-05-09 16:17:21 +01:00
Sérgio M. Basto
cbae01f4bd Disable tests again, randomly they fail with Charset "CHARSET" is not a
portable encoding name. Message conversion to user's charset might not work.
2024-03-11 14:25:59 +00:00
Sérgio M. Basto
447adfdb79 Add upstream patch Fix the --translate-only option 2024-03-04 00:38:36 +00:00
Packit
16ab392bb6 [packit] 0.71 upstream release
- Resolves rhbz#2267401

Upstream tag: v0.71
Upstream commit: 495a9515
2024-03-03 22:22:32 +00:00
Sérgio M. Basto
5fbee0e89b Add perl(Test::Pod) to perform more tests 2024-03-03 22:20:03 +00:00
Sérgio M. Basto
72bcf2c7e1 Fix the parsing of nested simple and double quotes
Enable build tests
2024-02-25 02:38:34 +00:00
Sérgio M. Basto
567ddd0bd1 [packit] 0.70 upstream release
Upstream tag: v0.70
Upstream commit: f37edd6e
2024-02-18 05:09:06 +00:00
Sérgio M. Basto
6900f81666 Add .packit.yaml 2024-02-18 05:06:56 +00:00
Fedora Release Engineering
4a52a138dd Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 23:50:58 +00:00
Fedora Release Engineering
23a29b8b51 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 22:03:57 +00:00
Yaakov Selkowitz
3a04a5f8ca Fix path-based dependencies
Installation path macros must not be used in file dependencies:

https://docs.fedoraproject.org/en-US/packaging-guidelines/#_file_and_directory_dependencies

Furthermore, while libxslt (xsltproc) is always in /usr even in flatpak
builds as it is part of the runtime, opensp (nsgmls) is built in /app as
a dependency of libofx for various financial applications.  Therefore,
no assumptions should be made regarding its location.
2023-10-12 17:52:31 -04:00
Daniel P. Berrangé
a76678272b Convert license to SPDX format
Note: source is imprecise about 2.0-only vs 2.0-or-later:

 https://github.com/mquinson/po4a/issues/434

Here we follow Debian's lead in choosing 2.0-or-later, since at
least the more recently added source files do have an explicit
"or later" comment.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2023-09-20 14:14:04 +01:00
Fedora Release Engineering
56aea00d68 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 05:57:13 +00:00
Sérgio M. Basto
9c27d90d62 Update po4a to 0.69 (#2157762) 2023-01-23 17:26:56 +00:00
Fedora Release Engineering
3d7bacc779 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 10:00:01 +00:00
Jitka Plesnikova
54b7752a6c Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 21:09:08 +01:00
Sérgio M. Basto
c914b8e317 Update po4a to 0.68 (#2124178) 2022-09-29 00:06:26 +01:00
Sérgio M. Basto
9cd8ca46ad Update po4a to 0.67 (#2107698) 2022-08-03 20:05:11 +01:00
Fedora Release Engineering
2f3fd96b9f Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 15:08:02 +00:00
Jitka Plesnikova
65b562be10 Perl 5.36 rebuild 2022-06-01 11:58:49 +02:00
Fedora Release Engineering
05ed74edcc - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 09:11:22 +00:00
Sérgio M. Basto
dccef280f1 Update po4a to 0.66 (#2036534) 2022-01-15 23:04:53 +00:00
Sérgio M. Basto
84dc0d4eaa Update po4a to 0.65 (#2023095) 2021-12-12 22:37:54 +00:00
Sérgio M. Basto
4c65ad32a3 Update po4a to 0.64 (#2003502) 2021-11-01 17:00:49 +00:00
Richard W.M. Jones
91eb78df0e Add gating tests for RHEL 9 2021-09-20 14:58:56 +01:00
Fedora Release Engineering
945f2a880f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 03:44:01 +00:00
Jitka Plesnikova
2d92a4b410 Perl 5.34 rebuild 2021-05-22 23:17:54 +02:00
Sérgio M. Basto
6c9299aa69 Update po4a to 0.63 (#1905315) 2021-02-23 09:56:14 +00:00
Sérgio M. Basto
cd115f472f Update po4a to 0.62 (#1905315) 2021-02-17 22:44:52 +00:00
Fedora Release Engineering
a6d14680d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 08:21:16 +00:00
Sérgio M. Basto
f14894e079 Update to 0.61 (#1866407) 2020-08-05 21:14:03 +01:00
Fedora Release Engineering
ff18dff6d3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 22:46:27 +00:00
Sérgio M. Basto
164c315ebc Update po4a to 0.60 (#1857579) 2020-07-26 01:34:45 +01:00
Jitka Plesnikova
da0893a668 Perl 5.32 rebuild 2020-06-23 12:38:15 +02:00
Sérgio M. Basto
4f99150d69 Update to 0.59.1 (#1830920) 2020-06-13 20:19:05 +01:00
Fedora Release Engineering
c954955ebc - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 09:26:33 +00:00
Sérgio M. Basto
3dbbbd11ba Forgot upload the sources 2019-11-23 01:40:54 +00:00
Sérgio M. Basto
9a25b8ba06 Update to 0.57 (#1765793) 2019-11-23 00:58:50 +00:00
Fedora Release Engineering
0f73865658 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 11:02:25 +00:00
Sérgio M. Basto
dc2a8193f6 Update to 0.56 (#1718505) 2019-07-04 15:35:11 +01:00
Jitka Plesnikova
5ef58df7a8 Perl 5.30 rebuild 2019-06-01 20:22:48 +02:00
Fedora Release Engineering
5df3c45703 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 04:33:21 +00:00
Zbigniew Jędrzejewski-Szmek
c123d7554e Use C.UTF-8 locale 2018-11-19 22:57:57 +01:00
Sérgio M. Basto
435f1be375 Uploaded the correct sources 2018-09-24 04:30:43 +01:00
Sérgio M. Basto
14ff668df3 Update po4a to 0.54 (#1582687)
Fix warning "Output of 'msggrep' might be incorrect" with set LANG=en_US.utf8
Remove HTML test, which does no longer pass
2018-09-24 04:20:43 +01:00
Fedora Release Engineering
18d71d9a18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 22:40:06 +00:00
Jitka Plesnikova
a6ff17bf99 Perl 5.28 rebuild 2018-06-28 21:38:51 +02:00
Sérgio M. Basto
c9dde8f82f New poa4 homepage 2018-02-27 00:38:28 +00:00
Igor Gnatenko
a4b1abc1b1
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:32 +01:00
Fedora Release Engineering
d82359e30e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 05:27:17 +00:00
Sérgio M. Basto
7e2c9b5d12 deleted unsed po4a-0.45-perl-5.22-hacks.diff 2017-12-02 00:36:35 +00:00
Sérgio M. Basto
cea623d295 Add to Requires all optional run-time perl modules (#1515239)
Readd Requires of perl-gettext on epel7 since rhbz #1196539 is fixed but RHEL7.4
  also already ships poa4 except in ppc64 see rhbz #1497544
2017-12-02 00:29:19 +00:00
Sérgio M. Basto
a990a3460a Update to 0.52 (#1485710) 2017-09-15 20:33:33 +01:00
Fedora Release Engineering
02704e9fac - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 08:51:07 +00:00
Petr Písař
c4b4064fdf perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:31:21 +02:00
Sérgio M. Basto
67b4545f54 Update to 0.51 (#1436674) 2017-06-26 16:49:38 +01:00
Sérgio M. Basto
b8b05ba1ad Update to 0.51 (#1436674) 2017-06-26 12:03:01 +01:00
Jitka Plesnikova
47824a536b Fix building on Perl 5.26 2017-06-06 10:37:12 +02:00
Jitka Plesnikova
3f5d0cc292 Perl 5.26 rebuild 2017-06-05 14:07:59 +02:00
Fedora Release Engineering
ce5bd78b71 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 07:41:05 +00:00
Petr Písař
3feceacc6a Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:45:37 +02:00
Jitka Plesnikova
7b27eb1aa7 Perl 5.24 rebuild 2016-05-17 04:45:10 +02:00
Fedora Release Engineering
0cdff6ca2c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 18:16:27 +00:00
Sérgio M. Basto
3712462456 Update information about missing perl-gettext on
epel7 ppc64
2015-09-10 18:02:20 +01:00
Sérgio M. Basto
e9378da814 Update to 0.47 2015-09-10 05:55:35 +01:00
Sérgio M. Basto
1ec3bb19e6 Specify all dependencies 2015-07-21 02:32:08 +01:00
Ralf Corsépius
9431c483f8 Add po4a-0.45-perl-5.22-hacks.diff
(Address perl-5.22 FTBFS; RHBZ #1230977).
- Add %license.
2015-06-17 09:46:39 +02:00
Jitka Plesnikova
eecf76ed5f Perl 5.22 rebuild 2015-06-06 19:53:19 +02:00
10 changed files with 398 additions and 42 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

21
.gitignore vendored
View file

@ -1 +1,22 @@
/po4a-0.45.tar.gz
/po4a_0.47.orig.tar.gz
/po4a_0.51.orig.tar.gz
/po4a_0.52.orig.tar.gz
/po4a-0.54.tar.gz
/po4a-0.56.tar.gz
/po4a-0.57.tar.gz
/po4a-0.59.1.tar.gz
/po4a-0.60.tar.gz
/po4a-0.61.tar.gz
/po4a-0.63.tar.gz
/po4a-0.64.tar.gz
/po4a-0.65.tar.gz
/po4a-0.66.tar.gz
/po4a-0.67.tar.gz
/po4a-0.68.tar.gz
/po4a-0.69.tar.gz
/po4a-0.70.tar.gz
/po4a-0.71.tar.gz
/po4a-0.72.tar.gz
/po4a-0.73.tar.gz
/po4a-0.74.tar.gz

33
.packit.yaml Normal file
View file

@ -0,0 +1,33 @@
specfile_path: po4a.spec
# name in upstream package repository or registry (e.g. in PyPI)
upstream_package_name: po4a
upstream_project_url: https://github.com/mquinson/po4a
upstream_tag_template: v{version}
# downstream (Fedora) RPM package name
downstream_package_name: po4a
issue_repository: https://src.fedoraproject.org/rpms/po4a
upload_sources: true
actions:
changelog-entry:
- bash -c 'echo "- New release ${PACKIT_PROJECT_VERSION}"'
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide
- job: koji_build
trigger: commit
allowed_pr_authors: ["packit", "sergiomb"]
allowed_committers: ["packit", "sergiomb"]
dist_git_branches:
- fedora-all
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-all # rawhide updates are created automatically

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.97.1.post1.dev6+gc8c0314a.

6
gating.yaml Normal file
View file

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-*
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

11
plans.fmf Normal file
View file

@ -0,0 +1,11 @@
summary: Run all smoke tests
discover:
how: fmf
prepare:
how: install
package:
- bash
- coreutils
- grep
execute:
how: tmt

320
po4a.spec
View file

@ -1,46 +1,94 @@
Name: po4a
Version: 0.45
Release: 4%{?dist}
Version: 0.74
Release: 3%{?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
# Note: source is imprecise about 2.0-only vs 2.0-or-later
# https://github.com/mquinson/po4a/issues/434
License: GPL-2.0-or-later
URL: https://po4a.org/
Source0: https://github.com/mquinson/po4a/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Locale::gettext) >= 1.01
BuildRequires: /usr/bin/xsltproc
BuildRequires: coreutils
BuildRequires: docbook-style-xsl
BuildRequires: findutils
BuildRequires: grep
# Requires a pod2man which supports --utf8
# Seemingly added in perl-5.10.1
BuildRequires: glibc-all-langpacks
BuildRequires: perl-interpreter >= 4:5.10.1
BuildRequires: perl-generators
BuildRequires: perl(lib)
BuildRequires: perl(Encode)
BuildRequires: perl(ExtUtils::Install)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::stat)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Pod::Man)
# Run-time:
BuildRequires: gettext
BuildRequires: opensp
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(Cwd)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Encode::Guess)
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Temp)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Getopt::Std)
BuildRequires: perl(IO::File)
BuildRequires: perl(Pod::Parser)
BuildRequires: perl(Pod::Usage)
BuildRequires: perl(POSIX)
BuildRequires: perl(SGMLS) >= 1.03ii
BuildRequires: perl(strict)
BuildRequires: perl(subs)
BuildRequires: perl(Time::Local)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# hope texlive-kpseas-bin missing deps was fixed
# epel7 doesn't have /usr/share/texlive/texmf-dist/web2c/texmf.cnf
BuildRequires: texlive-kpathsea
BuildRequires: texlive-kpathsea-bin
BuildRequires: tex(article.cls)
BuildRequires: perl(I18N::Langinfo)
BuildRequires: perl(Locale::gettext) >= 1.01
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.
# Required by the tests:
BuildRequires: perl(Syntax::Keyword::Try)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(YAML::Tiny)
Requires: /usr/bin/xsltproc
Requires: gettext
Requires: opensp
# 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: texlive-kpathsea
Requires: 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
# Optional run-time:
Requires: perl(I18N::Langinfo)
Requires: perl(Term::ReadKey)
Requires: perl(Text::WrapI18N)
Requires: perl(Unicode::GCString)
%description
The po4a (po for anything) project goal is to ease translations (and
@ -48,15 +96,9 @@ more interestingly, the maintenance of translations) using gettext
tools on areas where they were not expected like documentation.
%prep
%setup -q -n %{name}-%{version}
%autosetup -p1
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
@ -66,34 +108,230 @@ export PO4AFLAGS="-v -v -v"
./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
./Build test || :
%files -f %{name}.lang
%doc README* COPYING TODO
%doc README* TODO
%license COPYING
%{_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}/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}/*/man5/po4a-build.conf.5*
#{_mandir}/*/man7/po4a-runtime.7*
%{_mandir}/*/man7/po4a.7*
%{_mandir}/*/man7/po4a-runtime.7*
%changelog
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.74-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Wed Jul 23 2025 Steven A. Falco <stevenfalco@gmail.com> - 0.74-2
- Convert from STI to TMT
* Sat Jul 12 2025 Steven A. Falco <stevenfalco@gmail.com> - 0.74-1
- Update to 0.74
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.73-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.73-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon Jun 17 2024 Packit <hello@packit.dev> - 0.73-1
- New release 0.73
* Sun May 26 2024 Packit <hello@packit.dev> - 0.72-1
- New release 0.72
* Thu May 09 2024 Richard W.M. Jones <rjones@redhat.com> - 0.71-4
- Fix "Malformed encoding" error with newest Perl
(https://github.com/mquinson/po4a/issues/494)
* Mon Mar 11 2024 Sérgio Basto <sergio@serjux.com> - 0.71-3
- Disable tests again, randomly they fail with Charset "CHARSET" is not a
portable encoding name. Message conversion to user's charset might not work.
* Mon Mar 04 2024 Sérgio Basto <sergio@serjux.com> - 0.71-2
- Add upstream patch Fix the --translate-only option
* Sat Mar 02 2024 Packit <hello@packit.dev> - 0.71-1
- New release 0.71
* Sun Feb 25 2024 Sérgio Basto <sergio@serjux.com> - 0.70-2
- Fix the parsing of nested simple and double quotes
- Enable build tests
* Sun Feb 18 2024 Sérgio M. Basto <sergio@serjux.com> - 0.70-1
- New release 0.70
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.69-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.69-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Oct 12 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.69-3
- Fix path-based dependencies
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.69-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jan 23 2023 Sérgio Basto <sergio@serjux.com> - 0.69-1
- Update po4a to 0.69 (#2157762)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Sep 28 2022 Sérgio Basto <sergio@serjux.com> - 0.68-1
- Update po4a to 0.68 (#2124178)
* Wed Aug 03 2022 Sérgio Basto <sergio@serjux.com> - 0.67-1
- Update po4a to 0.67 (#2107698)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.66-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.66-3
- Perl 5.36 rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.66-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Jan 15 2022 Sérgio Basto <sergio@serjux.com> - 0.66-1
- Update po4a to 0.66 (#2036534)
* Sun Dec 12 2021 Sérgio Basto <sergio@serjux.com> - 0.65-1
- Update po4a to 0.65 (#2023095)
* Mon Nov 01 2021 Sérgio Basto <sergio@serjux.com> - 0.64-1
- Update po4a to 0.64 (#2003502)
* Mon Sep 20 2021 Richard W.M. Jones <rjones@redhat.com> - 0.63-4
- Add gating tests for RHEL 9
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.63-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sat May 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.63-2
- Perl 5.34 rebuild
* Tue Feb 23 2021 Sérgio Basto <sergio@serjux.com> - 0.63-1
- Update po4a to 0.63 (#1905315)
* Tue Feb 16 2021 Sérgio Basto <sergio@serjux.com> - 0.62-1
- Update po4a to 0.62 (#1905315)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.61-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Aug 05 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.61-1
- Update to 0.61 (#1866407)
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.60-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sun Jul 26 2020 Sérgio Basto <sergio@serjux.com> - 0.60-1
- Update po4a to 0.60 (#1857579)
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.59.1-2
- Perl 5.32 rebuild
* Mon May 25 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.59.1-1
- Update to 0.59.1 (#1830920)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.57-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sat Oct 26 2019 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.57-1
- Update to 0.57 (#1765793)
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.56-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Jun 08 2019 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.56-1
- Update to 0.56 (#1718505)
* Sat Jun 01 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.54-4
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.54-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Nov 19 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.54-2
- Use C.UTF-8 locale
See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
* Mon Sep 24 2018 Sérgio Basto <sergio@serjux.com> - 0.54-1
- Update po4a to 0.54 (#1582687)
- Fix warning "Output of 'msggrep' might be incorrect" with set LANG=en_US.utf8
- Remove HTML test, which does no longer pass
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.52-5
- Perl 5.28 rebuild
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.52-4
- Escape macros in %%changelog
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.52-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Dec 02 2017 Sérgio Basto <sergio@serjux.com> - 0.52-2
- Add to Requires all optional run-time perl modules (#1515239)
- Readd Requires of perl-gettext on epel7 since rhbz #1196539 is fixed but RHEL7.4
also already ships poa4 except in ppc64 see rhbz #1497544
* Sun Aug 27 2017 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.52-1
- Update to 0.52 (#1485710)
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.51-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Mon Jun 26 2017 Sérgio Basto <sergio@serjux.com> - 0.51-1
- Update to 0.51 (#1436674)
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-5
- Perl 5.26 rebuild
- Fix building on Perl without '.' in @INC
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.47-3
- Perl 5.24 rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.47-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Sep 10 2015 Sérgio Basto <sergio@serjux.com> - 0.47-1
- Update to 0.47
* Mon Jul 20 2015 Petr Pisar <ppisar@redhat.com> - 0.45-7
- Specify all dependencies
* Wed Jun 17 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.45-6
- Add po4a-0.45-perl-5.22-hacks.diff
(Address perl-5.22 FTBFS; RHBZ #1230977).
- Add %%license.
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.45-5
- Perl 5.22 rebuild
* 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
@ -128,7 +366,7 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
- 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).
- 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

View file

@ -1 +1 @@
423bdf5c39f30e63a808b84c5d9d1899 po4a-0.45.tar.gz
SHA512 (po4a-0.74.tar.gz) = 0af7099ea25ac3bc8667c84acf0e0b3c9bbcfd45661dc9befe88b2f3363d6c6c428699ca740a470eaefbe1bf9d55fb218844e0e69104a424fbde71eb240cbdd4

41
tests/basic-test.sh Executable file
View file

@ -0,0 +1,41 @@
#!/bin/bash -
set -e
set -x
po4a --help
# Write a test POD (Perl doc) file to the local directory.
cat >test.pod <<EOF
=head1 NAME
hello - hello world
=head1 DESCRIPTION
This is the hello world documentation
=head1 SEE ALSO
L<goodbye(1)>
EOF
cp test.pod local.pod
# Try to compile it into a POT file using po4a-gettextize:
po4a-gettextize -f pod -M utf-8 -L utf-8 \
--package-name hello \
--package-version 1.0 \
--msgid-bugs-address noone@example.com \
--copyright-holder "Red Hat Inc." \
-p output.pot -m test.pod -l local.pod
cat output.pot
# Check for some expected strings in the output.
grep 'msgid "DESCRIPTION"' output.pot
grep 'msgid "This is the hello world documentation"' output.pot
# Clean up.
rm output.pot test.pod local.pod

2
tests/main.fmf Normal file
View file

@ -0,0 +1,2 @@
summary: Smoke test
test: ./basic-test.sh