diff options
author | aredridel | 2004-01-12 19:55:17 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 52986d2acca23ef2929876feff5c508c819713da (patch) | |
tree | b45434c59ebc605455a941dfbc7824c7341e8202 | |
download | perl-Net-CIDR-Lite-52986d2acca23ef2929876feff5c508c819713da.zip perl-Net-CIDR-Lite-52986d2acca23ef2929876feff5c508c819713da.tar.gz |
- added
Changed files:
perl-Net-CIDR-Lite.spec -> 1.1
-rw-r--r-- | perl-Net-CIDR-Lite.spec | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/perl-Net-CIDR-Lite.spec b/perl-Net-CIDR-Lite.spec new file mode 100644 index 0000000..dbed226 --- /dev/null +++ b/perl-Net-CIDR-Lite.spec @@ -0,0 +1,40 @@ +%include /usr/lib/rpm/macros.perl +%define pdir Net +%define pnam CIDR-Lite +Summary: Net::CIDR::Lite - parse, manipulate and lookup IP network blocks +Name: perl-Net-CIDR-Lite +Version: 0.15 +Release: 1 +License: GPL +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: ecda840da7e401c96469e04083cc2af1 +BuildRequires: perl-devel >= 5.6.1 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Net::CIDR::Liste parses and understands IPv4 CIDR blocks. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README +%{perl_vendorlib}/Net/CIDR/Lite.pm +%{_mandir}/man3/* |