From 532bdd6150e5fc017dcf2d2912720e214982244e2937555a8b608acf077c6212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 18:29:30 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-MIME-Charset revision 1cebd6b4389b0795ce080b8c03ca3b3a --- .gitattributes | 23 +++++++ MIME-Charset-1.013.1.tar.gz | 3 + cpanspec.yml | 28 ++++++++ perl-MIME-Charset.changes | 126 ++++++++++++++++++++++++++++++++++++ perl-MIME-Charset.spec | 57 ++++++++++++++++ 5 files changed, 237 insertions(+) create mode 100644 .gitattributes create mode 100644 MIME-Charset-1.013.1.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-MIME-Charset.changes create mode 100644 perl-MIME-Charset.spec 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/MIME-Charset-1.013.1.tar.gz b/MIME-Charset-1.013.1.tar.gz new file mode 100644 index 0000000..be18db2 --- /dev/null +++ b/MIME-Charset-1.013.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1bb7a6e0c0d251f23d6e60bf84c9adefc5b74eec58475bfee4d39107e60870f0 +size 55939 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#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: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-MIME-Charset.changes b/perl-MIME-Charset.changes new file mode 100644 index 0000000..f5139a5 --- /dev/null +++ b/perl-MIME-Charset.changes @@ -0,0 +1,126 @@ +------------------------------------------------------------------- +Sat Aug 13 03:10:04 UTC 2022 - Tina Müller + +- updated to 1.013.1 + see /usr/share/doc/packages/perl-MIME-Charset/Changes + + 1.013.1 2022-08-12 Hatuka*nezumi - IKEDA Soji + * No new features. + * Update META.json. + 1.013 2022-08-09 Hatuka*nezumi - IKEDA Soji + * Update tests. + * A typo in comment: "3.18" should be "3.19". + * Fix: Escape sequences won't be used with DIN 66003. + 1.013_01 2022-08-08 Hatuka*nezumi - IKEDA Soji + * Imp: Added support for DIN 66003. + * Chg: Workaround: "ISO-8859-8-I" is treated as an alias of "ISO-8859-8" + by Encode (3.18): See the note in + https://encoding.spec.whatwg.org/#legacy-single-byte-encodings + However we'll treat these as separate names for compatibility. + +------------------------------------------------------------------- +Wed Apr 12 06:00:51 UTC 2017 - coolo@suse.com + +- updated to 1.012.2 + see /usr/share/doc/packages/perl-MIME-Charset/Changes + + 1.012.2 2017-04-11 Hatuka*nezumi - IKEDA Soji + + * Fix: Perl >= 5.26: Makefile.PL cannot use inc::Module::Install. + +------------------------------------------------------------------- +Fri Apr 7 06:06:00 UTC 2017 - coolo@suse.com + +- updated to 1.012.1 + see /usr/share/doc/packages/perl-MIME-Charset/Changes + + 1.012.1 2017-04-07 Hatuka*nezumi - IKEDA Soji + + * Fix: CPAN RT #116459: Remove "." from @INC when loading modules. + A workaround for CVE-2016-1238. + +------------------------------------------------------------------- +Tue Apr 14 18:18:46 UTC 2015 - coolo@suse.com + +- updated to 1.012 + see /usr/share/doc/packages/perl-MIME-Charset/Changes + + 1.012 2015-03-28 Hatuka*nezumi - IKEDA Soji + + * CPAN RT #100839: Malformed JSON in META.json. + + 1.011.3 2014-12-10 Hatuka*nezumi - IKEDA Soji + + * Use "eval 'require ...'" to import optional encoding modules. + Overridden $SIG{__DIE__} can pass "eval 'use ...'". + * Replace META.yml with META.json. + + 1.011.2 2014-11-27 Hatuka*nezumi - IKEDA Soji + + * Added module CPAN to configure_require for inc::Test::AutoInstall. + * Added POD2::Base to recommended feature. + * Fix: wrong prototype for _resolve_S(). + * Move repository to github. + +------------------------------------------------------------------- +Mon Nov 25 07:38:11 UTC 2013 - coolo@suse.com + +- updated to 1.011.1 + * Fix: "shift_jis-2004" did not depend on Encode::JISX0213 but + Encode::ShiftJIS2004. + * Chg: Added gb18030 to extended mapping of GB2312. + * Updated inc::Module::Install to version 1.01. + +------------------------------------------------------------------- +Fri Oct 4 09:11:26 UTC 2013 - coolo@suse.com + +- updated to 1.011.0 + * Use Encode::JISX0213 instead of Encode::JIS2K which was not + fully implemented. + * Added support for iso-2022-jp-2 and JIS X 0213 encodings. + * Reformat Changes file to suit to CPAN::Changes::Spec. + +------------------------------------------------------------------- +Wed Jun 5 12:30:31 UTC 2013 - coolo@suse.com + +- updated to 1.010 + * Fix: UTF-16 & UTF-32 encoders are died by the texts without BOM. + * Added a test #6 and some cases to test #4. + * Changed layout of distribution. + + * No new features. + * CPAN RT #77715: Spelling mistake in documentation. + * Bug on CPAN site: cannot render PODs including "=item" with + non-ASCII. + + * Fix: detect_7bit_charset(): if charset was unknown, returns undef + instead of "US-ASCII". + * COPYING: Updated the address of FSF. + +------------------------------------------------------------------- +Wed Aug 03 22:26:51 UTC 2011 - pascal.bleser@opensuse.org + +- update to 1.009.1: + * workaround for aliasing on TIS-620 that is treated as ISO-8859-11 by Encode + * added WINDOWS-874 as EXTENDED map of TIS-620 + * result of _find_encoder() will be cached + * 'S' encoding will be resolved numerically, without comparing actually + encoded lengths + * added informations for WINDOWS-125[03-8]. + +- changes from 1.008.2: + * Bug Fix: body transfer-encoding profile "S" did not work properly, and + profile for UTF-8 was NOT really updated + +- changes from 1.008.1: + * workaround for CPAN RT#65796: deep recursion error finding invalid charset; + limit length of charset name up to 75 + * supports Unicode/multibyte on Perl 5.7.3 (experimental) + * Perl 5.7.3 & 5.8.3: avoid ``Useless use of a constant in void context'' + warnings + +------------------------------------------------------------------- +Sat Feb 19 06:56:24 CET 2011 - pascal.bleser@opensuse.org + +- initial version (1.008) + diff --git a/perl-MIME-Charset.spec b/perl-MIME-Charset.spec new file mode 100644 index 0000000..7162846 --- /dev/null +++ b/perl-MIME-Charset.spec @@ -0,0 +1,57 @@ +# +# spec file for package perl-MIME-Charset +# +# 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 MIME-Charset +Name: perl-MIME-Charset +Version: 1.013.1 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later +Summary: Charset Information for MIME +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +%{perl_requires} + +%description +MIME::Charset provides information about character sets used for MIME +messages on Internet. + +%prep +%autosetup -n %{cpan_name}-%{version} + +%build +PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor +%make_build + +%check +make test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%files -f %{name}.files +%doc Changes README +%license ARTISTIC COPYING + +%changelog