perl 5.16 mass rebuild [release 0.44-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:23:52 +01:00
parent 6631e18019
commit 6538d70c8a
2 changed files with 91 additions and 0 deletions

View File

@ -1,2 +1,9 @@
# perl-Net-Daemon # perl-Net-Daemon
Net::Daemon is an abstract base class for implementing portable server applications in a very simple way.
The module is designed for Perl 5.005 and threads, but can work with fork() and Perl 5.004.
The Net::Daemon class offers methods for the most common tasks a daemon needs:
Starting up, logging, accepting clients, authorization, restricting its own environment for security and doing the true work.
You only have to override those methods that aren't appropriate for you, but typically inheriting will safe you a lot of work anyways.

84
perl-Net-Daemon.spec Normal file
View File

@ -0,0 +1,84 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Net-Daemon
Version: 0.44
Release: 2mamba
Summary: Net::Daemon - Perl extension for portable daemons
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/M/MN/MNOONING/Net-Daemon/Net-Daemon-%{version}.tar.gz
License: GPL, Artistic
Requires: perl >= %perl_major_ver
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel >= %perl_major_ver
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Net::Daemon is an abstract base class for implementing portable server applications in a very simple way.
The module is designed for Perl 5.005 and threads, but can work with fork() and Perl 5.004.
The Net::Daemon class offers methods for the most common tasks a daemon needs:
Starting up, logging, accepting clients, authorization, restricting its own environment for security and doing the true work.
You only have to override those methods that aren't appropriate for you, but typically inheriting will safe you a lot of work anyways.
%prep
%setup -q -n Net-Daemon
%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
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.44-2mamba
- perl 5.16 mass rebuild
* Thu Feb 24 2011 Automatic Build System <autodist@mambasoft.it> 0.44-1mamba
- automatic update by autodist
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43-3mamba
- automatic rebuild by autodist
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.43-2mamba
- automatic rebuild by autodist
* Sat May 31 2008 gil <puntogil@libero.it> 0.43-1mamba
- update to version 0.43 by autospec
* Wed Mar 08 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 0.39-1qilnx
- update to version 0.39 by autospec
- architecture changed to noarch
- fixed license
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.38-2qilnx
- rebuilt due to perl version check problems with apt
* Mon Oct 25 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 0.38-1qilnx
- package created by autospec (rebuilt after SRPM loss)