Search
j0ke.net Open Build Service
>
Projects
>
internetx
>
perl-Net-subnets
> perl-Net-Subnets.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Net-Subnets.spec of Package perl-Net-subnets (Revision 2)
Currently displaying revision
2
,
show latest
Name: perl-Net-Subnets Version: 0.21 Release: 1 License: GPL Group: Development/Libraries/Perl Summary: Perl module Net::Subnets Summary(de): Perlmodul Net::Subnets URL: http://search.cpan.org/~sri/ Source0: Net-Subnets-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com BuildRequires: glibc-devel libgcc gcc gcc-c++ perl %if 0%{?fedora_version} >= 7 BuildRequires: perl-ExtUtils-MakeMaker %endif %description Very fast matches large lists of IP addresses against many CIDR subnets, calculates IP address ranges and provides a simple object oriented interface. %prep %setup -q -n Net-Subnets-%{version} perl Makefile.PL %__make %makeinstall DESTDIR=$RPM_BUILD_ROOT %if 0%{?suse_version} %perl_process_packlist %else find $RPM_BUILD_ROOT -name perllocal.pod -exec rm {} \; >/dev/null %endif cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* %if 0%{?suse_version} %files %doc Changes README /usr/share/man/man3/* %{perl_sitelib}/Net/Subnets.pm /var/adm/perl-modules/perl-Net-Subnets %ifarch %ix86 %{perl_sitelib}/i586-linux-thread-multi %endif %ifarch x86_64 %{perl_sitelib}/x86_64-linux-thread-multi %endif %else %files -f ../file.list.%{name} %endif %changelog * Mon Jan 21 2008 Carsten Schoene <cs@linux-administrator.com> - initial build of Net::Subnets perl package.