Search
j0ke.net Open Build Service
>
Projects
>
vhcs
>
perl-Net-CIDR-Lite
> perl-Net-CIDR-Lite.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File perl-Net-CIDR-Lite.spec of Package perl-Net-CIDR-Lite (Revision 4)
Currently displaying revision
4
,
show latest
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define real_name Net-CIDR-Lite Summary: Merge IPv4 or IPv6 CIDR addresses Name: perl-Net-CIDR-Lite Version: 0.20 Release: 1 License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/Net-CIDR-Lite/ Source: http://search.cpan.org/CPAN/authors/id/D/DO/DOUGW/Net-CIDR-Lite-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl %description Perl extension for merging IPv4 or IPv6 CIDR addresses. %prep %setup -n %{real_name}-%{version} %build 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 install -m 755 -d $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} cp README $RPM_BUILD_ROOT/usr/share/doc/packages/%{name} 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}* rm -rf ../file.list.%{name} %files -f ../file.list.%{name} %doc Changes README %changelog * Sun Apr 02 2006 VHCS Packager <vhcs@j0ke.net> - initial release