/[smeserver]/rpms/perl-Data-Validate-Domain/sme10/perl-Data-Validate-Domain.spec
ViewVC logotype

Contents of /rpms/perl-Data-Validate-Domain/sme10/perl-Data-Validate-Domain.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Mon Jul 11 20:19:34 2016 UTC (7 years, 10 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Data-Validate-Domain-0_12-1_el7_sme, HEAD
Changes since 1.1: +1 -1 lines
Remove beta tag from release

1 Name: perl-Data-Validate-Domain
2 Version: 0.12
3 Release: 1%{?dist}
4 Summary: Domain and host name validation
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/Data-Validate-Domain/
8 Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Data-Validate-Domain-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildArch: noarch
11 BuildRequires: perl(Exporter)
12 BuildRequires: perl(ExtUtils::MakeMaker)
13 BuildRequires: perl(File::Spec)
14 Requires: perl(Exporter)
15 Requires: perl(Net::Domain::TLD)
16 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18 %description
19 This module offers a few subroutines for validating domain and host names.
20
21 %prep
22 %setup -q -n Data-Validate-Domain-%{version}
23
24 %build
25 %{__perl} Makefile.PL INSTALLDIRS=vendor
26 make %{?_smp_mflags}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
32
33 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
34 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
35
36 %{_fixperms} $RPM_BUILD_ROOT/*
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(-,root,root,-)
43 %doc Changes CONTRIBUTING.md cpanfile dist.ini LICENSE META.json perlcriticrc perltidyrc README.md tidyall.ini
44 %{perl_vendorlib}/*
45 %{_mandir}/man3/*
46
47 %changelog
48 * Mon Jul 11 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.12-1
49 - First build using cpanspec

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed