|
|
@ -1,14 +1,14 @@
|
|
|
|
Summary: Internationalization library for Perl, compatible with gettext
|
|
|
|
Summary: Internationalization library for Perl, compatible with gettext
|
|
|
|
Name: perl-libintl-perl
|
|
|
|
Name: perl-libintl-perl
|
|
|
|
Version: 1.32
|
|
|
|
Version: 1.33
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 11%{?dist}
|
|
|
|
# gettext_xs/gettext_xs.pm: GPLv3+
|
|
|
|
# gettext_xs/gettext_xs.pm: GPL-3.0-or-later
|
|
|
|
# gettext_xs/Makefile.PL: LGPLv2+
|
|
|
|
# gettext_xs/Makefile.PL: LGPL-2.0-or-later
|
|
|
|
# lib/Locale/gettext_xs.pod: LGPLv2+
|
|
|
|
# lib/Locale/gettext_xs.pod: LGPL-2.0-or-later
|
|
|
|
# lib/Locale/RecodeData.pm: GPLv3+
|
|
|
|
# lib/Locale/RecodeData.pm: GPL-3.0-or-later
|
|
|
|
# lib/Locale/libintlFAQ.pod: LGPLv2+
|
|
|
|
# lib/Locale/libintlFAQ.pod: LGPL-2.0-or-later
|
|
|
|
# COPYING: GPLv3+
|
|
|
|
# COPYING: GPL-3.0-or-later
|
|
|
|
License: GPLv3+ and LGPLv2+
|
|
|
|
License: GPL-3.0-or-later AND LGPL-2.0-or-later
|
|
|
|
URL: https://metacpan.org/release/libintl-perl
|
|
|
|
URL: https://metacpan.org/release/libintl-perl
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
|
|
|
|
# this module was renamed in the f25 dev cycle
|
|
|
|
# this module was renamed in the f25 dev cycle
|
|
|
@ -54,7 +54,6 @@ BuildRequires: glibc-langpack-en
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
BuildRequires: perl(Test)
|
|
|
|
BuildRequires: perl(Test::Harness)
|
|
|
|
BuildRequires: perl(Test::Harness)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Carp)
|
|
|
|
Requires: perl(Encode::Alias)
|
|
|
|
Requires: perl(Encode::Alias)
|
|
|
|
Requires: perl(POSIX)
|
|
|
|
Requires: perl(POSIX)
|
|
|
@ -68,6 +67,14 @@ The package libintl-perl is an internationalization library for Perl that
|
|
|
|
aims to be compatible with the Uniforum message translations system as
|
|
|
|
aims to be compatible with the Uniforum message translations system as
|
|
|
|
implemented for example in GNU gettext.
|
|
|
|
implemented for example in GNU gettext.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package tests
|
|
|
|
|
|
|
|
Summary: Tests for %{name}
|
|
|
|
|
|
|
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
Requires: perl-Test-Harness
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description tests
|
|
|
|
|
|
|
|
Tests from %{name}. Execute them
|
|
|
|
|
|
|
|
with "%{_libexecdir}/%{name}/test".
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n libintl-perl-%{version}
|
|
|
|
%setup -q -n libintl-perl-%{version}
|
|
|
@ -82,6 +89,12 @@ for file in po/*.po; do
|
|
|
|
mv $file.new $file
|
|
|
|
mv $file.new $file
|
|
|
|
done
|
|
|
|
done
|
|
|
|
rm .gitignore MANIFEST
|
|
|
|
rm .gitignore MANIFEST
|
|
|
|
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
# Help generators to recognize Perl scripts
|
|
|
|
|
|
|
|
for F in test.pl tests/*.t; do
|
|
|
|
|
|
|
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
|
|
|
|
|
chmod +x "$F"
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -93,6 +106,16 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1
|
|
|
|
find %{buildroot} -type f \( -name .packlist -o \
|
|
|
|
find %{buildroot} -type f \( -name .packlist -o \
|
|
|
|
-name '*.bs' -size 0 \) -delete
|
|
|
|
-name '*.bs' -size 0 \) -delete
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
|
|
|
# Install tests
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a xs_disabled %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a tests %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cp -a test.pl %{buildroot}%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
T2_HARNESS_JOB_COUNT="$(getconf _NPROCESSORS_ONLN)" %{_libexecdir}/%{name}/test.pl
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
@ -105,13 +128,58 @@ make test
|
|
|
|
%{perl_vendorarch}/auto/Locale/
|
|
|
|
%{perl_vendorarch}/auto/Locale/
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
%{_mandir}/man?/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.32-4
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.33-11
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Related: rhbz#1991688
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1.33-10
|
|
|
|
|
|
|
|
- Bump release for Aug 2024 java mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 12 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.33-9
|
|
|
|
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.33-8
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.33-4
|
|
|
|
|
|
|
|
- Perl 5.38 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed May 31 2023 Michal Josef Špaček <mspacek@redhat.com> - 1.33-3
|
|
|
|
|
|
|
|
- Update license to SPDX format
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Dec 25 2022 Emmanuel Seyman <emmanuel@seyman.fr> - 1.33-1
|
|
|
|
|
|
|
|
- Update to 1.33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-6
|
|
|
|
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.32-3
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-3
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-2
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|