[perl-HTTP-OAI] Initial import (#700353).
Nicholas van Oudtshoorn
vanoudt at fedoraproject.org
Thu Dec 15 02:14:48 UTC 2011
commit 3f81f515232b4e72bb8dddf87543be780b97e2bf
Author: Nicholas van Oudtshoorn <vanoudt at gmail.com>
Date: Thu Dec 15 10:14:43 2011 +0800
Initial import (#700353).
.gitignore | 1 +
perl-HTTP-OAI.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1e672ea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTTP-OAI-3.27.tar.gz
diff --git a/perl-HTTP-OAI.spec b/perl-HTTP-OAI.spec
new file mode 100644
index 0000000..4a3d54c
--- /dev/null
+++ b/perl-HTTP-OAI.spec
@@ -0,0 +1,57 @@
+Name: perl-HTTP-OAI
+Version: 3.27
+Release: 1%{?dist}
+Summary: API for the OAI-PMH
+License: BSD
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/HTTP-OAI/
+Source0: http://www.cpan.org/authors/id/T/TI/TIMBRODY/HTTP-OAI-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(CGI)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(HTTP::Request)
+BuildRequires: perl(HTTP::Response)
+BuildRequires: perl(LWP::UserAgent)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(URI)
+BuildRequires: perl(XML::LibXML) >= 1.6
+BuildRequires: perl(XML::LibXML::SAX)
+BuildRequires: perl(XML::SAX)
+BuildRequires: perl(XML::SAX::Base) >= 1
+
+%description
+This is a stub module, you probably want to look at HTTP::OAI::Harvester or
+HTTP::OAI::Repository.
+
+%prep
+%setup -q -n HTTP-OAI-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+iconv -f iso8859-15 -t utf-8 README > README.conv && mv -f README.conv README
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc CHANGES LICENSE README
+%{perl_vendorlib}/*
+%{_bindir}/*
+%{_mandir}/man3/*
+%{_mandir}/man1/*
+%changelog
+* Mon Nov 28 2011 Nicholas van Oudtshoorn <vanoudt at gmail.com> - 3.27-1
+- tidying of spec file
+- new upstream release 3.27
+* Thu Apr 28 2011 Nicholas van Oudtshoorn <vanoudt at gmail.com> - 3.24-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..c5583c2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+592ec27f161af28c62bb4b3fceaba4cf HTTP-OAI-3.27.tar.gz
More information about the perl-devel
mailing list