commit 9802326bdffd29c121bb46ed75025633b70420fe
Author: Elan Ruusamäe <[email protected]>
Date:   Sat Dec 6 20:59:13 2014 +0200

    new, version 1.70

 perl-Net-Domain-TLD.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)
---
diff --git a/perl-Net-Domain-TLD.spec b/perl-Net-Domain-TLD.spec
new file mode 100644
index 0000000..b0a3219
--- /dev/null
+++ b/perl-Net-Domain-TLD.spec
@@ -0,0 +1,60 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%define                pdir    PDIR
+%define                pnam    PNAM
+%include       /usr/lib/rpm/macros.perl
+Summary:       Work with TLD names
+Name:          perl-Net-Domain-TLD
+Version:       1.70
+Release:       1
+License:       GPL+ or Artistic
+Group:         Development/Libraries
+Source0:       
http://search.cpan.org/CPAN/authors/id/A/AL/ALEXP/Net-Domain-TLD-%{version}.tar.gz
+# Source0-md5: 025709d5c48461ff8b647254ac3cffbc
+URL:           http://search.cpan.org/dist/Net-Domain-TLD/
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Storable)
+BuildRequires: perl(base)
+BuildRequires: perl(constant)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The purpose of this module is to provide user with current list of
+available top level domain names including new ICANN additions and
+ccTLDs.
+
+%prep
+%setup -q -n Net-Domain-TLD-%{version}
+
+%build
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Net/Domain/TLD/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Net/Domain/TLD.pm
+%{_mandir}/man3/Net::Domain::TLD.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Net-Domain-TLD.git/commitdiff/9802326bdffd29c121bb46ed75025633b70420fe

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to