- updated to 3.009 see /usr/share/doc/packages/perl-Business-ISBN/Changes 3.009 2024-02-10T21:46:10Z * refresh distro, update email addresses, move to BRIANDFOY OBS-URL: https://build.opensuse.org/request/show/1153691 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Business-ISBN?expand=0&rev=44
71 lines
2.2 KiB
RPMSpec
71 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package perl-Business-ISBN
|
|
#
|
|
# 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
|
|
Name: perl-Business-ISBN
|
|
Version: 3.9.0
|
|
Release: 0
|
|
%define cpan_version 3.009
|
|
License: Artistic-2.0
|
|
Summary: Work with International Standard Book Numbers
|
|
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(Business::ISBN::Data) >= 20230322.001
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
|
|
BuildRequires: perl(Test::More) >= 1
|
|
Requires: perl(Business::ISBN::Data) >= 20230322.001
|
|
Provides: perl(Business::ISBN) = %{version}
|
|
Provides: perl(Business::ISBN10) = %{version}
|
|
Provides: perl(Business::ISBN13) = %{version}
|
|
%define __perllib_provides /bin/true
|
|
%{perl_requires}
|
|
|
|
%description
|
|
This modules handles International Standard Book Numbers, including ISBN-10
|
|
and ISBN-13.
|
|
|
|
The data come from Business::ISBN::Data, which means you can update the
|
|
data separately from the code. Also, you can use Business::ISBN::Data with
|
|
whatever _RangeMessage.xml_ you like if you have updated data. See that
|
|
module for details.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%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 bad-isbn13s.txt bad-isbns.txt Changes examples isbn13s.txt isbns.txt
|
|
%license LICENSE
|
|
|
|
%changelog
|