rpms/perl-Geography-Countries/FC-6 perl-Geography-Countries.spec, NONE, 1.1
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Wed Apr 4 21:57:19 UTC 2007
Author: spot
Update of /cvs/extras/rpms/perl-Geography-Countries/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10382/FC-6
Added Files:
perl-Geography-Countries.spec
Log Message:
--- NEW FILE perl-Geography-Countries.spec ---
Name: perl-Geography-Countries
Version: 1.4
Release: 1%{?dist}
Summary: 2-letter, 3-letter, and numerical codes for countries
Group: Development/Libraries
License: MIT
URL: http://search.cpan.org/dist/Geography-Countries/
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABIGAIL/Geography-Countries-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module maps country names, and their 2-letter, 3-letter and numerical
codes, as defined by the ISO-3166 maintenance agency, and defined by the UNSD.
%prep
%setup -q -n Geography-Countries-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
%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 ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{perl_vendorlib}/Geography
%{_mandir}/man3/*.3*
%changelog
* Mon Apr 2 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.4-1
- Initial package for Fedora
More information about the scm-commits
mailing list