[perl-Library-CallNumber-LC/f17] Initial import (#830221)
Dan Scott
dscott at fedoraproject.org
Mon Jun 18 18:05:09 UTC 2012
commit 40f33f52c1ddd6e064aa3a6bf744514d7108660f
Author: Dan Scott <dan at coffeecode.net>
Date: Mon Jun 18 13:52:51 2012 -0400
Initial import (#830221)
Signed-off-by: Dan Scott <dan at coffeecode.net>
.gitignore | 1 +
perl-Library-CallNumber-LC.spec | 48 +++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9847497 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Library-CallNumber-LC-0.22.tar.gz
diff --git a/perl-Library-CallNumber-LC.spec b/perl-Library-CallNumber-LC.spec
new file mode 100644
index 0000000..2359b60
--- /dev/null
+++ b/perl-Library-CallNumber-LC.spec
@@ -0,0 +1,48 @@
+Name: perl-Library-CallNumber-LC
+Version: 0.22
+Release: 1%{?dist}
+Summary: Normalize Library of Congress call numbers for sorting
+
+Group: Development/Libraries
+License: (GPL+ or Artistic) or BSD
+URL: http://search.cpan.org/dist/Library-CallNumber-LC/
+Source0: http://search.cpan.org/CPAN/authors/id/D/DB/DBWELLS/Library-CallNumber-LC-%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: perl(Math::BigInt)
+BuildRequires: perl(Module::Build)
+BuildRequires: perl(strict)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(warnings)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module takes Library of Congress (LC) call numbers and normalizes them so
+that they are comparable with each other. This supports sorting and
+left-anchored searching, such that searching "A11*" should give you all the A11
+call numbers.
+
+%prep
+%setup -q -n Library-CallNumber-LC-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/Library/
+%{_mandir}/man3/*.3pm*
+
+
+%changelog
+* Wed Jun 13 2012 Dan Scott <dan at coffeecode.net> - 0.22-1
+- Initial build.
+- Incorporate package review changes suggested by Iain Arnell.
diff --git a/sources b/sources
index e69de29..600fd63 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b25acaa6354e38b7623e084a1f9ce40a Library-CallNumber-LC-0.22.tar.gz
More information about the scm-commits
mailing list