forked from pool/perl-Encode-JIS2K
WIP: Automatic update to v0.50.0 (0.05) #1
BIN
Encode-JIS2K-0.03.tar.gz
(Stored with Git LFS)
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
BIN
Encode-JIS2K-0.05.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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
|
Mon Mar 4 12:51:40 UTC 2024 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Encode-JIS2K
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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
|
%define cpan_name Encode-JIS2K
|
||||||
Name: perl-Encode-JIS2K
|
Name: perl-Encode-JIS2K
|
||||||
Version: 0.03
|
Version: 0.50.0
|
||||||
Release: 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
|
Summary: JIS X 0212 (aka JIS 2000) Encodings
|
||||||
License: Artistic-1.0
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Group: Development/Libraries/Perl
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Url: https://metacpan.org/pod/Encode::JIS2K
|
|
||||||
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/%{cpan_name}-%{version}.tar.gz
|
|
||||||
Source100: README.md
|
Source100: README.md
|
||||||
Patch0: perl-Encode-JIS2K.patch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
Requires: %{_bindir}/enc2xs
|
Provides: perl(Encode::JIS2K) = %{version}
|
||||||
|
Provides: perl(Encode::JIS2K::2022JP3) = 0.30.0
|
||||||
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module implements encodings that covers JIS X 0213 charset (AKA
|
To find out how to use this module in detail, see Encode.
|
||||||
JIS 2000, hence the module name).
|
|
||||||
|
|
||||||
%define __find_provides %{_prefix}/lib/rpm/find-provides
|
|
||||||
%define __find_requires %{_prefix}/lib/rpm/find-requires
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n Encode-JIS2K-%{version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" perl Makefile.PL
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d %{buildroot}/%{perl_archlib}
|
%perl_make_install
|
||||||
make DESTDIR=%{buildroot} install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%post
|
%files -f %{name}.files
|
||||||
enc2xs -C > /dev/null 2>&1
|
%doc Changes README
|
||||||
|
|
||||||
%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
|
%changelog
|
||||||
|
Reference in New Issue
Block a user