|
|
7497afc |
%global cpan_name Geo-IPfree
|
|
|
8d29cdd |
%global cpan_version 1.143630
|
|
|
7497afc |
%global cpan_author BRICAS
|
|
|
0f0ae20 |
Name: perl-%{cpan_name}
|
|
|
7497afc |
Version: %(echo '%cpan_version' | sed 's/^\([0-9]\{1,\}\)\./\1\n/' | sed '2 s/\(.\)/.\1/g' | sed '1N;s/\n//')
|
|
|
8d29cdd |
Release: 1%{?dist}
|
|
|
0f0ae20 |
Summary: Look up the country of an IPv4 Address
|
|
Allisson Azevedo |
ab34d9d |
License: GPL+ or Artistic
|
|
Allisson Azevedo |
ab34d9d |
Group: Development/Libraries
|
|
|
0f0ae20 |
URL: http://search.cpan.org/dist/%{cpan_name}/
|
|
|
7497afc |
Source0: http://www.cpan.org/authors/id/%(echo '%{cpan_author}' | sed 's=\(.\)\(.\)=\1/\1\2/\1\2=')/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Allisson Azevedo |
ab34d9d |
BuildArch: noarch
|
|
|
796f904 |
BuildRequires: perl
|
|
|
7497afc |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
3cdaaf4 |
BuildRequires: perl(strict)
|
|
|
3cdaaf4 |
BuildRequires: perl(warnings)
|
|
|
7497afc |
# Run-time:
|
|
|
a6862f6 |
BuildRequires: perl(Carp)
|
|
|
a6862f6 |
BuildRequires: perl(Exporter)
|
|
|
0f0ae20 |
BuildRequires: perl(Memoize)
|
|
|
3cdaaf4 |
# Socket not used
|
|
|
8c46e8a |
# Tests only:
|
|
Allisson Azevedo |
ab34d9d |
BuildRequires: perl(Test::More) >= 0.47
|
|
|
a6862f6 |
# Optional tests:
|
|
|
8c46e8a |
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
8c46e8a |
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|
|
796f904 |
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
3cdaaf4 |
Requires: perl(Socket)
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%description
|
|
|
0f0ae20 |
This package comes with it's own database to look up the IPv4's country, and
|
|
Allisson Azevedo |
ab34d9d |
is totally free.
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%prep
|
|
|
0f0ae20 |
%setup -q -n %{cpan_name}-%{cpan_version}
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%build
|
|
|
796f904 |
perl Makefile.PL INSTALLDIRS=vendor
|
|
Allisson Azevedo |
ab34d9d |
make %{?_smp_mflags}
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%install
|
|
|
796f904 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
Allisson Azevedo |
ab34d9d |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
Allisson Azevedo |
ab34d9d |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%check
|
|
Allisson Azevedo |
ab34d9d |
make test
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%files
|
|
|
0f0ae20 |
%doc Changes misc README
|
|
Allisson Azevedo |
ab34d9d |
%{perl_vendorlib}/*
|
|
Allisson Azevedo |
ab34d9d |
%{_mandir}/man3/*
|
|
Allisson Azevedo |
ab34d9d |
|
|
Allisson Azevedo |
ab34d9d |
%changelog
|
|
|
8d29cdd |
* Wed Feb 18 2015 Petr Pisar <ppisar@redhat.com> - 1.1.4.3.6.3.0-1
|
|
|
8d29cdd |
- 1.143630 bump
|
|
|
8d29cdd |
|
|
|
162bc36 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1.4.1.6.7.0-2
|
|
|
162bc36 |
- Perl 5.20 rebuild
|
|
|
162bc36 |
|
|
|
af98fa1 |
* Tue Jul 01 2014 Petr Pisar <ppisar@redhat.com> - 1.1.4.1.6.7.0-1
|
|
|
af98fa1 |
- 1.141670 bump
|
|
|
af98fa1 |
|
|
|
72e842e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3.2.8.7.0-2
|
|
|
72e842e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
72e842e |
|
|
|
07fdcb5 |
* Tue Nov 12 2013 Petr Pisar <ppisar@redhat.com> - 1.1.3.2.8.7.0-1
|
|
|
07fdcb5 |
- 1.132870 bump
|
|
|
07fdcb5 |
|
|
|
3ace47f |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3.1.6.5.0-3
|
|
|
3ace47f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
3ace47f |
|
|
|
7dbe81e |
* Fri Jul 19 2013 Petr Pisar <ppisar@redhat.com> - 1.1.3.1.6.5.0-2
|
|
|
7dbe81e |
- Perl 5.18 rebuild
|
|
|
7dbe81e |
|
|
|
3cdaaf4 |
* Wed Jun 26 2013 Petr Pisar <ppisar@redhat.com> - 1.1.3.1.6.5.0-1
|
|
|
3cdaaf4 |
- 1.131650 bump
|
|
|
3cdaaf4 |
|
|
|
796f904 |
* Fri May 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.3.0.4.5.0-1
|
|
|
796f904 |
- 1.130450 bump
|
|
|
796f904 |
|
|
|
ae42daa |
* Wed Feb 13 2013 Petr Pisar <ppisar@redhat.com> - 1.1.3.0.1.1.0-1
|
|
|
ae42daa |
- 1.130110 bump
|
|
|
ae42daa |
|
|
|
2064dca |
* Tue Oct 23 2012 Petr Pisar <ppisar@redhat.com> - 1.1.2.2.8.8.0-1
|
|
|
2064dca |
- 1.122880 bump
|
|
|
2064dca |
|
|
|
5745d08 |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2.1.6.6.0-2
|
|
|
5745d08 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
5745d08 |
|
|
|
1a4f53e |
* Fri Jul 13 2012 Petr Pisar <ppisar@redhat.com> - 1.1.2.1.6.6.0-1
|
|
|
1a4f53e |
- 1.121660 bump
|
|
|
1a4f53e |
|
|
|
116823a |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 1.1.2.0.4.6.0-2
|
|
|
116823a |
- Perl 5.16 rebuild
|
|
|
116823a |
|
|
|
7497afc |
* Tue Mar 20 2012 Petr Pisar <ppisar@redhat.com> - 1.1.2.0.4.6.0-1
|
|
|
7497afc |
- 1.1.2.0.4.6.0 bump
|
|
|
7497afc |
|
|
|
80afa1d |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1.2.8.7.0-2
|
|
|
80afa1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
80afa1d |
|
|
|
a6862f6 |
* Wed Oct 26 2011 Petr Pisar <ppisar@redhat.com> - 1.1.1.2.8.7.0-1
|
|
|
a6862f6 |
- 1.112870 bump
|
|
|
2941acc |
- Remove BuildRoot and defattr from spec code
|
|
|
a6862f6 |
|
|
|
9dbf795 |
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1.0.2.8.7.0-4
|
|
|
9dbf795 |
- Perl mass rebuild
|
|
|
9dbf795 |
|
|
|
043da63 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0.2.8.7.0-3
|
|
|
043da63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
043da63 |
|
|
|
8c46e8a |
* Mon Nov 08 2010 Petr Pisar <ppisar@redhat.com> - 1.1.0.2.8.7.0-2
|
|
|
8c46e8a |
- Add BuildRequires needed for tests
|
|
|
8c46e8a |
|
|
|
83aaade |
* Mon Nov 08 2010 Petr Pisar <ppisar@redhat.com> - 1.1.0.2.8.7.0-1
|
|
|
83aaade |
- 1.102870 bump
|
|
|
83aaade |
|
|
|
0f0ae20 |
* Wed Aug 11 2010 Petr Pisar <ppisar@redhat.com> - 1.1.0.1.6.5.0-1
|
|
|
0f0ae20 |
- 1.101650 bump
|
|
|
0f0ae20 |
- Experimental RPM-extensible version numbering
|
|
|
0f0ae20 |
|
|
|
d521cd3 |
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.4-5
|
|
|
d521cd3 |
- Mass rebuild with perl-5.12.0
|
|
|
d521cd3 |
|
|
|
09ae97f |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.4-4
|
|
|
09ae97f |
- rebuild against perl 5.10.1
|
|
|
09ae97f |
|
|
|
14e643d |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-3
|
|
|
14e643d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
14e643d |
|
|
|
038af88 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
|
|
|
038af88 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
038af88 |
|
|
Allisson Azevedo |
ab34d9d |
* Mon Feb 02 2009 Allisson Azevedo <allisson@gmail.com> 0.4-1
|
|
Allisson Azevedo |
ab34d9d |
- Initial rpm release.
|