Sync from SUSE:SLFO:Main perl-libintl-perl revision 1ba17dc9d59304f22a1290d4f8afe727

This commit is contained in:
Adrian Schröter 2024-05-03 19:16:59 +02:00
commit 004a52f94f
6 changed files with 312 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

32
cpanspec.yml Normal file
View File

@ -0,0 +1,32 @@
---
#description_paragraphs: 3
description: |-
This is an internationalization library for Perl that aims to be
compatible with the Uniforum message translations system as implemented
for example in GNU gettext.
#summary: override summary from CPAN
#no_testing: broken upstream
sources:
- libintl-perl-rpmlintrc
# foo.patch: -p1
# bar.patch:
preamble: |-
Requires: gettext-runtime >= 0.12.2
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: GPL-3.0-or-later
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
# %ifarch %arm
# # This test blocks the qemu-arm and the worker gets stalled. Needs more attention.
# rm ./tests/04find_domain_bug.t
# %endif
# %{__make} test
#ignore_requires: Bizarre::Module

BIN
libintl-perl-1.33.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

4
libintl-perl-rpmlintrc Normal file
View File

@ -0,0 +1,4 @@
# This line is mandatory to access the configuration functions
from Config import *
addFilter("perl-libintl-perl file-not-in-%lang")

185
perl-libintl-perl.changes Normal file
View File

@ -0,0 +1,185 @@
-------------------------------------------------------------------
Thu Dec 15 03:09:36 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.33
see /usr/share/doc/packages/perl-libintl-perl/Changes
Version 1.33 - 14 Dec 2020
* Bugs fixed:
https://github.com/gflohr/libintl-perl/issues/7
-------------------------------------------------------------------
Tue Oct 27 03:11:54 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.32
see /usr/share/doc/packages/perl-libintl-perl/Changes
Version 1.32 - 26 Oct 2020
* Bugs fixed:
https://github.com/gflohr/libintl-perl/issues/5
-------------------------------------------------------------------
Thu Dec 6 16:34:49 UTC 2018 - Stephan Kulow <coolo@suse.com>
- updated to 1.31
see /usr/share/doc/packages/perl-libintl-perl/Changes
Version 1.31 - 19 Nov 2018
* Fixes this bug in Locale::Simple:
https://rt.cpan.org/Ticket/Display.html?id=127675
-------------------------------------------------------------------
Wed Nov 7 16:37:44 UTC 2018 - Dirk Stoecker <opensuse@dstoecker.de>
- update to bug-fix version 1.30
* Drop disable-broken-04find_domain_bug-test.patch (integrated upstream)
-------------------------------------------------------------------
Thu Nov 1 14:54:38 UTC 2018 - Vítězslav Čížek <vcizek@suse.com>
- Disable 04find_domain_bug test broken with glibc 2.28
* https://github.com/gflohr/libintl-perl/issues/3
* add disable-broken-04find_domain_bug-test.patch
-------------------------------------------------------------------
Fri Nov 10 07:07:07 UTC 2017 - coolo@suse.com
- updated to 1.29
see /usr/share/doc/packages/perl-libintl-perl/Changes
-------------------------------------------------------------------
Fri Sep 1 06:36:11 UTC 2017 - coolo@suse.com
- updated to 1.28
see /usr/share/doc/packages/perl-libintl-perl/ChangeLog
editorial changes
use new class methods for xgettext options
quote import tags in docs
updated copyright date
updated FAQ
new class methods options, flags, and keywords
This will produce the default keyword and flag definitions for xgettext
for Locale::TextDomain.
-------------------------------------------------------------------
Wed Aug 9 06:42:03 UTC 2017 - coolo@suse.com
- updated to 1.27
see /usr/share/doc/packages/perl-libintl-perl/ChangeLog
-------------------------------------------------------------------
Thu Jun 23 07:22:21 UTC 2016 - coolo@suse.com
- updated to 1.26
* Fixed more false negatives in tests, no need to upgrade.
-------------------------------------------------------------------
Wed Jun 1 04:55:47 UTC 2016 - coolo@suse.com
- update to 1.25
* Fixed false negatives in test suite, no need to upgrade the module!
* Bugs fixed:
https://rt.cpan.org/Ticket/Display.html?id=83980
https://rt.cpan.org/Ticket/Display.html?id=47968
-------------------------------------------------------------------
Thu Sep 24 05:16:13 UTC 2015 - coolo@suse.com
- update to 1.24
* Better portability for tests.
* Updated documentation.
* License changed to GPLv3.
* Bugs fixed:
https://rt.cpan.org/Ticket/Display.html?id=98109
https://rt.cpan.org/Ticket/Display.html?id=47968
https://rt.cpan.org/Ticket/Display.html?id=83980
https://rt.cpan.org/Ticket/Display.html?id=102288
Version 1.23 - 24 Jan 2013
* New message retrieval backend Locale::gettext_dumb(3pm) which produces
translations even, when the corresponding locale is not present in
the system.
* Fixed a bug where the Perl backend under certain circumstances clobbered
the environment variable LC_ALL.
* Avoid test failures by skipping all tests that depend on the de_AT
locale, when that locale is not installed.
* Bugs fixed:
https://rt.cpan.org/Ticket/Display.html?id=82856
Version 1.22 - 24 Jan 2013
* Version 1.22 outsmarted PAUSE (the CPAN upload facility) and had to
be removed.
Version 1.21 - 15 Jan 2013
* Environment variables LANGUAGE and LANG are interpreted in the same way
in the XS and the pure Perl version.
* Package design closer to GNU standards.
-------------------------------------------------------------------
Mon Apr 15 10:24:36 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
-------------------------------------------------------------------
Wed Dec 1 13:33:12 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:22 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Tue Oct 19 08:38:43 UTC 2010 - coolo@novell.com
- add perl as explicit buildrequire
-------------------------------------------------------------------
Tue Dec 8 10:38:15 CET 2009 - jengelh@medozas.de
- enable parallel building
-------------------------------------------------------------------
Mon Sep 7 12:59:57 CEST 2009 - mls@suse.de
- update to libintl-perl-1.20
* many test failures fixed
* Fixed RT bug #46471, noop functions in scalar context.
-------------------------------------------------------------------
Fri Jul 10 19:34:04 UTC 2009 - jansimon.moeller@opensuse.org
- Remove blocking test. It hangs qemu-arm and stalls the worker.
rm ./tests/04find_domain_bug.t
-------------------------------------------------------------------
Sun Nov 25 12:06:55 CET 2007 - ro@suse.de
- adapt requires to gettext rename (gettext-runtime)
-------------------------------------------------------------------
Fri Nov 9 17:09:13 CET 2007 - pth@suse.de
- Initial package, needed by gettext testsuite

65
perl-libintl-perl.spec Normal file
View File

@ -0,0 +1,65 @@
#
# spec file for package perl-libintl-perl
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name libintl-perl
Name: perl-libintl-perl
Version: 1.33
Release: 0
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
License: GPL-3.0-or-later
Summary: High-Level Interface to Uniforum Message Translation
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/%{cpan_name}-%{version}.tar.gz
Source1: libintl-perl-rpmlintrc
Source2: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(version) >= 0.77
Requires: perl(version) >= 0.77
Recommends: perl(File::ShareDir)
%{perl_requires}
# MANUAL BEGIN
Requires: gettext-runtime >= 0.12.2
# MANUAL END
%description
This is an internationalization library for Perl that aims to be
compatible with the Uniforum message translations system as implemented
for example in GNU gettext.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes Credits FAQ NEWS README README.md README-oldversions README.solaris README.win32 REFERENCES THANKS TODO
%license COPYING
%changelog