2007-01-15 23:31:21 +00:00
|
|
|
#
|
2010-07-19 13:04:40 +00:00
|
|
|
# spec file for package perl-Net-Server (Version 0.99)
|
2007-01-15 23:31:21 +00:00
|
|
|
#
|
2010-01-11 17:05:48 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:31:21 +00:00
|
|
|
#
|
2009-06-18 15:09:30 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2007-01-15 23:31:21 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
2009-06-18 15:09:30 +00:00
|
|
|
|
2007-01-15 23:31:21 +00:00
|
|
|
Name: perl-Net-Server
|
2010-07-19 18:55:38 +00:00
|
|
|
%define cpan_name Net-Server
|
|
|
|
|
Summary: Extensible, general Perl server engine
|
2010-07-19 13:04:40 +00:00
|
|
|
Version: 0.99
|
2011-11-11 11:20:57 +00:00
|
|
|
Release: 4
|
2010-07-19 18:55:38 +00:00
|
|
|
License: CHECK(Distributable)
|
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
|
Url: http://search.cpan.org/dist/Net-Server/
|
|
|
|
|
#Source: http://www.cpan.org/modules/by-module/Net/Net-Server-%{version}.tar.gz
|
|
|
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
|
|
|
BuildArch: noarch
|
2007-01-15 23:31:21 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-03 14:44:39 +00:00
|
|
|
%{perl_requires}
|
2010-07-19 18:55:38 +00:00
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
|
BuildRequires: perl(IO::Socket)
|
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
BuildRequires: perl(Socket)
|
|
|
|
|
Requires: perl(IO::Socket)
|
|
|
|
|
Requires: perl(POSIX)
|
|
|
|
|
Requires: perl(Socket)
|
2007-01-15 23:31:21 +00:00
|
|
|
|
|
|
|
|
%description
|
2010-07-19 18:55:38 +00:00
|
|
|
Net::Server is an extensible, generic Perl server engine. Net::Server
|
|
|
|
|
combines the good properties from Net::Daemon (0.34), NetServer::Generic
|
|
|
|
|
(1.03), and Net::FTPServer (1.0), and also from various concepts in the
|
|
|
|
|
Apache Webserver.
|
2007-01-15 23:31:21 +00:00
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Paul T. Seamons <paul@seamons.com>
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-07-19 18:55:38 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2010-07-20 18:45:56 +00:00
|
|
|
# disable "dubious" failing test
|
|
|
|
|
%{__mv} t/Server_http.t t/Server_http.tt
|
2007-01-15 23:31:21 +00:00
|
|
|
|
|
|
|
|
%build
|
2010-07-19 18:55:38 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
2010-07-19 13:04:40 +00:00
|
|
|
|
|
|
|
|
%check
|
2010-07-19 18:55:38 +00:00
|
|
|
%{__make} test
|
2007-01-15 23:31:21 +00:00
|
|
|
|
|
|
|
|
%install
|
2010-07-19 18:55:38 +00:00
|
|
|
%perl_make_install
|
|
|
|
|
# do not perl_process_packlist (noarch)
|
|
|
|
|
# remove .packlist file
|
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
|
|
|
# remove perllocal.pod file
|
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
|
|
|
%perl_gen_filelist
|
2007-01-15 23:31:21 +00:00
|
|
|
|
|
|
|
|
%clean
|
2010-07-19 18:55:38 +00:00
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
2007-01-15 23:31:21 +00:00
|
|
|
|
2010-07-19 18:55:38 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README examples
|
2009-06-18 15:09:30 +00:00
|
|
|
|
2007-03-30 14:31:44 +00:00
|
|
|
%changelog
|