]>
Commit | Line | Data |
---|---|---|
4b10347f | 1 | Summary: geotool - convert IP adress to country name using GeoIP |
8c957137 | 2 | Summary(pl.UTF-8): geotool - zamiana adresu IP na nazwę kraju przy użyciu GeoIP |
c008f965 | 3 | Name: geotool |
4 | Version: 0.9.1 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications/Text | |
8 | Source0: http://download.berlios.de/rsstool/%{name}-%{version}-src.tar.gz | |
9 | # Source0-md5: abe22863b4ba5061683cd3db660a82d8 | |
41a74ebf | 10 | Patch0: %{name}-lib64.patch |
f318bdd9 | 11 | URL: http://rsstool.y7.ath.cx/ |
c008f965 | 12 | BuildRequires: GeoIP-devel |
13 | Requires: GeoIP | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | geotool inserts countries into the output of numerous command line | |
18 | network tools, and reverses GeoIP.dat into a list of countries with | |
4b10347f | 19 | their IP ranges (guarding.p2p). |
c008f965 | 20 | |
9b3800fd JR |
21 | %description -l pl.UTF-8 |
22 | geotool wstawia nazwy krajów w wyjście wielu narzędzi sieciowych | |
23 | działających z linii poleceń oraz potrafi zamienić GeoIP.dat na listę | |
24 | krajów wraz z ich zakresami IP (guarding.p2p). | |
c008f965 | 25 | |
26 | %prep | |
27 | %setup -q -n %{name}-%{version}-src | |
41a74ebf | 28 | %patch0 -p1 |
c008f965 | 29 | |
30 | %build | |
31 | cd src | |
32 | %configure | |
33 | %{__make} | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -D src/geotool $RPM_BUILD_ROOT%{_bindir}/%{name} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc changes.html readme.html | |
45 | %attr(755,root,root) %{_bindir}/* |