1 | Name: GeoIP |
---|
2 | Version: 1.4.8 |
---|
3 | Release: 3%{?_dist_release} |
---|
4 | Summary: C library for country/city/organization to IP address or hostname mapping |
---|
5 | Group: Development/Libraries |
---|
6 | License: LGPLv2+ |
---|
7 | URL: http://www.maxmind.com/app/c |
---|
8 | Source0: http://www.maxmind.com/download/geoip/api/c/GeoIP-%{version}.tar.gz |
---|
9 | Source1: LICENSE.txt |
---|
10 | Source2: fetch-geoipdata-city.pl |
---|
11 | Source3: fetch-geoipdata.pl |
---|
12 | Source4: README.Fedora |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
14 | Obsoletes: geoip < %{version}-%{release} |
---|
15 | Provides: geoip = %{version}-%{release} |
---|
16 | BuildRequires: zlib-devel |
---|
17 | |
---|
18 | Vendor: Project Vine |
---|
19 | Distribution: Vine Linux |
---|
20 | Packager: tomop |
---|
21 | |
---|
22 | %description |
---|
23 | GeoIP is a C library that enables the user to find the country that any IP |
---|
24 | address or hostname originates from. It uses a file based database that is |
---|
25 | accurate as of March 2003. This database simply contains IP blocks as keys, and |
---|
26 | countries as values. This database should be more complete and accurate than |
---|
27 | using reverse DNS lookups. |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Development headers and libraries for GeoIP |
---|
31 | Group: Development/Libraries |
---|
32 | Requires: %{name} = %{version}-%{release} |
---|
33 | Provides: geoip-devel = %{version}-%{release} |
---|
34 | Obsoletes: geoip-devel < %{version}-%{release} |
---|
35 | |
---|
36 | %description devel |
---|
37 | Development headers and libraries for building GeoIP-based applications |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q |
---|
41 | install -D -m644 %{SOURCE1} LICENSE.txt |
---|
42 | install -D -m644 %{SOURCE2} fetch-geoipdata-city.pl |
---|
43 | install -D -m644 %{SOURCE3} fetch-geoipdata.pl |
---|
44 | install -D -m644 %{SOURCE4} README.fedora |
---|
45 | |
---|
46 | %build |
---|
47 | autoreconf -ivf |
---|
48 | %configure --disable-static --disable-dependency-tracking |
---|
49 | make %{?_smp_mflags} |
---|
50 | |
---|
51 | %install |
---|
52 | rm -rf %{buildroot} |
---|
53 | make DESTDIR=%{buildroot} install |
---|
54 | |
---|
55 | # nix the stuff we don't need like .la files. |
---|
56 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
57 | |
---|
58 | %clean |
---|
59 | rm -rf %{buildroot} |
---|
60 | |
---|
61 | %post -p /sbin/ldconfig |
---|
62 | |
---|
63 | %postun -p /sbin/ldconfig |
---|
64 | |
---|
65 | %files |
---|
66 | %defattr(-,root,root,-) |
---|
67 | %doc AUTHORS COPYING ChangeLog README TODO INSTALL LICENSE* fetch-* |
---|
68 | %{_libdir}/libGeoIP.so.* |
---|
69 | %{_libdir}/libGeoIPUpdate.so.* |
---|
70 | %{_bindir}/geoiplookup6 |
---|
71 | %{_bindir}/geoiplookup |
---|
72 | %{_bindir}/geoipupdate |
---|
73 | %config(noreplace) %{_sysconfdir}/GeoIP.conf.default |
---|
74 | %config(noreplace) %{_sysconfdir}/GeoIP.conf |
---|
75 | %{_datadir}/GeoIP |
---|
76 | %{_mandir}/man1/geoiplookup.1* |
---|
77 | %{_mandir}/man1/geoiplookup6.1* |
---|
78 | %{_mandir}/man1/geoipupdate.1* |
---|
79 | |
---|
80 | %files devel |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %{_includedir}/GeoIP.h |
---|
83 | %{_includedir}/GeoIPCity.h |
---|
84 | %{_includedir}/GeoIPUpdate.h |
---|
85 | %{_libdir}/libGeoIP.so |
---|
86 | %{_libdir}/libGeoIPUpdate.so |
---|
87 | |
---|
88 | %changelog |
---|
89 | * Mon Oct 08 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3 |
---|
90 | - initial build for Vine Linux. |
---|
91 | |
---|
92 | * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2.1 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
94 | |
---|
95 | * Tue Sep 6 2011 Michael Fleming <mfleming+rpm@thatfleminggent.com> - 1.4.8-1.1 |
---|
96 | - Remove -ipv6 path |
---|
97 | - Bump to 1.4.8 release |
---|
98 | |
---|
99 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-0.2.20090931cvs |
---|
100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
101 | |
---|
102 | * Mon Aug 31 2009 Matt Domsch <mdomsch@fedoraproject.org> - 1.4.7.0.1.20090931 |
---|
103 | - apply CVS HEAD 20090931 which includes IPv6 functions |
---|
104 | |
---|
105 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.6-2 |
---|
106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
107 | |
---|
108 | * Sun Mar 08 2009 Michael Fleming <mfleming+rpm@enlartenment.com> - 1.4.6-1 |
---|
109 | - Add geoiplookup6 man page |
---|
110 | - Update to 1.4.6 |
---|
111 | |
---|
112 | * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-3 |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
114 | |
---|
115 | * Sat Nov 29 2008 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.5-2 |
---|
116 | - Update to 1.4.5 |
---|
117 | - Fix database URL locations in Perl helper scripts |
---|
118 | |
---|
119 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4.4-2 |
---|
120 | - Autorebuild for GCC 4.3 |
---|
121 | |
---|
122 | * Mon Jan 28 2008 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.4-1 |
---|
123 | - New upstream release. |
---|
124 | |
---|
125 | * Wed Sep 5 2007 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.3-1 |
---|
126 | - New upstream release. |
---|
127 | - Fix GeoIPCity fetcher script |
---|
128 | - Update License tag |
---|
129 | |
---|
130 | * Mon Feb 12 2007 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.2-1 |
---|
131 | - New upstream release. |
---|
132 | |
---|
133 | * Mon Jan 8 2007 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.1-2 |
---|
134 | - License is actually LGPL now. |
---|
135 | |
---|
136 | * Sun Jan 7 2007 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.1-1 |
---|
137 | - New upstream release |
---|
138 | - Add fetch-geoipdata* scripts to pull free databases automatically if |
---|
139 | desired (bz #198137) |
---|
140 | - README.fedora added to briefly explain above. |
---|
141 | |
---|
142 | * Mon Nov 27 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.0-4 |
---|
143 | - Fix %%install scripts to satisfy newer mock builds |
---|
144 | |
---|
145 | * Sun Sep 3 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.4.0-3 |
---|
146 | - Upstream upgrade |
---|
147 | - Added LICENSE.txt file to %%doc, covering GeoIP country/city data license |
---|
148 | (bz #198137) |
---|
149 | |
---|
150 | * Mon May 15 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.3.17-1 |
---|
151 | - New upstream release (minor fixes) |
---|
152 | |
---|
153 | * Mon May 1 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.3.16-1 |
---|
154 | - New upstream release |
---|
155 | - Add INSTALL document to package. |
---|
156 | |
---|
157 | * Sat Feb 18 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.3.14-3 |
---|
158 | - Fix Obsoletes/Provides for old "geoip"-convention packages |
---|
159 | - Move .so symlinks to -devel where they should be |
---|
160 | |
---|
161 | * Fri Feb 10 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.3.14-2 |
---|
162 | - Remamed to match upstream tarball name |
---|
163 | - Removed static libraries |
---|
164 | - Added symlinks to packages |
---|
165 | - Mark config file noreplace |
---|
166 | |
---|
167 | * Sun Feb 5 2006 Michael Fleming <mfleming+rpm@enlartenment.com> 1.3.14-1 |
---|
168 | - Initial review package for Extras |
---|