Author: adgor                        Date: Sun Jan 29 21:24:03 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- kuickshow bcond

---- Files affected:
SPECS:
   kdegraphics.spec (1.169 -> 1.170) 

---- Diffs:

================================================================
Index: SPECS/kdegraphics.spec
diff -u SPECS/kdegraphics.spec:1.169 SPECS/kdegraphics.spec:1.170
--- SPECS/kdegraphics.spec:1.169        Wed Jan 25 10:39:30 2006
+++ SPECS/kdegraphics.spec      Sun Jan 29 22:23:57 2006
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without kuickshow               # do not build kuickshow app (omit 
imlib req)
 %bcond_with    protections             # protections against fair use 
(printing and copying)
 %bcond_with    hidden_visibility       # pass '--fvisibility=hidden'
                                        # & '--fvisibility-inlines-hidden'
@@ -35,7 +36,7 @@
 BuildRequires: fribidi-devel >= 0.10.4
 %{?with_hidden_visibility:BuildRequires:       gcc-c++ >= 
5:4.1.0-0.20051206r108118.1}
 BuildRequires: gettext-devel
-BuildRequires: imlib-devel
+%{?with_kuickshow:BuildRequires:       imlib-devel}
 BuildRequires: kdelibs-devel >= %{_minlibsevr}
 BuildRequires: kpathsea
 BuildRequires: lcms-devel
@@ -569,6 +570,10 @@
 
 %{__make} -f admin/Makefile.common cvs
 
+%if %{without kuickshow}
+export DO_NOT_COMPILE="$DO_NOT_COMPILE kuickshow"
+%endif
+
 %configure \
        --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
        %{!?debug:--disable-rpath} \
@@ -843,6 +848,7 @@
 %{_datadir}/services/svgthumbnail.desktop
 %{_datadir}/servicetypes/ksvgrenderer.desktop
 
+%if %{with kuickshow}
 %files kuickshow -f kuickshow.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kuickshow
@@ -854,6 +860,7 @@
 %{_desktopdir}/kde/kuickshow.desktop
 %{_iconsdir}/[!l]*/*/*/kuickshow.*
 %{_mandir}/man1/kuickshow.1*
+%endif
 
 %files kview -f kview.lang
 %defattr(644,root,root,755)
@@ -937,6 +944,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.170  2006/01/29 21:23:57  adgor
+- kuickshow bcond
+
 Revision 1.169  2006/01/25 09:39:30  pluto
 - disable all-in-one compilation.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdegraphics.spec?r1=1.169&r2=1.170&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to