]> git.pld-linux.org Git - packages/geotool.git/commitdiff
- use /usr/share/GeoIP/GeoIP.dat if none specified AC-branch master auto/ac/geotool-0_9_1-2
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 14 Jan 2008 22:53:59 +0000 (22:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- optflags; rel 2

Changed files:
    geotool.spec -> 1.7

geotool.spec

index 8ea90d557473d13735824b2c39f89be55f7ea264..74f7ac38c7f3b4853e9acc01c11719f448b2fbaf 100644 (file)
@@ -2,12 +2,14 @@ Summary:      geotool - convert IP adress to country name using GeoIP
 Summary(pl.UTF-8):     geotool - zamiana adresu IP na nazwę kraju przy użyciu GeoIP
 Name:          geotool
 Version:       0.9.1
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Text
 Source0:       http://download.berlios.de/rsstool/%{name}-%{version}-src.tar.gz
 # Source0-md5: abe22863b4ba5061683cd3db660a82d8
 Patch0:                %{name}-lib64.patch
+Patch1:                %{name}-dbpath.patch
+Patch2:                %{name}-optflags.patch
 URL:           http://rsstool.y7.ath.cx/
 BuildRequires: GeoIP-devel
 Requires:      GeoIP
@@ -26,11 +28,16 @@ krajów wraz z ich zakresami IP (guarding.p2p).
 %prep
 %setup -q -n %{name}-%{version}-src
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 cd src
 %configure
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.108247 seconds and 4 git commands to generate.