You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.3 KiB
47 lines
1.3 KiB
18 years ago
|
Name: perl-Net-Domain-TLD
|
||
|
Version: 1.65
|
||
|
Release: 1%{?dist}
|
||
|
Summary: Work with TLD names
|
||
|
Group: Development/Libraries
|
||
|
License: GPL or Artistic
|
||
|
URL: http://search.cpan.org/dist/Net-Domain-TLD
|
||
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AL/ALEXP/Net-Domain-TLD-%{version}.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
BuildArch: noarch
|
||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||
|
|
||
|
%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 %{?_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 -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%clean
|
||
|
rm -rf $RPM_BUILD_ROOT
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc Changes
|
||
|
%{perl_vendorlib}/Net
|
||
|
%{_mandir}/man3/*.3*
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.65-1
|
||
|
- initial package for Fedora Extras
|