rpms/perl-IP-Country/devel perl-IP-Country.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andreas Thienemann ixs at rpmfusion.org
Wed May 6 15:49:44 CEST 2009


Author: ixs

Update of /cvs/nonfree/rpms/perl-IP-Country/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17849

Modified Files:
	.cvsignore sources 
Added Files:
	perl-IP-Country.spec 
Log Message:
Initial Import


--- NEW FILE perl-IP-Country.spec ---
Name:           perl-IP-Country
Version:        2.26
Release:        2%{?dist}
Summary:        Fast lookup of country codes from IP addresses
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/IP-Country/
Source0:        http://www.cpan.org/modules/by-module/IP/IP-Country-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
IP::Country allows fast lookups of IP addresses and their corresponding
countries based on available regional NIC data.
Although the country of assignment will probably be the country associated
with a large ISP rather than the client herself, this is probably good 
enough for most log analysis applications, and under test has proved to be as
accurate as reverse-DNS and WHOIS lookup.


%package utils
Summary:        Utility to query and rebuild the IP::Country database
Group:          Applications/Internet
Requires:       %{name} = %{version}-%{release}

%description utils
ip2cc is a frontend to the IP::Country Perl module allowing fast lookups of
IP addresses and their corresponding countries based on available regional
NIC data.

ipcc_loader.pl can be used to rebuild the database with current dumps of
the RIPE/APNIC/ARIN et al data.

%prep
%setup -q -n IP-Country-%{version}
find -name '._*' | xargs rm -f

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


%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


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

%files utils
%defattr(-,root,root,-)
%doc dbmScripts INSTALL
%{_bindir}/ip2cc
%{_mandir}/man1/ip2cc.1*


%changelog
* Thu Feb 19 2009 Andreas Thienemann <andreas at bawue.net> 2.26-2
- Removed dotfiles, added %%defattr to -utils

* Thu Feb 19 2009 Andreas Thienemann <andreas at bawue.net> 2.26-1
- Updated to upstream release 2.26

* Mon Feb 18 2008 Andreas Thienemann <athienem at redhat.com> 2.23-1
- Specfile autogenerated by cpanspec 1.74.
- Fixed up for fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/perl-IP-Country/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 May 2009 13:45:22 -0000	1.1
+++ .cvsignore	6 May 2009 13:49:43 -0000	1.2
@@ -0,0 +1 @@
+IP-Country-2.26.tar.gz


Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/perl-IP-Country/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 May 2009 13:45:22 -0000	1.1
+++ sources	6 May 2009 13:49:43 -0000	1.2
@@ -0,0 +1 @@
+1e73ba39325d197627e16de024afae82  IP-Country-2.26.tar.gz



More information about the rpmfusion-commits mailing list