[perl-Library-CallNumber-LC] Add spec file (#830221)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit d2e51a25526592fbb8fb0c1b9e4d6a0575537f4f
Author: Dan Scott <dan@xxxxxxxxxxxxxx>
Date:   Mon Jun 18 13:58:29 2012 -0400

    Add spec file (#830221)
    
    Not sure what went awry at import, but trying again...
    
    Signed-off-by: Dan Scott <dan@xxxxxxxxxxxxxx>

 perl-Library-CallNumber-LC.spec |   48 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)
---
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@xxxxxxxxxxxxxx> - 0.22-1
+- Initial build. 
+- Incorporate package review changes suggested by Iain Arnell.
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux