perl-List-Compare-0.33-0.fc5.src.rpmepel9
parent
41bea0e87c
commit
4be92f62c1
@ -0,0 +1 @@
|
|||||||
|
List-Compare-0.33.tar.gz
|
@ -0,0 +1,57 @@
|
|||||||
|
Name: perl-List-Compare
|
||||||
|
Version: 0.33
|
||||||
|
Release: 0%{?dist}
|
||||||
|
Summary: Compare elements of two or more lists
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: Artistic or GPL
|
||||||
|
URL: http://search.cpan.org/dist/List-Compare
|
||||||
|
Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/List-Compare-%{version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Advanced functionality to compare members of two or more lists.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n List-Compare-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
# remove errant execute bit from the .pm's
|
||||||
|
find %{buildroot} -type f -name '*.pm' -exec chmod -x {} 2>/dev/null ';'
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Jun 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.33-0
|
||||||
|
- Initial spec file for F-E
|
Loading…
Reference in new issue