rpms/perl-Locale-SubCountry/devel perl-Locale-SubCountry.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Wed Jul 5 19:39:12 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-Locale-SubCountry/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16291/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Locale-SubCountry.spec 
Log Message:
auto-import perl-Locale-SubCountry-1.37-0.1.fc5 on branch devel from perl-Locale-SubCountry-1.37-0.1.fc5.src.rpm


--- NEW FILE perl-Locale-SubCountry.spec ---
Name:           perl-Locale-SubCountry
Version:        1.37 
Release:        0.1%{?dist}
Summary:        ISO 3166-2 two letter subcountry codes

Group:          Development/Libraries
License:        Artistic or GPL
URL:            http://search.cpan.org/dist/Locale-SubCountry
Source0: http://search.cpan.org/CPAN/authors/id/K/KI/KIMRYAN/Locale-SubCountry-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch 
BuildRequires:  perl
BuildRequires:  perl(Test::Pod), perl(Test::Pod::Coverage)
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module allows you to convert the full name for a countries administrative
region to the code commonly used for postal addressing. The reverse lookup can
also be done. Sub country codes are defined in "ISO 3166-2:1998, Codes for the
representation of names of countries and their subdivisions".

Sub countries are termed as states in the US and Australia, provinces in
Canada and counties in the UK and Ireland.

%prep
%setup -q -n Locale-SubCountry-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}

# make sure the man page is UTF-8...
cd blib/man3
iconv --from=ISO-8859-1 --to=UTF-8 Locale::SubCountry.3pm > new
mv new Locale::SubCountry.3pm


%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* Mon Jul  3 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.37-0.1
- add additional buildreq's

* Thu Jun 29 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.37-0
- Initial spec file for F-E


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Locale-SubCountry/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Jul 2006 19:39:02 -0000	1.1
+++ .cvsignore	5 Jul 2006 19:39:11 -0000	1.2
@@ -0,0 +1 @@
+Locale-SubCountry-1.37.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Locale-SubCountry/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Jul 2006 19:39:02 -0000	1.1
+++ sources	5 Jul 2006 19:39:11 -0000	1.2
@@ -0,0 +1 @@
+b6d365e2db967821c2f1fdfcf064cab6  Locale-SubCountry-1.37.tar.gz




More information about the fedora-extras-commits mailing list