perl 5.16 mass rebuild [release 0.12-2mamba;Sat Nov 10 2012]
This commit is contained in:
parent
2f39bb4915
commit
904a635e75
@ -1,2 +1,4 @@
|
||||
# perl-Net-LibIDN
|
||||
|
||||
Provides bindings for GNU Libidn, a C library for handling Internationalized Domain Names according to IDNA (RFC 3490), in a way very much inspired by Turbo Fredriksson's PHP-IDN.
|
||||
|
||||
|
65
perl-Net-LibIDN.spec
Normal file
65
perl-Net-LibIDN.spec
Normal file
@ -0,0 +1,65 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Net-LibIDN
|
||||
Version: 0.12
|
||||
Release: 2mamba
|
||||
Summary: Net::LibIDN - Perl bindings for GNU Libidn
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/T/TH/THOR/Net-LibIDN-%{version}.tar.gz
|
||||
License: Artistic
|
||||
Requires: perl >= %perl_major_ver
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libidn-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Provides bindings for GNU Libidn, a C library for handling Internationalized Domain Names according to IDNA (RFC 3490), in a way very much inspired by Turbo Fredriksson's PHP-IDN.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n Net-LibIDN-%{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
|
||||
* Sat Nov 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Fri Feb 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.11-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user