perl-libwww/perl-libwww.spec

151 lines
5.0 KiB
RPMSpec
Raw Normal View History

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-libwww
Version: 6.58
Release: 1mamba
Summary: A set of Perl modules which provides a simple and consistent application programming interface to the World-Wide Web
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://metacpan.org/pod/LWP::Protocol
Source: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-%{version}.tar.gz
License: GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Authen-NTLM
BuildRequires: perl-Data-Dump
BuildRequires: perl-File-Listing
BuildRequires: perl-HTTP-Date
BuildRequires: perl-HTTP-Message
BuildRequires: perl-HTTP-Negotiate
BuildRequires: perl-LWP-MediaTypes
BuildRequires: perl-Net-HTTP
BuildRequires: perl-Try-Tiny
BuildRequires: perl-URI
BuildRequires: perl-WWW-RobotRules
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl-HTML-Parser
BuildRequires: perl-Encode-Locale
BuildRequires: perl-HTTP-Daemon
BuildRequires: perl-Test-RequiresInternet
BuildRequires: perl-Test-Needs
BuildArch: noarch
%description
The libwww-perl collection is a set of Perl modules which provides a simple and consistent application programming interface to the World-Wide Web. The main focus of the library is to provide classes and functions that allow you to write WWW clients. The library also contain modules that are of more general use and even classes that help you implement simple HTTP servers.
%prep
%setup -q -n libwww-perl-%{version}
#rm lib/HTTP/Cookies/Microsoft.pm
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor -n << _EOF
n
_EOF
%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
test x"$RPM_BUILD_ROOT" != x/ && rm -rf "$RPM_BUILD_ROOT"
rm .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Mon Nov 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.58-1mamba
- update to 6.58
* Mon Feb 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.52-1mamba
- update to 6.52
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.35-1mamba
- update to 6.35
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 6.15-1mamba
- update to 6.15
* Mon Jul 28 2014 Automatic Build System <autodist@mambasoft.it> 6.08-1mamba
- automatic version update by autodist
* Thu Jul 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.07-1mamba
- update to 6.07
* Fri Mar 15 2013 Automatic Build System <autodist@mambasoft.it> 6.05-1mamba
- automatic version update by autodist
* Tue Nov 13 2012 Automatic Build System <autodist@mambasoft.it> 6.04-1mamba
- automatic version update by autodist
* Wed Nov 10 2010 Automatic Build System <autodist@mambasoft.it> 5.837-1mamba
- automatic update by autodist
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 5.836-1mamba
- automatic update by autodist
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 5.834-1mamba
- automatic update by autodist
* Fri Oct 23 2009 Automatic Build System <autodist@mambasoft.it> 5.833-1mamba
- automatic update by autodist
* Tue Oct 06 2009 Automatic Build System <autodist@mambasoft.it> 5.832-1mamba
- automatic update by autodist
* Mon Aug 24 2009 Automatic Build System <autodist@mambasoft.it> 5.831-1mamba
- automatic update by autodist
* Mon Jul 27 2009 Automatic Build System <autodist@mambasoft.it> 5.830-1mamba
- automatic update by autodist
* Tue Jul 14 2009 Automatic Build System <autodist@mambasoft.it> 5.829-1mamba
- automatic update by autodist
* Fri Jul 03 2009 Automatic Build System <autodist@mambasoft.it> 5.828-1mamba
- automatic update by autodist
* Tue Jun 23 2009 Automatic Build System <autodist@mambasoft.it> 5.827-1mamba
- automatic update by autodist
* Sat May 09 2009 Automatic Build System <autodist@mambasoft.it> 5.826-1mamba
- automatic update by autodist
* Tue Mar 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 5.825-1mamba
- automatic update by autodist
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 5.823-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.814-2mamba
- automatic rebuild by autodist
* Sat Jul 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 5.814-1mamba
- update to 5.814
* Sun Oct 30 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 5.803-2qilnx
- update script as noarch
* Wed Jan 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 5.803-1qilnx
- update to version 5.803 by autospec
* Thu Feb 12 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 5.76-1qilnx
- First build