diff --git a/.gitignore b/.gitignore index e69de29..ed393cb 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Net-Server-SS-PreFork-0.05.tar.gz diff --git a/perl-Net-Server-SS-PreFork.spec b/perl-Net-Server-SS-PreFork.spec new file mode 100644 index 0000000..8ad4b36 --- /dev/null +++ b/perl-Net-Server-SS-PreFork.spec @@ -0,0 +1,56 @@ +Name: perl-Net-Server-SS-PreFork +Version: 0.05 +Release: 2%{?dist} +Summary: Hot-deployable variant of Net::Server::PreFork +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Net-Server-SS-PreFork/ +Source0: http://www.cpan.org/authors/id/K/KA/KAZUHO/Net-Server-SS-PreFork-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(HTTP::Server::Simple::CGI) +BuildRequires: perl(LWP::Simple) +BuildRequires: perl(Net::Server) +BuildRequires: perl(Server::Starter) +BuildRequires: perl(Test::TCP) + +# Temporary workabout around bug #719048 +BuildRequires: perl(CGI) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Net::Server::SS::PreFork is a Net::Server personality, extending +Net::Server::PreFork. It can be run by the start_server script of +Server::Starter. + +%prep +%setup -q -n Net-Server-SS-PreFork-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/Net +%{_mandir}/man3/Net* + +%changelog +* Tue Jul 05 2011 Emmanuel Seyman 0.05-2 +- Add perl(CGI) as a BuildRequires until brc #719048 is fixed. +- Use more explicit entries in the files stanza + +* Fri Jun 17 2011 Emmanuel Seyman 0.05-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ba5541d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4198d48d27353f60cc297178f86c216f Net-Server-SS-PreFork-0.05.tar.gz