From 468188683bd03069252d83337e8fa1968fcc0840dca3a32b75cc18fc7e22d611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 17:52:39 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-Business-ISBN-Data revision c679d776fe7b32de5814cf28aab60f8d --- .gitattributes | 23 +++ Business-ISBN-Data-20230426.001.tar.gz | 3 + cpanspec.yml | 28 ++++ perl-Business-ISBN-Data.changes | 193 +++++++++++++++++++++++++ perl-Business-ISBN-Data.spec | 84 +++++++++++ 5 files changed, 331 insertions(+) create mode 100644 .gitattributes create mode 100644 Business-ISBN-Data-20230426.001.tar.gz create mode 100644 cpanspec.yml create mode 100644 perl-Business-ISBN-Data.changes create mode 100644 perl-Business-ISBN-Data.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/Business-ISBN-Data-20230426.001.tar.gz b/Business-ISBN-Data-20230426.001.tar.gz new file mode 100644 index 0000000..fa77ee7 --- /dev/null +++ b/Business-ISBN-Data-20230426.001.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1667775ea98bf7ab97d981c779c205610683c507401e7ef2845a85177a652e0e +size 31254 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-Business-ISBN-Data.changes b/perl-Business-ISBN-Data.changes new file mode 100644 index 0000000..33d6c42 --- /dev/null +++ b/perl-Business-ISBN-Data.changes @@ -0,0 +1,193 @@ +------------------------------------------------------------------- +Thu Apr 27 03:06:03 UTC 2023 - Tina Müller + +- updated to 20230426.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230426.001 2023-04-26T20:39:21Z + Data update for 20230426 + +------------------------------------------------------------------- +Tue Apr 11 03:06:06 UTC 2023 - Tina Müller + +- updated to 20230410.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230410.001 2023-04-10T06:25:50Z + * Data update for 2023-04-10 + + 20230331.001 2023-04-03T05:04:52Z + * Data update for 2023-03-30 + +------------------------------------------------------------------- +Thu Mar 23 03:06:07 UTC 2023 - Tina Müller + +- updated to 20230322.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230322.001 2023-03-22T18:22:12Z + * ISBN data for 20230322.001 + + 20230316.001 2023-03-16T14:14:06Z + * Update data to March 2023 + +------------------------------------------------------------------- +Wed Feb 17 03:06:11 UTC 2021 - Tina Müller + +- updated to 20210112.006 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20210112.006 2021-02-16T04:08:08Z + * Fix testing bug. This module needs Business::ISBN 3.005 to match + the data structures. Prior to that, Business::ISBN had a bug with + ISBN13. + 20210112.005_03 2021-02-15T17:43:08Z + * I think the CPAN Tester failures are using older versions of + Business::ISBN (older than 3.005 all seem to fail). I assumed they + started fresh, but I guess not. Require a recent version in the + default_data test. + 20210112.005_02 2021-02-14T05:07:05Z + * Try harder to see what's going on in CPAN Testers + 20210112.005_01 2021-02-13T12:40:28Z + * Try harder to figure out these test failures + +------------------------------------------------------------------- +Sun Feb 14 03:06:10 UTC 2021 - Tina Müller + +- updated to 20210112.005 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + +------------------------------------------------------------------- +Thu Feb 11 03:06:09 UTC 2021 - Tina Müller + +- updated to 20210112.004 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20210112.004 2021-02-10T04:29:32Z + * Test the default data. + * Add a note about packaging RangeMessage.xml (adapted from gwyn17) + +------------------------------------------------------------------- +Wed Feb 10 03:06:11 UTC 2021 - Tina Müller + +- updated to 20210112.003 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20210112.003 2021-02-09T22:42:53Z + * The default data had a problem because I used the same hash key + twice in the default data (Github #7). Found by gwyn17. + +------------------------------------------------------------------- +Mon Feb 8 03:06:13 UTC 2021 - Tina Müller + +- updated to 20210112.002 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20210112.002 2021-02-07T05:46:20Z + * Don't try to load a data file if there are no data files + (Github #6) + +------------------------------------------------------------------- +Wed Jan 20 03:07:01 UTC 2021 - Tina Müller + +- updated to 20210112.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20210112.001 2021-01-19T14:48:12Z + * freshen distro, dump Travis CI, add Github Actions + * Update to latest Business::ISBN::Data + +------------------------------------------------------------------- +Thu Dec 12 03:09:11 UTC 2019 - + +- updated to 20191107 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20191107 2019-12-11T20:04:42Z + * Peter Williams fixed the 978/979 distinction (GitHub #5) + +------------------------------------------------------------------- +Thu Dec 17 09:40:25 UTC 2015 - coolo@suse.com + +- updated to 20140910.003 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + Revision history for Perl module +- Drop fix-provides.diff (included upstream) + +------------------------------------------------------------------- +Thu Feb 19 13:24:45 UTC 2015 - coolo@suse.com + +- updated to 20140910.002 + * Look in the current directory for RangeMessage.xml if it's + not in other locations. This can help with various Perl app + packagers. (But, also try ISBN_RANGE_MESSAGE env var) +- add fix-provides.diff to avoid providing ::ISBN without data + +------------------------------------------------------------------- +Sun Sep 21 13:42:01 UTC 2014 - lars@linux-schulserver.de + +- updated to 20140910.001: + * Update to the latest data (2014-09-10) +- fix perl path in make_data.pl + +------------------------------------------------------------------- +Tue Jun 4 11:43:57 UTC 2013 - coolo@suse.com + +- updated to 20120719.001 + * Support data from RangeMessage.xml. You can use the latest + data from ISBN without updating this module. + + Specify the Test::More version so I cna use subtest. + No code or feature changes + +------------------------------------------------------------------- +Tue Nov 30 19:19:51 UTC 2010 - coolo@novell.com + +- switch to perl_requires macro + +------------------------------------------------------------------- +Sat Sep 4 18:25:47 UTC 2010 - chris@computersalat.de + +- recreated by cpanspec 1.78 +- noarch pkg + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Sat Jul 25 19:29:04 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Sun Jun 28 18:47:35 CEST 2009 - chris@computersalat.de + +- update to 20081208 + - 0.00 - Fri Dec 5 12:00:41 2008 + * Latest data update. + - 20081020 - Mon Oct 20 17:44:15 2008 + * Updated publisher codes thanks to Yakov Shafranovich + * Version number is now the update date of the module, + in YYYYMMDD. This not the date of the ISBN Agency + updates though. +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o fixed deps + +------------------------------------------------------------------- +Tue Feb 12 13:01:45 CET 2008 - lars@linux-schulserver.de + +- Update to 1.17: + [BUGFIX] RT #29078: Fix publihser ranges for Greece + +------------------------------------------------------------------- +Mon Jul 23 14:46:46 CEST 2007 - lrupp@suse.de + +- initial package 1.14 + diff --git a/perl-Business-ISBN-Data.spec b/perl-Business-ISBN-Data.spec new file mode 100644 index 0000000..1d5265f --- /dev/null +++ b/perl-Business-ISBN-Data.spec @@ -0,0 +1,84 @@ +# +# spec file for package perl-Business-ISBN-Data +# +# Copyright (c) 2023 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 Business-ISBN-Data +Name: perl-Business-ISBN-Data +Version: 20230426.001 +Release: 0 +License: Artistic-2.0 +Summary: Data pack for Business::ISBN +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 +BuildRequires: perl(Test::More) >= 1 +%{perl_requires} + +%description +You don't need to load this module yourself in most cases. Business::ISBN +will load it when it loads. You must use Business::ISBN 3.005 or later +because the data structure changed slightly to fix a bug with ISBN13 +prefixes. + +These data are generated from the _RangeMessage.xml_ file provided by the +ISBN Agency. The distributed version matches the date in the version for +this module. You can retrieve this yourself at +https://www.isbn-international.org/range_file_generation. This file is +included as part of the distribution and should be installed at +_~lib/Business/ISBN/Data/RangeMessage.xml_. + +If you want to use a different _RangeMessage.xml_ file, you can set the +'ISBN_RANGE_MESSAGE' environment variable to the alternate location before +you load 'Business::ISBN'. This way, you can use the latest (or even +earlier) data without having to install something new or wait for an update +to this module. + +If the default _RangeMessage.xml_ or your alternate one is not available, +the module falls back to data included in _Data.pm_. However, that data are +likely to be older. If it does not find that file, it looks for +_RangeMessage.xml_ in the current directory. + +The data are in '%Business::ISBN::country_data' (although the "country" +part is historical). If you want to see where the data are from, check +'$Business::ISBN::country_data{_source}'. + +%prep +%autosetup -n %{cpan_name}-%{version} + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 + +%build +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 examples +%license LICENSE + +%changelog