]> git.pld-linux.org Git - packages/perl-Net-Domain-TLD.git/blame - perl-Net-Domain-TLD.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Net-Domain-TLD.git] / perl-Net-Domain-TLD.spec
CommitLineData
9802326b
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%define pdir PDIR
6%define pnam PNAM
9802326b
ER
7Summary: Work with TLD names
8Name: perl-Net-Domain-TLD
9Version: 1.70
d3178bec 10Release: 2
9802326b
ER
11License: GPL+ or Artistic
12Group: Development/Libraries
13Source0: http://search.cpan.org/CPAN/authors/id/A/AL/ALEXP/Net-Domain-TLD-%{version}.tar.gz
14# Source0-md5: 025709d5c48461ff8b647254ac3cffbc
15URL: http://search.cpan.org/dist/Net-Domain-TLD/
16BuildRequires: rpm-perlprov >= 4.1-13
17%if %{with autodeps} || %{with tests}
18BuildRequires: perl(Carp)
19BuildRequires: perl(Exporter)
20BuildRequires: perl(ExtUtils::MakeMaker)
21BuildRequires: perl(Storable)
22BuildRequires: perl(base)
23BuildRequires: perl(constant)
24BuildRequires: perl(strict)
25BuildRequires: perl(warnings)
26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31The purpose of this module is to provide user with current list of
32available top level domain names including new ICANN additions and
33ccTLDs.
34
35%prep
36%setup -q -n Net-Domain-TLD-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41%{__make}
42
43%{?with_tests:%{__make} test}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47%{__make} pure_install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Net/Domain/TLD/.packlist
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes
d3178bec 58%dir %{perl_vendorlib}/Net/Domain
9802326b
ER
59%{perl_vendorlib}/Net/Domain/TLD.pm
60%{_mandir}/man3/Net::Domain::TLD.3pm*
This page took 0.079424 seconds and 4 git commands to generate.