Name: perl-Mozilla-PublicSuffix Version: 0.1.19 Release: 1%{?dist} Summary: Get a domain name's public suffix via the Mozilla Public Suffix List License: MIT Group: Development/Libraries URL: http://search.cpan.org/dist/Mozilla-PublicSuffix/ Source0: http://www.cpan.org/authors/id/R/RS/RSIMOES/Mozilla-PublicSuffix-v%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: perl(URI) Requires: perl(URI) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a single function that returns the public suffix of a domain name by referencing a parsed copy of Mozilla's Public Suffix List. From the official website at http://publicsuffix.org/: %prep %setup -q -n Mozilla-PublicSuffix-v%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes effective_tld_names.dat LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Sep 02 2014 Dave Cross 0.1.19-1 - Specfile autogenerated by cpanspec 1.78.