commit 3ac67d8c3d563c658d5c1c2f005c799e1d2362e486401ae4e2b363daa8784e31 Author: OBS User unknown Date: Mon Aug 3 17:37:40 2009 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Business-ISBN?expand=0&rev=1 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-2.05.tar.bz2 b/Business-ISBN-2.05.tar.bz2 new file mode 100644 index 0000000..9d27a2d --- /dev/null +++ b/Business-ISBN-2.05.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e33eb75b0353d8806e9dbe8a3ea058405dbfed34e3a8cff21bb72057564166ac +size 396547 diff --git a/perl-Business-ISBN.changes b/perl-Business-ISBN.changes new file mode 100644 index 0000000..a3ed2c4 --- /dev/null +++ b/perl-Business-ISBN.changes @@ -0,0 +1,67 @@ +------------------------------------------------------------------- +Sat Jul 25 19:29:00 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Sun Jun 28 19:29:20 CEST 2009 - chris@computersalat.de + +- update to 2.05 + - 2.05 - Sun Jan 25 00:00:17 2009 + * Updated for latest data in Business::ISBN::Data + - 2.04_01 - Mon Oct 27 12:08:03 2008 + * Revert the GD prereq. A lot of testers have borked GD + installs. + * Require 5.8. Some of the new stuff isn't playing well with + 5.6 + - 2.04 - Sun Oct 26 18:29:20 2008 + * Fix tests that used 99902 as a bad prefix. That now + belongs to Gabon. +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o added header + o fixed deps + +------------------------------------------------------------------- +Wed May 7 12:25:46 CEST 2008 - lrupp@suse.de + +- update to 2.03 + * Fixed minor distro problems + * Explore RT #29292. I don't seem to have the problem with + hyphens for ISBN-13, but let's see what CPAN Testers has to + say + * [BUGFIX] ISBN13 was returing "Bookland" for all groups, but + it shouldn't do that. Now it returns the same thing you'd + get from ISBN10 (e.g. "English", "German", ... ). + * [BUGFIX] RT 29089 - I had the wrong _max_length for ISBN13. + That 13 is the hint that it should be 13. :) + * [FEATURE] added exportable function valid_isbn_checksum that + takes care of all of the object stuff for you and just gives + you the answer. In previous docs, this was called is_valid_checksum + even though that conflicted with an object method. It was + documented but never implemented. Now it's there. :) + * [BUGFIX] now should pass tests under 5.6.2, after a bit of + backporting. Upgrade already people! :) + * Don't import import() from Exporter. There are a lot of people + (apparently) using very old perls, not just CPAN Testers. + * fixes RT #28843: an ISBN-13 with a bad prefix shouldn't croak, + but return an object that explains the error. + * Official release of Business::ISBN to handle ISBN-13 + * Does not handle 979- numbers yet (need publisher data for that) + * Does handle 978-numbere, which is the 10 digit ISBN with a + different "country code", so it uses the same publisher data + * There are significant API changes to handle the new stuff. It's + not so bad, but test it before you rip out the old Business::ISBN + stuff. + * Completely redone internals to handle ISBN-10 and ISBN-13 + * Some interface changes to Business::ISBN 1.x + * Removed exportable functions. + +------------------------------------------------------------------- +Mon Jul 23 14:33:01 CEST 2007 - lrupp@suse.de + +- initial package 1.84 + diff --git a/perl-Business-ISBN.spec b/perl-Business-ISBN.spec new file mode 100644 index 0000000..732c606 --- /dev/null +++ b/perl-Business-ISBN.spec @@ -0,0 +1,75 @@ +# +# spec file for package perl-Business-ISBN (Version 2.05) +# +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: perl-Business-ISBN +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: Work with International Standard Book Numbers +Version: 2.05 +Release: 1 +License: Artistic License .. +Group: Development/Libraries/Perl +Url: http://search.cpan.org/perldoc?Business::ISBN +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Business::ISBN::Data) >= 20081208 +## URI required by Makefile.PL +## but not used +#BuildRequires: perl(URI) +BuildRequires: perl(IO::Socket) +BuildRequires: perl(GD::Barcode::EAN13) +Requires: perl = %{perl_version} +Requires: perl(Business::ISBN::Data) >= 20081208 +Requires: perl(LWP::Simple) +Requires: perl(GD::Barcode::EAN13) + +%description +With this module you can work with ISBN numbers. It handles +International Standard Book Numbers, including +ISBN-10 and ISBN-13. + + Author: Brian d Foy +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL +%{__make} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +%defattr(0644,root,root,0755) +%doc Changes LICENSE README *.txt + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4