diff --git a/Encode-JIS2K-0.03.tar.gz b/Encode-JIS2K-0.03.tar.gz deleted file mode 100644 index e714a25..0000000 --- a/Encode-JIS2K-0.03.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1ec84d72db39deb4dad6fca95acfcc21033f45a24d347c20f9a1a696896c35cc -size 419693 diff --git a/Encode-JIS2K-0.05.tar.gz b/Encode-JIS2K-0.05.tar.gz new file mode 100644 index 0000000..d1e2a38 --- /dev/null +++ b/Encode-JIS2K-0.05.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:022f1f3d6869742b3718c27bfcca6f7c96aceffac0a2267d140bbf653d7c0ac2 +size 416222 diff --git a/perl-Encode-JIS2K.changes b/perl-Encode-JIS2K.changes index c72a760..6b95614 100644 --- a/perl-Encode-JIS2K.changes +++ b/perl-Encode-JIS2K.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Aug 22 20:50:29 UTC 2025 - Tina Müller + +- updated to 0.50.0 (0.05) + see /usr/share/doc/packages/perl-Encode-JIS2K/Changes + ------------------------------------------------------------------- Mon Mar 4 12:51:40 UTC 2024 - pgajdos@suse.com diff --git a/perl-Encode-JIS2K.spec b/perl-Encode-JIS2K.spec index d2d0281..b704574 100644 --- a/perl-Encode-JIS2K.spec +++ b/perl-Encode-JIS2K.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Encode-JIS2K # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,57 +12,48 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define cpan_name Encode-JIS2K Name: perl-Encode-JIS2K -Version: 0.03 +Version: 0.50.0 Release: 0 +# 0.05 -> normalize -> 0.50.0 +%define cpan_version 0.05 +License: Artistic-1.0 OR GPL-1.0-or-later Summary: JIS X 0212 (aka JIS 2000) Encodings -License: Artistic-1.0 -Group: Development/Libraries/Perl -Url: https://metacpan.org/pod/Encode::JIS2K -Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{cpan_version}.tar.gz Source100: README.md -Patch0: perl-Encode-JIS2K.patch +BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros -Requires: %{_bindir}/enc2xs +Provides: perl(Encode::JIS2K) = %{version} +Provides: perl(Encode::JIS2K::2022JP3) = 0.30.0 +%undefine __perllib_provides %{perl_requires} %description -This module implements encodings that covers JIS X 0213 charset (AKA -JIS 2000, hence the module name). - -%define __find_provides %{_prefix}/lib/rpm/find-provides -%define __find_requires %{_prefix}/lib/rpm/find-requires +To find out how to use this module in detail, see Encode. %prep -%autosetup -p1 -n Encode-JIS2K-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build -CFLAGS="%{optflags}" perl Makefile.PL -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test %install -install -d %{buildroot}/%{perl_archlib} -make DESTDIR=%{buildroot} install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%post -enc2xs -C > /dev/null 2>&1 - -%postun -if [ $1 = 0 ]; then - enc2xs -C > /dev/null 2>&1 -fi - -%files -%doc Changes MANIFEST README* -%{_mandir}/man3/*.3pm.gz -%{perl_vendorarch}/Encode/ -%{perl_vendorarch}/auto/Encode/ +%files -f %{name}.files +%doc Changes README %changelog