]> git.pld-linux.org Git - packages/geotool.git/blob - geotool.spec
- use /usr/share/GeoIP/GeoIP.dat if none specified
[packages/geotool.git] / geotool.spec
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
3 Name:           geotool
4 Version:        0.9.1
5 Release:        2
6 License:        GPL
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
15 Requires:       GeoIP
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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).
22
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).
27
28 %prep
29 %setup -q -n %{name}-%{version}-src
30 %patch0 -p1
31 %patch1 -p1
32 %patch2 -p1
33
34 %build
35 cd src
36 %configure
37 %{__make} \
38         CC="%{__cc}" \
39         CFLAGS="%{rpmcflags}" \
40         LDFLAGS="%{rpmldflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -D src/geotool $RPM_BUILD_ROOT%{_bindir}/%{name}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc changes.html readme.html
52 %attr(755,root,root) %{_bindir}/*
This page took 0.078358 seconds and 3 git commands to generate.