rpms/perl-NetAddr-IP/FC-5 perl-NetAddr-IP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andreas Thienemann (ixs) fedora-extras-commits at redhat.com
Wed May 16 21:01:34 UTC 2007


Author: ixs

Update of /cvs/extras/rpms/perl-NetAddr-IP/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13765/FC-5

Modified Files:
	.cvsignore sources 
Added Files:
	perl-NetAddr-IP.spec 
Log Message:
Initial import


--- NEW FILE perl-NetAddr-IP.spec ---
Name:           perl-NetAddr-IP
Version:        4.004
Release:        2%{?dist}
Summary:        Manages IPv4 and IPv6 addresses and subnets
License:        Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/NetAddr-IP/
Source0:        http://www.cpan.org/modules/by-module/NetAddr/NetAddr-IP-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module provides an object-oriented abstraction on top of IP addresses
or IP subnets, that allows for easy manipulations. Version 4.xx of
NetAdder::IP will will work older versions of Perl and does not use
Math::BigInt as in previous versions.

%prep
%setup -q -n NetAddr-IP-%{version}

# Fix UTF-8
iconv -f ISO_8859-1 -t UTF-8 -o tmp.pm IP.pm &&
mv -f tmp.pm IP.pm
iconv -f ISO_8859-1 -t UTF-8 -o tmp.pm Lite/Lite.pm &&
mv -f tmp.pm Lite/Lite.pm



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

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}

find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc Changes README TODO docs/rfc1884.txt
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/NetAddr*
%{_mandir}/man3/*

%changelog
* Thu Apr 26 2007 * Thu Apr 12 2007 Andreas Thienemann <andreas at bawue.net> 4.004-2
- Moar docs!

* Thu Apr 12 2007 Andreas Thienemann <andreas at bawue.net> 4.004-1
- Specfile autogenerated by cpanspec 1.69.1.
- Cleand up for FE


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-NetAddr-IP/FC-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 May 2007 20:29:11 -0000	1.1
+++ .cvsignore	16 May 2007 21:00:59 -0000	1.2
@@ -0,0 +1 @@
+NetAddr-IP-4.004.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-NetAddr-IP/FC-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 May 2007 20:29:11 -0000	1.1
+++ sources	16 May 2007 21:00:59 -0000	1.2
@@ -0,0 +1 @@
+4f0ef938abf0b1e43ca96fb0068381df  NetAddr-IP-4.004.tar.gz




More information about the fedora-extras-commits mailing list