commit ff3edc92fd146b269007c33f36c211ff539fb2d5 Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu Jan 6 11:11:24 2011 +0100 Import. perl-Regexp-IPv6.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) --- diff --git a/perl-Regexp-IPv6.spec b/perl-Regexp-IPv6.spec new file mode 100644 index 0000000..e371dc0 --- /dev/null +++ b/perl-Regexp-IPv6.spec @@ -0,0 +1,51 @@ +Name: perl-Regexp-IPv6 +Version: 0.03 +Release: 1%{?dist} +Summary: Regular expression for IPv6 addresses +License: GPLv2+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Regexp-IPv6/ +Source0: http://www.cpan.org/authors/id/S/SA/SALVA/Regexp-IPv6-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module exports the $IPv6_re regular expression that matches any valid +IPv6 address as described in "RFC 2373 - 2.2 Text Representation of +Addresses" but ::. Any string not compliant with such RFC will be rejected. + +%prep +%setup -q -n Regexp-IPv6-%{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 \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Dec 21 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> 0.03-1 +- Initial Fedora package. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel