]> git.pld-linux.org Git - packages/cherokee.git/commitdiff
- without geoip bcond
authorKarol Krenski <charles@pld-linux.org>
Tue, 21 Oct 2008 00:32:48 +0000 (00:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cherokee.spec -> 1.19

cherokee.spec

index 7907a653a8184f2048400dba825884c735c40260..8ae501e9bfec8adec1792ef583c14a35405f7b97 100644 (file)
@@ -23,7 +23,7 @@ Patch1:               %{name}-php-path.patch
 URL:           http://www.cherokee-project.com/
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: GeoIP-devel
+%{?with_geoip:BuildRequires:   GeoIP-devel}
 %{?with_gnutls:BuildRequires:  gnutls-devel >= 0.9.99}
 BuildRequires: libtool
 BuildRequires: mysql-devel
@@ -101,6 +101,7 @@ Pliki nagłówkowe dla serwera WWW Cherokee.
        %{?with_tls:--enable-tls=%{?with_gnutls:gnutls}%{?with_openssl:openssl}} \
        --sysconfdir=/etc \
        --with-wwwroot=%{_wwwroot} \
+       %{!?with_geoip:--without-geoip} \
        PHPCGI=%{_bindir}/php.fcgi
 
 %{__make}
@@ -190,7 +191,7 @@ fi
 %attr(755,root,root) %{_libdir}/cherokee/libplugin_fastcgi.so
 %attr(755,root,root) %{_libdir}/cherokee/libplugin_fcgi.so
 %attr(755,root,root) %{_libdir}/cherokee/libplugin_file.so
-%attr(755,root,root) %{_libdir}/cherokee/libplugin_geoip.so
+%{?with_geoip:%attr(755,root,root) %{_libdir}/cherokee/libplugin_geoip.so}
 %attr(755,root,root) %{_libdir}/cherokee/libplugin_gzip.so
 %attr(755,root,root) %{_libdir}/cherokee/libplugin_header.so
 %attr(755,root,root) %{_libdir}/cherokee/libplugin_htdigest.so
This page took 0.074582 seconds and 4 git commands to generate.