1 Summary: geotool - convert IP adress to country name using GeoIP
2 Summary(pl.UTF-8): geotool - zamiana adresu IP na nazwę kraju przy użyciu GeoIP
7 Group: Applications/Text
8 Source0: http://download.berlios.de/rsstool/%{name}-%{version}-src.tar.gz
9 # Source0-md5: abe22863b4ba5061683cd3db660a82d8
10 Patch0: %{name}-lib64.patch
11 Patch1: %{name}-dbpath.patch
12 Patch2: %{name}-optflags.patch
13 URL: http://rsstool.y7.ath.cx/
14 BuildRequires: GeoIP-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 geotool inserts countries into the output of numerous command line
20 network tools, and reverses GeoIP.dat into a list of countries with
21 their IP ranges (guarding.p2p).
23 %description -l pl.UTF-8
24 geotool wstawia nazwy krajów w wyjście wielu narzędzi sieciowych
25 działających z linii poleceń oraz potrafi zamienić GeoIP.dat na listę
26 krajów wraz z ich zakresami IP (guarding.p2p).
29 %setup -q -n %{name}-%{version}-src
39 CFLAGS="%{rpmcflags}" \
40 LDFLAGS="%{rpmldflags}"
43 rm -rf $RPM_BUILD_ROOT
44 install -D src/geotool $RPM_BUILD_ROOT%{_bindir}/%{name}
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc changes.html readme.html
52 %attr(755,root,root) %{_bindir}/*