[perl-Net-IP-Minimal] Initial import (#803423)
Petr Šabata
psabata at fedoraproject.org
Thu Mar 15 15:41:03 UTC 2012
commit 443ffa2ebaee2ea323cef13d2ac5b2432a91cdd5
Author: Petr Šabata <contyk at redhat.com>
Date: Thu Mar 15 16:37:09 2012 +0100
Initial import (#803423)
.gitignore | 1 +
perl-Net-IP-Minimal.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0bdd664 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-IP-Minimal-0.02.tar.gz
diff --git a/perl-Net-IP-Minimal.spec b/perl-Net-IP-Minimal.spec
new file mode 100644
index 0000000..2ba9487
--- /dev/null
+++ b/perl-Net-IP-Minimal.spec
@@ -0,0 +1,44 @@
+Name: perl-Net-IP-Minimal
+Version: 0.02
+Release: 1%{?dist}
+Summary: Minimal functions from Net::IP
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Net-IP-Minimal/
+Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Net-IP-Minimal-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Tests only
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Net::IP is very feature complete, but I found I was only using three of its
+functions and it uses quite a bit of memory.
+
+%prep
+%setup -q -n Net-IP-Minimal-%{version}
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes LICENSE README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Mar 14 2012 Petr Šabata <contyk at redhat.com> 0.02-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..8b3553d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+03dbb34d357cdeed993027bfd2fd4fd7 Net-IP-Minimal-0.02.tar.gz
More information about the scm-commits
mailing list