SPECS (AC-branch): kdelibs.spec - add exr bcond

glen glen at pld-linux.org
Tue Mar 28 16:22:55 CEST 2006


Author: glen                         Date: Tue Mar 28 14:22:55 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- add exr bcond

---- Files affected:
SPECS:
   kdelibs.spec (1.448.2.1 -> 1.448.2.2) 

---- Diffs:

================================================================
Index: SPECS/kdelibs.spec
diff -u SPECS/kdelibs.spec:1.448.2.1 SPECS/kdelibs.spec:1.448.2.2
--- SPECS/kdelibs.spec:1.448.2.1	Sun Mar 26 20:43:57 2006
+++ SPECS/kdelibs.spec	Tue Mar 28 16:22:47 2006
@@ -5,6 +5,7 @@
 %bcond_without	apidocs		# do not prepare API documentation
 %bcond_without  autoreqdep	# don't care about package name deps generated by rpm
 %bcond_without	heimdal		# disable kerberos
+%bcond_without	exr		# disable openexr support (partial BR deps, doesn't always build)
 %bcond_with	verbose		# verbose build
 %bcond_with	hidden_visibility	# pass '--fvisibility=hidden'
 					# & '--fvisibility-inlines-hidden'
@@ -47,7 +48,7 @@
 Patch7:		%{name}-xgl.patch
 Patch8:		%{name}-tango.patch
 URL:		http://www.kde.org/
-BuildRequires:	OpenEXR-devel >= 1.2.2
+%{?with_exr:BuildRequires:	OpenEXR-devel >= 1.2.2}
 BuildRequires:	acl-devel
 %{?with_alsa:BuildRequires:	alsa-lib-devel}
 BuildRequires:	arts-qt-devel >= %{artsver}
@@ -554,7 +555,7 @@
 %{_datadir}/services/bmp.kimgio
 %{_datadir}/services/dds.kimgio
 %{_datadir}/services/eps.kimgio
-%{_datadir}/services/exr.kimgio
+%{?with_exr:%{_datadir}/services/exr.kimgio}
 %{_datadir}/services/gif.kimgio
 %{_datadir}/services/hdr.kimgio
 %{_datadir}/services/ico.kimgio
@@ -825,8 +826,8 @@
 %attr(755,root,root) %{_libdir}/kde3/kimg_dds.so
 %{_libdir}/kde3/kimg_eps.la
 %attr(755,root,root) %{_libdir}/kde3/kimg_eps.so
-%{_libdir}/kde3/kimg_exr.la
-%attr(755,root,root) %{_libdir}/kde3/kimg_exr.so
+%{?with_exr:%{_libdir}/kde3/kimg_exr.la}
+%{?with_exr:%attr(755,root,root) %{_libdir}/kde3/kimg_exr.so}
 %{_libdir}/kde3/kimg_hdr.la
 %attr(755,root,root) %{_libdir}/kde3/kimg_hdr.so
 %{_libdir}/kde3/kimg_ico.la
@@ -1011,6 +1012,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.448.2.2  2006/03/28 14:22:47  glen
+- add exr bcond
+
 Revision 1.448.2.1  2006/03/26 18:43:57  glen
 - 3.5.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kdelibs.spec?r1=1.448.2.1&r2=1.448.2.2&f=u



More information about the pld-cvs-commit mailing list