summaryrefslogtreecommitdiffstats
path: root/perl-NetAddr-IP-Find.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-NetAddr-IP-Find.spec')
-rw-r--r--perl-NetAddr-IP-Find.spec43
1 files changed, 43 insertions, 0 deletions
diff --git a/perl-NetAddr-IP-Find.spec b/perl-NetAddr-IP-Find.spec
new file mode 100644
index 0000000..2e065fb
--- /dev/null
+++ b/perl-NetAddr-IP-Find.spec
@@ -0,0 +1,43 @@
+Name: perl-NetAddr-IP-Find
+Version: 0.03
+Release: 1%{?dist}
+Summary: Find IP addresses in plain text
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/NetAddr-IP-Find/
+Source0: http://www.cpan.org/modules/by-module/NetAddr/NetAddr-IP-Find-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(NetAddr::IP)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This is a module for finding IP addresses in plain text.
+
+%prep
+%setup -q -n NetAddr-IP-Find-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+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
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Aug 02 2014 Ken Dreyer <ktdreyer@ktdreyer.com> 0.03-1
+- Specfile autogenerated by cpanspec 1.78.