Name: perl-Data-Validate-Domain Version: 0.12 Release: 1%{?dist} Summary: Domain and host name validation License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Validate-Domain/ Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Data-Validate-Domain-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) Requires: perl(Exporter) Requires: perl(Net::Domain::TLD) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module offers a few subroutines for validating domain and host names. %prep %setup -q -n Data-Validate-Domain-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes CONTRIBUTING.md cpanfile dist.ini LICENSE META.json perlcriticrc perltidyrc README.md tidyall.ini %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jul 11 2016 Daniel Berteaud - 0.12-1 - First build using cpanspec