[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/perl-Net-IPv4Addr/EL-5 perl-Net-IPv4Addr.spec, NONE, 1.1 sources, 1.1, 1.2



Author: sindrepb

Update of /cvs/extras/rpms/perl-Net-IPv4Addr/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30931

Modified Files:
	sources 
Added Files:
	perl-Net-IPv4Addr.spec 
Log Message:
add files to branch


--- NEW FILE perl-Net-IPv4Addr.spec ---
Name:           perl-Net-IPv4Addr
Version:        0.10
Release:        2%{?dist}
Summary:        Perl extension for manipulating IPv4 addresses

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Net-IPv4Addr/
Source0:        http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker), perl(Test::More)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%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.

%prep
%setup -q -n Net-IPv4Addr-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc ChangeLog README 
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man?/*


%changelog
* Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.10-2
- Add missing build dependencies
- Fix License
* Sat May 05 2007 Sindre Pedersen Bjørdal <foolish[AT]guezz.net> - 0.10-1
- Initial build


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Net-IPv4Addr/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 May 2007 05:46:46 -0000	1.1
+++ sources	6 May 2007 15:50:05 -0000	1.2
@@ -0,0 +1 @@
+57aa8e28ebcd4c0c9f15792740e53d3c  Net-IPv4Addr-0.10.tar.gz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]