Changes of Revision 2
[-] | Added | perl-Sort-Versions.spec |
x 1
2 +%define modname Sort-Versions 3 +Name: perl-%{modname} 4 +Version: 1.5 5 +Release: 1 6 +Summary: A perl 5 module for sorting of revision (and similar) numbers 7 +Requires: perl = %{perl_version} 8 +BuildRequires: perl 9 +License: GPL/Artistic 10 +Group: Development/Libraries/Perl 11 +Source: %{modname}-%{version}.tar.bz2 12 +BuildRoot: %{_tmppath}/%{name}-root 13 + 14 +%description 15 +This module allows easy sorting (via comparisons) of mixed text and numeric 16 +strings, similar to the complex "version numbers" that many revision control 17 +packages and shared library systems use. 18 + 19 +Authors: 20 +-------- 21 + Ed Avis <ed@membled.com> 22 + Matt Johnson <mwj99@doc.ic.ac.uk> 23 + 24 +%prep 25 +%setup -q -n %{modname}-%{version} 26 + 27 +%build 28 +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" 29 +make 30 +make test 31 + 32 +%install 33 +rm -rf %{buildroot} 34 +make DESTDIR=$RPM_BUILD_ROOT install_vendor 35 +%perl_process_packlist 36 + 37 +%clean 38 +rm -rf %{buildroot} 39 + 40 +%files 41 +%defattr(-, root, root) 42 +%doc README Changes 43 +%doc %{_mandir}/man?/* 44 +%{perl_vendorlib}/Sort 45 +%{perl_vendorarch}/auto/Sort 46 +/var/adm/perl-modules/%{name} 47 + 48 +%changelog 49 + 50 +* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 1.5-1 51 +- Initial release 52 |