ppisar pushed to perl-AnyEvent-CacheDNS (master). "Import (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Jun 8 06:58:18 UTC 2015
From 7d3fb4f82e000c0ef116ed9f647ea210f3777da1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Mon, 8 Jun 2015 08:56:50 +0200
Subject: Import
Reviewed in <https://bugzilla.redhat.com/show_bug.cgi?id=1228217>.
diff --git a/.gitignore b/.gitignore
index e69de29..0dea6cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/AnyEvent-CacheDNS-0.08.tar.gz
diff --git a/perl-AnyEvent-CacheDNS.spec b/perl-AnyEvent-CacheDNS.spec
new file mode 100644
index 0000000..736c95e
--- /dev/null
+++ b/perl-AnyEvent-CacheDNS.spec
@@ -0,0 +1,49 @@
+Name: perl-AnyEvent-CacheDNS
+Version: 0.08
+Release: 1%{?dist}
+Summary: Simple DNS resolver with caching
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/AnyEvent-CacheDNS/
+Source0: http://www.cpan.org/authors/id/P/PO/POTYL/AnyEvent-CacheDNS-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(File::Spec::Functions)
+BuildRequires: perl(Module::Build) >= 0.40
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Run-time:
+BuildRequires: perl(AnyEvent::DNS)
+BuildRequires: perl(base)
+BuildRequires: perl(Data::Dumper)
+# Tests:
+BuildRequires: perl(AnyEvent)
+BuildRequires: perl(Test::More)
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+This Perl module provides a very simple DNS resolver that caches its results
+and can improve the connection times to remote hosts.
+
+%prep
+%setup -q -n AnyEvent-CacheDNS-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Thu Jun 04 2015 Petr Pisar <ppisar at redhat.com> 0.08-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..f0395fb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+84de6ea71fa94dec6ef6df72cc1c28df AnyEvent-CacheDNS-0.08.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-AnyEvent-CacheDNS.git/commit/?h=master&id=7d3fb4f82e000c0ef116ed9f647ea210f3777da1
More information about the perl-devel
mailing list