[perl-MARC-XML] Initial import (#829865).

Dan Scott dscott at fedoraproject.org
Tue Nov 6 14:41:04 UTC 2012


commit ddfbfcc9da8a6a9f5c45566dbdaf0d6a8ad0db61
Author: Dan Scott <dan at coffeecode.net>
Date:   Tue Nov 6 09:40:28 2012 -0500

    Initial import (#829865).

 .gitignore         |    1 +
 perl-MARC-XML.spec |   61 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f68affa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MARC-XML-0.93.tar.gz
diff --git a/perl-MARC-XML.spec b/perl-MARC-XML.spec
new file mode 100644
index 0000000..4cce36c
--- /dev/null
+++ b/perl-MARC-XML.spec
@@ -0,0 +1,61 @@
+Name:           perl-MARC-XML
+Version:        0.93
+Release:        1%{?dist}
+Summary:        An extension to MARC::Record that supports an XML serialization of MARC
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/MARC-XML/
+Source0:        http://search.cpan.org/CPAN/authors/id/G/GM/GMCHARLT/MARC-XML-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(MARC::Batch)
+BuildRequires:  perl(MARC::Charset)
+BuildRequires:  perl(MARC::Field)
+BuildRequires:  perl(MARC::File)
+BuildRequires:  perl(MARC::Record)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XML::SAX)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+MARC-XML is an extension to the MARC-Record distribution for working with XML
+data encoded using the MARC21slim XML schema from the Library of Congress. For
+more details see: http://www.loc.gov/standards/marcxml/
+
+%prep
+%setup -q -n MARC-XML-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/MARC/
+%{_mandir}/man1/*.1*
+%{_mandir}/man3/*.3pm*
+%{_bindir}/*
+
+%changelog
+* Wed Jun 13 2012 Dan Scott <dan at coffeecode.net> - 0.93-1
+- Initial build. 
+- Incorporate package review changes suggested by Iain Arnell.
diff --git a/sources b/sources
index e69de29..5c342b0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3b7b3f188c1434394ee6c8b102d01fdb  MARC-XML-0.93.tar.gz


More information about the scm-commits mailing list