commit a2621ec4b825f0b40efd6b810cbd579ca1246a11504c9e9ae33433ffae21d582 Author: Adrian Schröter Date: Fri May 3 18:09:17 2024 +0200 Sync from SUSE:SLFO:Main perl-Encode-JIS2K revision 75ecf479df17bcd35e981f26c9457533 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/Encode-JIS2K-0.03.tar.gz b/Encode-JIS2K-0.03.tar.gz new file mode 100644 index 0000000..e714a25 --- /dev/null +++ b/Encode-JIS2K-0.03.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1ec84d72db39deb4dad6fca95acfcc21033f45a24d347c20f9a1a696896c35cc +size 419693 diff --git a/perl-Encode-JIS2K.changes b/perl-Encode-JIS2K.changes new file mode 100644 index 0000000..1591688 --- /dev/null +++ b/perl-Encode-JIS2K.changes @@ -0,0 +1,114 @@ +------------------------------------------------------------------- +Tue Sep 25 16:05:05 UTC 2018 - pmonrealgonzalez@suse.com + +- update to 0.03 + Revision: 0.03 $ $Date: 2015/06/05 03:57:30 $ + ! Makefile.PL + fix RT#67531 & RT#104967 + https://rt.cpan.org/Ticket/Display.html?id=67531 + https://rt.cpan.org/Ticket/Display.html?id=104967 + ! lib/Encode/JIS2K/2022JP3.pm + fix RT#73401 + https://rt.cpan.org/Ticket/Display.html?id=73401 + +- Dropped patch fixed upstream + * reproducible.patch + +- Cleaned with spec-cleaner + +------------------------------------------------------------------- +Mon Jul 3 10:58:01 UTC 2017 - bwiedemann@suse.com + +- Add reproducible.patch to sort hash keys to fix build-compare + +------------------------------------------------------------------- +Sun Nov 09 21:20:00 UTC 2014 - Led + +- fix bashism in postun script + +------------------------------------------------------------------- +Fri Nov 18 08:45:26 UTC 2011 - coolo@suse.com + +- use original tar.gz + +------------------------------------------------------------------- +Wed Dec 1 13:32:12 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Mon Nov 29 18:29:52 UTC 2010 - coolo@novell.com + +- remove /var/adm/perl-modules + +------------------------------------------------------------------- +Tue Oct 19 08:38:34 UTC 2010 - coolo@novell.com + +- add perl as explicit buildrequire + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Wed Jan 25 21:39:39 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Sep 28 22:12:20 CEST 2005 - dmueller@suse.de + + - add norootforbuild + +------------------------------------------------------------------- +Tue Aug 02 14:42:55 CEST 2005 - mfabian@suse.de + +- update to 0.02. + +------------------------------------------------------------------- +Sat Sep 13 18:13:17 CEST 2003 - mfabian@suse.de + +- add "Prereq: /usr/bin/enc2xs". + +------------------------------------------------------------------- +Fri Aug 29 12:25:40 CEST 2003 - mfabian@suse.de + +- redirect stdout and stderr of "enc2xs -C" to /dev/null. + +------------------------------------------------------------------- +Fri Aug 22 14:39:51 CEST 2003 - mjancar@suse.cz + +- require the perl version we build with + +------------------------------------------------------------------- +Wed Jul 16 13:12:53 CEST 2003 - mfabian@suse.de + +- simplify file list. + +------------------------------------------------------------------- +Wed Jul 16 12:47:31 CEST 2003 - mfabian@suse.de + +- use vendorarch instead of sitearch. + +------------------------------------------------------------------- +Sun Jun 15 12:57:50 CEST 2003 - mfabian@suse.de + +- fix "directory not owned by any package". + +------------------------------------------------------------------- +Fri May 16 18:33:23 CEST 2003 - mfabian@suse.de + +- remove perllocal.pod from file list. + +------------------------------------------------------------------- +Mon May 12 16:30:59 CEST 2003 - mfabian@suse.de + +- use "enc2xs -C" in %post and %postun to register/unregister + the new encodings in the on demand-loading list. + +------------------------------------------------------------------- +Fri May 9 19:01:48 CEST 2003 - mfabian@suse.de + +- new package: perl-Encode-JIS2K-0.01 +- fix installation of man-page diff --git a/perl-Encode-JIS2K.patch b/perl-Encode-JIS2K.patch new file mode 100644 index 0000000..21da47f --- /dev/null +++ b/perl-Encode-JIS2K.patch @@ -0,0 +1,11 @@ +diff -ru Encode-JIS2K-0.01.orig/Makefile.PL Encode-JIS2K-0.01/Makefile.PL +--- Encode-JIS2K-0.01.orig/Makefile.PL 2002-04-30 11:07:23.000000000 +0200 ++++ Encode-JIS2K-0.01/Makefile.PL 2003-05-09 19:01:17.000000000 +0200 +@@ -48,7 +48,6 @@ + SUFFIX => 'gz', + DIST_DEFAULT => 'all tardist', + }, +- MAN3PODS => {}, + PREREQ_PM => { + 'Encode' => "1.41", + }, diff --git a/perl-Encode-JIS2K.spec b/perl-Encode-JIS2K.spec new file mode 100644 index 0000000..19e77e6 --- /dev/null +++ b/perl-Encode-JIS2K.spec @@ -0,0 +1,68 @@ +# +# spec file for package perl-Encode-JIS2K +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +%define cpan_name Encode-JIS2K +Name: perl-Encode-JIS2K +Version: 0.03 +Release: 0 +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 +Patch0: perl-Encode-JIS2K.patch +BuildRequires: perl +BuildRequires: perl-macros +Requires: %{_bindir}/enc2xs +%{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 + +%prep +%setup -q -n Encode-JIS2K-%{version} +%patch0 -p1 + +%build +CFLAGS="%{optflags}" perl Makefile.PL +make %{?_smp_mflags} + +%install +install -d %{buildroot}/%{perl_archlib} +make DESTDIR=%{buildroot} install_vendor +%perl_process_packlist + +%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/ + +%changelog