2008-05-07 10:17:06 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
2008-05-07 12:37:24 +00:00
|
|
|
Url: http://search.cpan.org/perldoc?MARC::XML
|
2008-05-07 10:17:06 +00:00
|
|
|
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
|
2010-12-03 14:41:54 +00:00
|
|
|
BuildRequires: perl-macros
|
2008-05-07 10:17:06 +00:00
|
|
|
BuildRequires: perl-XML-Parser
|
|
|
|
|
Requires: perl-MARC >= 1.04
|
|
|
|
|
Requires: perl-XML-Parser >= 2.27
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:41:54 +00:00
|
|
|
%{perl_requires}
|
2008-05-07 10:17:06 +00:00
|
|
|
|
|
|
|
|
%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
|