From d2e51a25526592fbb8fb0c1b9e4d6a0575537f4f Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Jun 18 2012 17:58:29 +0000 Subject: Add spec file (#830221) Not sure what went awry at import, but trying again... Signed-off-by: Dan Scott --- 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 - 0.22-1 +- Initial build. +- Incorporate package review changes suggested by Iain Arnell.