8
0
Files
perl-Net-Server/perl-Net-Server.spec

110 lines
3.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Net-Server (Version 0.94)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Net-Server
URL: http://cpan.org/modules/by-module/Net/
License: Artistic License, GNU General Public License (GPL) - all versions
Group: Development/Libraries/Perl
Requires: perl = %{perl_version}
Autoreqprov: on
Summary: Net::Server - Extensible, general Perl server engine
Version: 0.94
Release: 9
Source: Net-Server-%{version}.tar.bz2
Requires: perl-IO-Multiplex
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
"Net::Server" attempts to be a generic server as in "Net::Daemon" and
"NetServer::Generic".
Authors:
--------
Paul T. Seamons <paul@seamons.com>
%prep
%setup -n Net-Server-%{version}
%build
perl Makefile.PL
make
make test
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_mandir}/man3/*
%doc README MANIFEST Changes
%doc examples
%dir %{perl_vendorlib}/Net
%{perl_vendorlib}/Net/Server.pm
%{perl_vendorlib}/Net/Server
%dir %{perl_vendorarch}/auto/Net
%{perl_vendorarch}/auto/Net/Server
/var/adm/perl-modules/perl-Net-Server
%changelog -n perl-Net-Server
* Tue Oct 24 2006 - anicka@suse.cz
- add perl-IO-Multiplex to Requires (#207466)
* Fri Sep 29 2006 - anicka@suse.cz
- update to 0.94
* Added the leave_children_open_on_hup flag which leaves
open connections open when the server is hupped.
* Allow for port, host, and proto to be passed as arrayrefs
to run and new.
* Allow for get sock info routines to use $peer->{client}
rather than STDIN which may not be set if
the "no_client_stdout" flag is set.
* Allow for duplicated STDIN and STDOUT to properly close.
* Add flag to disable all of the binding of client
to STDIN and STDOUT.
* Abstract shutdown_sockets method that is called at the end
of server_close (to allow for calling in other places).
* bugfixes
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 08 2005 - sf@suse.de
- update to 0.90
* Sun Jul 31 2005 - cthiel@suse.de
- update to version 0.88
- dropped perl-Net-Server-format-string.diff (fixed in 0.88)
* Wed Apr 20 2005 - sf@suse.de
- corrected patch for #78095 - VUL-0
* Mon Apr 18 2005 - sf@suse.de
- fix for #78095 - VUL-0
check for format string and create formatted string.
if there is no format string, just take the first string
* Thu Feb 26 2004 - choeger@suse.de
- update to most recent version 0.87
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 - choeger@suse.de
- use install_vendor and new %%perl_process_packlist macro
- updated to version 0.85
* Mon Jun 23 2003 - ro@suse.de
- added directories to filelist
* Mon May 26 2003 - ro@suse.de
- remove unpackaged files from buildroot
* Mon Dec 02 2002 - sf@suse.de
- initial version 0.84