From ed69a07e82e20fc7ed80919582d8d4d419fa5767 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Thu, 18 Jan 2007 22:02:24 +0000 Subject: [PATCH] auto-import perl-Net-Domain-TLD-1.65-1.fc7 on branch devel from perl-Net-Domain-TLD-1.65-1.fc7.src.rpm --- .cvsignore | 1 + perl-Net-Domain-TLD.spec | 46 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 48 insertions(+) create mode 100644 perl-Net-Domain-TLD.spec diff --git a/.cvsignore b/.cvsignore index e69de29..0518b19 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Net-Domain-TLD-1.65.tar.gz diff --git a/perl-Net-Domain-TLD.spec b/perl-Net-Domain-TLD.spec new file mode 100644 index 0000000..f7a92ac --- /dev/null +++ b/perl-Net-Domain-TLD.spec @@ -0,0 +1,46 @@ +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 1.65-1 +- initial package for Fedora Extras diff --git a/sources b/sources index e69de29..a062496 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b9c709d4323146e440c55ed5f4a7ab0f Net-Domain-TLD-1.65.tar.gz