SPECS: perl-NetAddr-IP-Lite.spec (NEW) - new

radek radek at pld-linux.org
Sun Jun 25 10:26:36 CEST 2006


Author: radek                        Date: Sun Jun 25 08:26:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-NetAddr-IP-Lite.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-NetAddr-IP-Lite.spec
diff -u /dev/null SPECS/perl-NetAddr-IP-Lite.spec:1.1
--- /dev/null	Sun Jun 25 10:26:36 2006
+++ SPECS/perl-NetAddr-IP-Lite.spec	Sun Jun 25 10:26:31 2006
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	NetAddr
+%define	pnam	IP-Lite
+Summary:	NetAddr::IP::Lite - Manages IPv4 and IPv6 addresses and subnets
+#Summary(pl):	
+Name:		perl-NetAddr-IP-Lite
+Version:	0.11
+Release:	1
+License:	Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	665137e41c565e774341fdf9b000accb
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides an object-oriented abstraction on top of IP
+addresses or IP subnets, that allows for easy manipulations. Most of
+the operations of NetAddr::IP are supported. This module will work
+older versions of Perl and does not use Math::BigInt.
+
+The internal representation of all IP objects is in 128 bit IPv6
+notation.  IPv4 and IPv6 objects may be freely mixed.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%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 Changes
+%{perl_vendorarch}/NetAddr/IP/*.pm
+%dir %{perl_vendorarch}/auto/NetAddr/IP/Util*
+%{perl_vendorarch}/auto/NetAddr/IP/*/*.ix
+%{perl_vendorarch}/auto/NetAddr/IP/*/*.al
+%attr(755,root,root) %{perl_vendorarch}/auto/NetAddr/IP/*/*.so
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/06/25 08:26:31  radek
+- new
+
================================================================


More information about the pld-cvs-commit mailing list