1 Summary: Library to find what country an IP address or hostnames originate from
2 Summary(pl): Biblioteka do sprawdzenia z jakiego kraju pochodzi adres IP lub domena
8 Source0: http://www.maxmind.com/download/geoip/api/c/%{name}-%{version}.tar.gz
9 # Source0-md5: f3e2afcb08b5fb4162a00ac87207f989
10 # note: "c" is a filename, do not add '/'
11 URL: http://www.maxmind.com/app/c
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: libtool
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 GeoIP is a C library that enables the user to find the country that
20 any IP address or hostname originates from. It uses a file based
21 database that is accurate as of March 2003. This database simply
22 contains IP blocks as keys, and countries as values. This database
23 should be more complete and accurate than using reverse DNS lookups.
24 Commercial databases and automatic update services are available from
25 http://www.maxmind.com/.
27 This library can be used to automatically select the geographically
28 closest mirror, to analyze your web server logs to determine the
29 countries of your visitors, for credit card fraud detection, and for
30 software export controls.
33 GeoIP jest bibliotek± napisan± w C umo¿liwiaj±c± u¿ytkownikowi
34 odnalezienie pañstwa, z którego pochodzi dany adres IP lub domena.
35 U¿ywa do tego zapisanej w pliku bazy danych (z marca 2003). W bazie
36 tej adresy IP s± kluczami, a pañstwa warto¶ciami. Powinna ona byæ
37 dok³adniejsza ni¿ sprawdzanie odwrotnego DNS. Komercyjne bazy oraz
38 us³ugi automatycznych aktualizacji dostêpne s± na stronie
39 http://www.maxmind.com/.
41 Ta biblioteka mo¿e byæ u¿ywana do automatycznego wyboru najbli¿szego
42 geograficznie mirrora, analizy logów serwera WWW w celu okre¶lenia
43 kraju, z którego pochodz± odwiedzaj±cy, do wykrywania oszustw
44 dotycz±cych kart kredytowych oraz kontroli eksportu oprogramowania.
47 Summary: Header files for GeoIP library
48 Summary(pl): Pliki nag³ówkowe biblioteki GeoIP
49 Group: Development/Libraries
50 Requires: %{name} = %{version}
53 Header files for GeoIP library.
55 %description devel -l pl
56 Pliki nag³ówkowe biblioteki GeoIP.
59 Summary: Static GeoIP library
60 Summary(pl): Statyczna biblioteka GeoIP
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}
67 %description static -l pl
68 Statyczna biblioteka GeoIP.
85 rm -rf $RPM_BUILD_ROOT
88 DESTDIR=$RPM_BUILD_ROOT
91 rm -rf $RPM_BUILD_ROOT
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog README TODO
99 %attr(755,root,root) %{_bindir}/*
100 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
102 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/GeoIP.conf
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
112 %defattr(644,root,root,755)