perl-IO-Socket-SSL/perl-IO-Socket-SSL.spec

162 lines
5.3 KiB
RPMSpec

%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-IO-Socket-SSL
Epoch: 1
Version: 1.999
Release: 1mamba
Summary: IO::Socket - A class implementing an object oriented interface to SSL sockets
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/IO-Socket-SSL-%{version}.tar.gz
License: GPL
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel
BuildRequires: perl-Net-SSLeay
## AUTOBUILDREQ-END
BuildRequires: perl-Net-LibIDN
BuildRequires: perl-IO-Socket-INET6
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A class implementing an object oriented interface to SSL sockets.
%prep
%setup -q -n IO-Socket-SSL-%{version}
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%ifnarch arm
# FIXME: t/core.t causes a perl process to go crazy (seen on kirkwood kernel/Guruplug server)
%make test
%endif
%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 -f $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}
%files -f .packlist
%defattr(-,root,root)
%changelog
* Tue Oct 14 2014 Automatic Build System <autodist@mambasoft.it> 1.999-1mamba
- automatic update by autodist
* Tue Sep 23 2014 Automatic Build System <autodist@mambasoft.it> 1.998-1mamba
- automatic update by autodist
* Sun Jul 13 2014 Automatic Build System <autodist@mambasoft.it> 1.997-1mamba
- automatic update by autodist
* Tue Jun 03 2014 Automatic Build System <autodist@mambasoft.it> 1.992-1mamba
- automatic update by autodist
* Fri May 30 2014 Automatic Build System <autodist@mambasoft.it> 1.991-1mamba
- automatic update by autodist
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 1.989-1mamba
- automatic update by autodist
* Fri Dec 27 2013 Automatic Build System <autodist@mambasoft.it> 1.962-1mamba
- automatic update by autodist
* Thu Sep 19 2013 Automatic Build System <autodist@mambasoft.it> 1.954-1mamba
- automatic update by autodist
* Thu Aug 15 2013 Automatic Build System <autodist@mambasoft.it> 1.953-1mamba
- automatic update by autodist
* Thu Jul 04 2013 Automatic Build System <autodist@mambasoft.it> 1.951-1mamba
- automatic version update by autodist
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 1.85-1mamba
- update to 1.85
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 1.831-1mamba
- automatic version update by autodist
* Sat Jan 12 2013 Automatic Build System <autodist@mambasoft.it> 1.81-1mamba
- automatic version update by autodist
* Wed Nov 28 2012 Automatic Build System <autodist@mambasoft.it> 1.79-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.77-2mamba
- perl 5.16 mass rebuild
* Tue Oct 09 2012 Automatic Build System <autodist@mambasoft.it> 1.77-1mamba
- automatic version update by autodist
* Mon Jun 18 2012 Automatic Build System <autodist@mambasoft.it> 1.76-1mamba
- automatic version update by autodist
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.44-1mamba
- automatic update by autodist
* Fri May 20 2011 Automatic Build System <autodist@mambasoft.it> 1.43_1-1mamba
- automatic update by autodist
* Tue Mar 08 2011 Automatic Build System <autodist@mambasoft.it> 1.39-1mamba
- automatic update by autodist
* Wed Feb 02 2011 Automatic Build System <autodist@mambasoft.it> 1.38-1mamba
- automatic update by autodist
* Thu Dec 16 2010 Automatic Build System <autodist@mambasoft.it> 1.37-1mamba
- automatic update by autodist
* Thu Dec 09 2010 Automatic Build System <autodist@mambasoft.it> 1.36-1mamba
- automatic update by autodist
* Fri Nov 12 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.34-2mamba
- rebuild with INSTALLDIRS=vendor
- build requires perl-IO-Socket-INET6
- do not disable the inet6 test
* Wed Nov 10 2010 Automatic Build System <autodist@mambasoft.it> 1.34-1mamba
- automatic update by autodist
* Wed Apr 14 2010 Automatic Build System <autodist@mambasoft.it> 1.33-1mamba
- automatic update by autodist
* Wed Oct 14 2009 Automatic Build System <autodist@mambasoft.it> 1.31-1mamba
- automatic update by autodist
* Mon Aug 24 2009 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
- automatic update by autodist
* Mon Jul 27 2009 Automatic Build System <autodist@mambasoft.it> 1.27-1mamba
- automatic update by autodist
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 1.26-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-3mamba
- automatic rebuild by autodist
* Sat Jul 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
- tests enabled
* Mon Jun 23 2008 Tiziana Ferro <tiziana.ferro@email.it> 1.13-1mamba
- update to 1.13
* Wed Jan 19 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.96-1qilnx
- package created by autospec