forked from pool/perl-Net-IPv4Addr
81 lines
2.2 KiB
RPMSpec
81 lines
2.2 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Net-IPv4Addr (Version 0.10)
|
||
|
#
|
||
|
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-Net-IPv4Addr
|
||
|
License: GPL
|
||
|
Group: Development/Libraries/Perl
|
||
|
Provides: Net
|
||
|
Autoreqprov: on
|
||
|
Version: 0.10
|
||
|
Release: 6
|
||
|
Summary: Net::IPv4Addr Module for Perl
|
||
|
Url: http://search.cpan.org
|
||
|
Source: Net-IPv4Addr-%{version}.tar.gz
|
||
|
Patch0: Net-IPv4Addr-%{version}.dif
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
||
|
%description
|
||
|
Net::IPv4Addr provides functions for parsing IPv4 addresses both in
|
||
|
traditional address/netmask format and in the new CIDR format. There
|
||
|
are also methods for calculating the network and broadcast address and
|
||
|
also to see check if a given address is in a specific network.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Francis J. Lacoste <francis.lacoste@iNsu.COM>
|
||
|
|
||
|
%prep
|
||
|
%setup -n Net-IPv4Addr-%{version}
|
||
|
%patch0
|
||
|
|
||
|
%build
|
||
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||
|
make
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%install
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc ChangeLog README
|
||
|
%dir %{perl_vendorlib}/Net
|
||
|
%dir %{perl_vendorarch}/auto/Net
|
||
|
%dir %{perl_vendorarch}/auto/Net/IPv4Addr
|
||
|
%dir %{perl_vendorlib}/auto/Net
|
||
|
%dir %{perl_vendorlib}/auto/Net/IPv4Addr
|
||
|
%{perl_vendorlib}/Net/IPv4Addr.pm
|
||
|
%{perl_vendorarch}/auto/Net/IPv4Addr/.packlist
|
||
|
%{perl_vendorlib}/auto/Net/IPv4Addr/autosplit.ix
|
||
|
/usr/bin/ipv4calc
|
||
|
%doc %{_mandir}/man?/ipv4calc.1.gz
|
||
|
%doc %{_mandir}/man?/Net::IPv4Addr.3pm.gz
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog -n perl-Net-IPv4Addr
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Wed Sep 28 2005 - dmueller@suse.de
|
||
|
- add norootforbuild
|
||
|
* Wed Jun 08 2005 - ms@suse.de
|
||
|
- added GPL license according to the authors spec file (#86989)
|
||
|
* Wed Oct 20 2004 - ms@suse.de
|
||
|
- fixed filelist (perl_vendorlib)
|
||
|
* Thu Feb 26 2004 - ms@suse.de
|
||
|
- initial version of perl-Net-IPv4Addr (v0.10)
|