Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
perl-Net-Server
> perl-Net-Server.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Net-Server.spec of Package perl-Net-Server
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name Net-Server Summary: Net-Server module for perl Name: perl-Net-Server Version: 0.99 Release: 1 License: Artistic 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %if 0%{?redhat_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora_version} || 0%{?sl_version} BuildRequires: perl >= 0:5.00503 Requires: perl >= 0:5.00503 %else BuildRequires: perl Requires: perl %endif %description Net-Server module for perl %prep %setup -n %{real_name}-%{version} %build CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}" %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}" %install %{__rm} -rf %{buildroot} %__make DESTDIR=%{buildroot} install ### Clean up buildroot ### Clean up buildroot %{__rm} -rf %{buildroot}%{perl_archlib} \ %{buildroot}%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes README examples/ %doc %{_mandir}/man3/* %dir %{perl_vendorlib}/Net/ %{perl_vendorlib}/Net/Server.pod %{perl_vendorlib}/Net/Server/ %{perl_vendorlib}/Net/Server.pm %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release