From c8e00fc56778fa34ae7cabf33e7ae10ececf0847d2d72fe453dacc338b854a16 Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Thu, 25 Jul 2024 07:33:44 +0000 Subject: [PATCH] - updated to 20240718.1.0 (20240718.001) see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes 20240718.001 2024-07-18T17:14:53Z * data update for 2024-07-18 20240716.001 2024-07-16T15:45:27Z * Data update for 2024-07-16 * this distribution now uses GitHub Attestions. See README.pod. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Business-ISBN-Data?expand=0&rev=65 --- .gitattributes | 23 ++ .gitignore | 1 + Business-ISBN-Data-20240614.001.tar.gz | 3 + Business-ISBN-Data-20240710.001.tar.gz | 3 + Business-ISBN-Data-20240718.001.tar.gz | 3 + cpanspec.yml | 28 ++ perl-Business-ISBN-Data.changes | 410 +++++++++++++++++++++++++ perl-Business-ISBN-Data.spec | 88 ++++++ 8 files changed, 559 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Business-ISBN-Data-20240614.001.tar.gz create mode 100644 Business-ISBN-Data-20240710.001.tar.gz create mode 100644 Business-ISBN-Data-20240718.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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Business-ISBN-Data-20240614.001.tar.gz b/Business-ISBN-Data-20240614.001.tar.gz new file mode 100644 index 0000000..153f3de --- /dev/null +++ b/Business-ISBN-Data-20240614.001.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:38d7f0e24152e1aef07b1517a16104c1763b6669095dbad5083c3b91fc27232b +size 34354 diff --git a/Business-ISBN-Data-20240710.001.tar.gz b/Business-ISBN-Data-20240710.001.tar.gz new file mode 100644 index 0000000..b92ec8a --- /dev/null +++ b/Business-ISBN-Data-20240710.001.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c6ee39eb33cebac93efd19c68b2bfde2e06db4536da7b15ca3c26b466e2737d6 +size 34381 diff --git a/Business-ISBN-Data-20240718.001.tar.gz b/Business-ISBN-Data-20240718.001.tar.gz new file mode 100644 index 0000000..4e70b27 --- /dev/null +++ b/Business-ISBN-Data-20240718.001.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18ce2125ce8d63247af89e5d17ee9ebdddd84853ffb20ceecd2f3011414c8085 +size 34935 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..1a2bb70 --- /dev/null +++ b/perl-Business-ISBN-Data.changes @@ -0,0 +1,410 @@ +------------------------------------------------------------------- +Fri Jul 19 05:29:45 UTC 2024 - Tina Müller + +- updated to 20240718.1.0 (20240718.001) + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20240718.001 2024-07-18T17:14:53Z + * data update for 2024-07-18 + + 20240716.001 2024-07-16T15:45:27Z + * Data update for 2024-07-16 + * this distribution now uses GitHub Attestions. See README.pod. + +------------------------------------------------------------------- +Thu Jul 11 05:29:29 UTC 2024 - Tina Müller + +- updated to 20240710.1.0 (20240710.001) + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20240710.001 2024-07-10T10:46:31Z + * data update for 2024-07-10 + + 20240709.001 2024-07-09T13:20:22Z + * data update for 2024-07-09 + +------------------------------------------------------------------- +Sun Jun 23 16:09:50 UTC 2024 - Tina Müller + +- updated to 20240614.1.0 (20240614.001) + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20240614.001 2024-06-14T20:50:14Z + * Data update for 2024-06-14 + + 20240601.001 2024-06-01T13:28:51Z + * data update for 2024-06-01 + + 20240523.001 2024-05-23T14:35:01Z + * data update for 2024-05-23 + +------------------------------------------------------------------- +Fri May 10 03:06:10 UTC 2024 - Tina Müller + +- updated to 20240509.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20240509.001 2024-05-09T18:55:16Z + * data update for 2024-05-09 + 20240427.001 2024-04-27T10:36:58Z + * data update for 2024-04-27 + 20240426.001 2024-04-26T11:41:31Z + * data update for 2024-04-26 + 20240420.001 2024-04-20T11:39:16Z + * data update for 2024-04-20 + 20240413.001 2024-04-13T19:53:52Z + * data update for 2024-04-13 + 20240323.001 2024-03-23T08:30:28Z + * Data update for 2023-03-23 + 20240321.001 2024-03-21T07:16:25Z + * Data update for 2024-03-21 + 20240313.001 2024-03-13T08:28:48Z + * Data update for 2024-03-13 + 20240308.001 2024-03-08T08:32:18Z + * Data update for 2024-03-08 + 20240302.001 2024-03-02T23:33:19Z + * Data update for 2024-03-02 + 20240229.001 2024-02-29T21:17:00Z + * Data update for 2024-02-29 (Leap day!) + 20240209.001 2024-02-09T21:13:28Z + * data update for 2024-02-09 + 20240206.001 2024-02-06T04:11:18Z + * data update for 2024-02-06 + 20240126.001 2024-01-26T04:20:55Z + * Data update for 2024-01-25 + 20240123.001 2024-01-23T14:52:26Z + * Data update for 2024-01-23 + 20240116.001 2024-01-16T14:01:15Z + * Data upate for 2024-01-16 + 20240111.001 2024-01-11T19:06:03Z + * Data update for 2014-01-11 + +------------------------------------------------------------------- +Sat Dec 23 03:06:09 UTC 2023 - Tina Müller + +- updated to 20231220.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20231220.001 2023-12-21T08:59:21Z + * data update for 2023-12-20 + 20231215.001 2023-12-15T05:56:18Z + * data update for 2023-12-15 + 20231130.001 2023-11-30T15:44:22Z + * data update for 2023-11-30 + 20231125.001 2023-11-25T07:20:29Z + * Data update for 2023-11-25 + 20231118.001 2023-11-18T09:36:00Z + * data update for 2023-11-18 + 20231114.001 2023-11-14T07:06:33Z + * data update for 2023-11-14 + 20231110.001 2023-11-10T07:58:12Z + * data update for 2023-11-10 + 20231102.001 2023-11-02T05:03:05Z + * Data update for 2023-11-02 + 20231031.001 2023-10-31T14:31:39Z + * Data update for 2023-10-31 + +------------------------------------------------------------------- +Sat Oct 21 03:06:03 UTC 2023 - Tina Müller + +- updated to 20231020.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20231020.001 2023-10-20T08:12:42Z + * Data update for 2023-10-20 + +------------------------------------------------------------------- +Sat Oct 14 03:06:07 UTC 2023 - Tina Müller + +- updated to 20231013.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20231013.001 2023-10-13T12:09:42Z + * data update for 2023-10-13 + 20231010.001 2023-10-10T13:02:37Z + * data update for 2023-10-10 + 20231006.001 2023-10-08T02:04:15Z + * data update for 2023-10-06 + +------------------------------------------------------------------- +Wed Sep 27 03:06:09 UTC 2023 - Tina Müller + +- updated to 20230926.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230926.001 2023-09-26T09:01:09Z + * Data update for 2023-09-26 + + 20230923.001 2023-09-23T19:43:19Z + * Data update for 20230923 + + 20230922.001 2023-09-23T00:18:18Z + * Data update for 20230922 + +------------------------------------------------------------------- +Fri Sep 8 03:06:09 UTC 2023 - Tina Müller + +- updated to 20230907.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230907.001 2023-09-07T09:34:02Z + * data update for 2023-09-07 + +------------------------------------------------------------------- +Tue Sep 5 16:43:33 UTC 2023 - Tina Müller + +- updated to 20230904.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230904.001 2023-09-05T01:54:08Z + * Data update for 2023-09-04 + + 20230830.001 2023-08-30T11:43:37Z + Data update for 2023-08-30 + +------------------------------------------------------------------- +Wed Aug 23 03:06:08 UTC 2023 - Tina Müller + +- updated to 20230822.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230822.001 2023-08-22T05:23:14Z + * Data update for 2023-08-22 + + 20230811.001 2023-08-11T09:23:24Z + * Data update for 2023-08-11 + +------------------------------------------------------------------- +Sun Jul 30 03:06:01 UTC 2023 - Tina Müller + +- updated to 20230729.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230729.001 2023-07-29T20:53:52Z + * Data update for 2023-07-29 + +------------------------------------------------------------------- +Thu Jul 20 03:06:06 UTC 2023 - Tina Müller + +- updated to 20230719.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230719.001 2023-07-19T19:30:03Z + * Data update for 2023-07-19 + 20230718.001 2023-07-18T19:22:42Z + * Data update for 20230718.001 + 20230714.001 2023-07-14T07:35:39Z + * Data update for 20230707 + 20230707.001 2023-07-07T03:52:07Z + * Data update for 20230707 + 20230626.001 2023-06-26T15:49:00Z + * Data update for 20230626 + +------------------------------------------------------------------- +Mon May 29 03:06:12 UTC 2023 - Tina Müller + +- updated to 20230528.001 + see /usr/share/doc/packages/perl-Business-ISBN-Data/Changes + + 20230528.001 2023-05-28T21:01:11Z + * Update for 2023-05-28 + + 20230516.001 2023-05-16T15:09:45Z + * Data update for May 16, 2023 + + 20230426.002 2023-05-04T04:20:45Z + * fix a problem with the MANIFEST (#30). No data updates. + +------------------------------------------------------------------- +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..de9e510 --- /dev/null +++ b/perl-Business-ISBN-Data.spec @@ -0,0 +1,88 @@ +# +# spec file for package perl-Business-ISBN-Data +# +# Copyright (c) 2024 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: 20240718.1.0 +Release: 0 +# 20240718.001 -> normalize -> 20240718.1.0 +%define cpan_version 20240718.001 +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/BR/BRIANDFOY/%{cpan_name}-%{cpan_version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 +BuildRequires: perl(Test::More) >= 1 +Provides: perl(Business::ISBN::Data) = %{version} +%undefine __perllib_provides +%{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}-%{cpan_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