perl-Net-Server/perl-Net-Server.spec

Name: perl-Net-Server
Summary: Perl module that implements an extensible, general Perl server engine
Version: 2.008
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-Server/
Description: perl-Net-Server is a Perl module that implements an extensible, general Perl server engine.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Paul Seamons <perl$seamons,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Net-Server

Summary: Perl module that implements an extensible, general Perl server engine
Name: perl-Net-Server
Version: 2.008
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-Server/

#Source: http://www.cpan.org/modules/by-module/Net/Net-Server-%{version}.tar.gz
Source:	http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl >= 0:5.00503
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl >= 0:5.00503

%description
perl-Net-Server is a Perl module that implements an extensible,
general Perl server engine.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

### Clean up docs
find examples/ -type f -exec %{__chmod} a-x {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README examples/
%doc %{_mandir}/man3/*.3pm*
%doc %{_mandir}/man1/net-server.1*
%{_bindir}/net-server
%dir %{perl_vendorlib}/Net/
%{perl_vendorlib}/Net/Server/
%{perl_vendorlib}/Net/Server.pm
%{perl_vendorlib}/Net/Server.pod

%changelog
* Fri Apr 29 2016 Dries Verachtert <dries.verachtert@dries.eu> - 2.008-1
- Updated to release 2.008.

* Tue Sep 07 2010 David Hrbáč <david@hrbac.cz> - 0.99-1
- new upstream release

* Tue Aug 07 2007 Dag Wieers <dag@wieers.com> - 0.97-1
- Updated to release 0.97.
- Disabled auto-requires for examples/.

* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 0.96-1
- Updated to release 0.96.

* Tue Feb 20 2007 Dag Wieers <dag@wieers.com> - 0.95-1
- Updated to release 0.95.

* Thu Jul 13 2006 Dag Wieers <dag@wieers.com> - 0.94-1
- Updated to release 0.94.

* Sat Apr 15 2006 Dag Wieers <dag@wieers.com> - 0.93-1
- Updated to release 0.93.

* Wed Jan 11 2006 Dag Wieers <dag@wieers.com> - 0.90-1
- Updated to release 0.90.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 0.88-1
- Updated to release 0.88.

* Tue Mar 29 2005 Dag Wieers <dag@wieers.com> - 0.87-1
- Updated to release 0.87.

* Tue Feb 03 2004 Dag Wieers <dag@wieers.com> - 0.86-0
- Updated to release 0.86.

* Mon Jul 14 2003 Dag Wieers <dag@wieers.com> - 0.85-0
- Updated to release 0.85.

* Sun Jan 26 2003 Dag Wieers <dag@wieers.com> - 0.84-0
- Initial package. (using DAR)