8
0

WIP: Automatic update to v0.50.0 (0.05) #1

Draft
cpanmirror wants to merge 1 commits from cpanmirror/perl-Encode-JIS2K:autoupdate into main
4 changed files with 32 additions and 35 deletions

BIN
Encode-JIS2K-0.03.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
Encode-JIS2K-0.05.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 22 20:50:29 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- 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

View File

@@ -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