automatic update by autodist [release 4.17-1mamba;Sat Feb 22 2014]

This commit is contained in:
Automatic Build System 2024-01-06 09:52:43 +01:00
parent f8bde48d7f
commit 83a2556627
2 changed files with 77 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-WWW-Curl
WWW - Perl extension interface for libcurl.

75
perl-WWW-Curl.spec Normal file
View File

@ -0,0 +1,75 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-WWW-Curl
Version: 4.17
Release: 1mamba
Summary: WWW - Perl extension interface for libcurl
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/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz
License: MPL, MIT
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
WWW - Perl extension interface for libcurl.
%prep
%setup -q -n WWW-Curl-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
# Failed test 'https://www.microsoft.com/ ssl test succeeds'
# at t/08ssl.t line 86.
# Failed test 'https://www.microsoft.com/ ssl test succeeds'
# at t/08ssl.t line 86.
#% 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 Feb 22 2014 Automatic Build System <autodist@mambasoft.it> 4.17-1mamba
- automatic update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.15-2mamba
- perl 5.16 mass rebuild
* Wed Dec 01 2010 Automatic Build System <autodist@mambasoft.it> 4.15-1mamba
- automatic update by autodist
* Thu Nov 11 2010 Automatic Build System <autodist@mambasoft.it> 4.14-1mamba
- automatic update by autodist
* Fri Oct 01 2010 Automatic Build System <autodist@mambasoft.it> 4.13-1mamba
- automatic update by autodist
* Tue Aug 10 2010 Automatic Build System <autodist@mambasoft.it> 4.12-1mamba
- automatic update by autodist
* Tue Jun 29 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 4.11-1mamba
- package created by autospec