3 %bcond_without tests # do not perform "make test"
7 Summary: Regexp::IPv6 - Regular expression for IPv6 addresses
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Regexp/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5: 892abe3f43eb0cc76283767f99a335e6
16 URL: http://search.cpan.org/dist/Regexp-IPv6/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module exports the $IPv6_re regular expression that matches any
26 valid IPv6 address as described in "RFC 2373 - 2.2 Text Representation
27 of Addresses" but ::. Any string not compliant with such RFC will
30 To match full strings use /^$IPv6_re$/.
34 # %description -l pl.UTF-8
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
50 %{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/Regexp/*.pm