]> git.pld-linux.org Git - packages/geotool.git/blame - geotool.spec
- use /usr/share/GeoIP/GeoIP.dat if none specified
[packages/geotool.git] / geotool.spec
CommitLineData
4b10347f 1Summary: geotool - convert IP adress to country name using GeoIP
8c957137 2Summary(pl.UTF-8): geotool - zamiana adresu IP na nazwę kraju przy użyciu GeoIP
c008f965 3Name: geotool
4Version: 0.9.1
92a68ea0 5Release: 2
c008f965 6License: GPL
7Group: Applications/Text
8Source0: http://download.berlios.de/rsstool/%{name}-%{version}-src.tar.gz
9# Source0-md5: abe22863b4ba5061683cd3db660a82d8
41a74ebf 10Patch0: %{name}-lib64.patch
92a68ea0
ER
11Patch1: %{name}-dbpath.patch
12Patch2: %{name}-optflags.patch
f318bdd9 13URL: http://rsstool.y7.ath.cx/
c008f965 14BuildRequires: GeoIP-devel
15Requires: GeoIP
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19geotool inserts countries into the output of numerous command line
20network tools, and reverses GeoIP.dat into a list of countries with
4b10347f 21their IP ranges (guarding.p2p).
c008f965 22
9b3800fd
JR
23%description -l pl.UTF-8
24geotool wstawia nazwy krajów w wyjście wielu narzędzi sieciowych
25działających z linii poleceń oraz potrafi zamienić GeoIP.dat na listę
26krajów wraz z ich zakresami IP (guarding.p2p).
c008f965 27
28%prep
29%setup -q -n %{name}-%{version}-src
41a74ebf 30%patch0 -p1
92a68ea0
ER
31%patch1 -p1
32%patch2 -p1
c008f965 33
34%build
35cd src
36%configure
92a68ea0
ER
37%{__make} \
38 CC="%{__cc}" \
39 CFLAGS="%{rpmcflags}" \
40 LDFLAGS="%{rpmldflags}"
c008f965 41
42%install
43rm -rf $RPM_BUILD_ROOT
44install -D src/geotool $RPM_BUILD_ROOT%{_bindir}/%{name}
45
46%clean
47rm -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.104194 seconds and 4 git commands to generate.