Accepting request 47138 from devel:languages:perl
Copy from devel:languages:perl/perl-Business-ISBN-Data based on submit request 47138 from user computersalat OBS-URL: https://build.opensuse.org/request/show/47138 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Business-ISBN-Data?expand=0&rev=7
This commit is contained in:
committed by
Git OBS Bridge
parent
ff4394bae1
commit
2c5351ed2f
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@@ -17,40 +17,52 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-Business-ISBN-Data
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
%define cpan_name Business-ISBN-Data
|
||||
Summary: Data pack for Business::ISBN
|
||||
Version: 20081208
|
||||
Release: 2
|
||||
License: Artistic License ..
|
||||
Release: 9
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/perldoc?Business::ISBN::Data
|
||||
Source: %{cpan_name}-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/Business-ISBN-Data/
|
||||
Source: http://www.cpan.org/modules/by-module/Business/Business-ISBN-Data-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage)
|
||||
%endif
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
perl-Business-ISBN uses this "data pack" to do its work.
|
||||
This data is current as of the date in the module version. At that time,
|
||||
the publisher codes 9990000-9999999 or 999000-999999 had not been fixed,
|
||||
although they had been proposed. I do not include them in the data. Some
|
||||
regions, including India (93), Gabon (99902), and Congo (99951) have
|
||||
country codes but no publisher codes. They still have entries even though
|
||||
you won't be able to validate any ISBNs assigned in those regions.
|
||||
|
||||
You can update perl-Business-ISBN-Data independently of the main module as
|
||||
the various ISBN organizations assign new publisher codes. The ISBN agency
|
||||
lists these data at http://www.isbn-international.org/identifiers.html .
|
||||
Business::ISBN uses this "data pack" to do its work. You can update
|
||||
Business::ISBN::Data independently of the main module as the various
|
||||
ISBN organizations assign new publisher codes. The ISBN agency lists
|
||||
these data at http://www.isbn-international.org/converter/ranges.htm .
|
||||
|
||||
The distribution should include the kludegy script I used to extract the
|
||||
data and format the data structure.
|
||||
Authors:
|
||||
--------
|
||||
brian d foy <bdfoy@cpan.org>
|
||||
|
||||
Author: brian d foy <bdfoy@cpan.org>
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -58,14 +70,18 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user