Files
perl-MARC-XML/perl-MARC-XML.spec

64 lines
1.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-MARC-XML
#
# 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
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
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