OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-XML?expand=0&rev=9
77 lines
2.0 KiB
RPMSpec
77 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package perl-MARC-XML
|
|
#
|
|
# Copyright (c) 2011 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-MARC-XML
|
|
%define real_name MARC-XML
|
|
Summary: A subclass of MARC.pm to provide XML support
|
|
Url: http://search.cpan.org/perldoc?MARC::XML
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Version: 0.4
|
|
Release: 1
|
|
Source: %{real_name}-%{version}.tar.gz
|
|
BuildRequires: perl-MARC >= 1.04
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl-XML-Parser
|
|
Requires: perl-MARC >= 1.04
|
|
Requires: perl-XML-Parser >= 2.27
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
|
|
%description
|
|
MARC::XML is a subclass of MARC.pm which provides methods for round-trip
|
|
conversions between MARC and XML.
|
|
|
|
As a subclass of MARC.pm a MARC::XML object will by default have the full
|
|
functionality of a MARC.pm object.
|
|
|
|
See the MARC.pm documentation for details.
|
|
|
|
Author:
|
|
-------
|
|
Ed Summers <ehs@pobox.com>
|
|
|
|
|
|
%prep
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc Changes README MANIFEST
|
|
%doc %{_mandir}/man?/*
|
|
%dir %{perl_vendorarch}/auto/MARC/XML
|
|
%{perl_vendorlib}/MARC/XML.pm
|
|
|
|
%changelog
|