]> git.pld-linux.org Git - packages/GeoIP.git/commitdiff
- allow installation of GeoIP-db-Country auto/ac/GeoIP-1_4_5-2 auto/th/GeoIP-1_4_5-2
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 23 Jan 2009 09:14:34 +0000 (09:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    GeoIP.spec -> 1.41

GeoIP.spec

index 5c60c0ee5ed2d145bb7bac07ddaed792a5f690e7..6ccad98f999b95f6ee14f8eda7e3a3c24f22ba7f 100644 (file)
@@ -14,6 +14,7 @@ BuildRequires:        automake
 BuildRequires: libtool
 BuildRequires: zlib-devel
 Requires:      %{name}-libs = %{version}-%{release}
+Requires:      GeoIP-db-Country >= 2008.12.02
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -100,6 +101,9 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/GeoIP.conf.default
 
+# use GeoIP-db-Country package, which is updated more often (at least in PLD Linux)
+rm -f $RPM_BUILD_ROOT%{_datadir}/GeoIP/GeoIP.dat
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -115,8 +119,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
-%{_datadir}/%{name}
+%attr(755,root,root) %{_libdir}/libGeoIP.so.*.*.*
+%attr(755,root,root) %{_libdir}/libGeoIPUpdate.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libGeoIP.so.1
+%attr(755,root,root) %ghost %{_libdir}/libGeoIPUpdate.so.0
+%dir %{_datadir}/%{name}
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.05605 seconds and 4 git commands to generate.