update to 0.33 [release 0.33-1mamba;Thu Nov 15 2012]
This commit is contained in:
parent
6c42256336
commit
5c1fa44051
@ -1,2 +1,4 @@
|
||||
# perl-List-MoreUtils
|
||||
|
||||
List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util.
|
||||
|
||||
|
70
perl-List-MoreUtils.spec
Normal file
70
perl-List-MoreUtils.spec
Normal file
@ -0,0 +1,70 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-List-MoreUtils
|
||||
Version: 0.33
|
||||
Release: 1mamba
|
||||
Summary: List::MoreUtils - Provide the stuff missing in List::Util
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/V/VP/VPARSEVAL/List-MoreUtils-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
Requires: perl >= %perl_major_ver
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
List::MoreUtils provides some trivial but commonly needed functionality on lists which is not going to go into List::Util.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n List-MoreUtils-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
packlist=`find %{buildroot} -name .packlist`
|
||||
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
||||
sort -u > .packlist && rm $packlist
|
||||
|
||||
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Thu Nov 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.33-1mamba
|
||||
- update to 0.33
|
||||
|
||||
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.25_02-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Tue Aug 04 2009 Automatic Build System <autodist@mambasoft.it> 0.25_02-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Jul 27 2009 Automatic Build System <autodist@mambasoft.it> 0.24-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.22-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user