[packages/kdelibs] - bcond openexr (broken somewhere something)

glen glen at pld-linux.org
Thu Nov 8 16:15:47 CET 2012


commit 64b67ef9a35727b227a73b54ecd647b6c79194ab
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Nov 8 17:15:21 2012 +0200

    - bcond openexr (broken somewhere something)

 kdelibs.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/kdelibs.spec b/kdelibs.spec
index 70984b5..bec424e 100644
--- a/kdelibs.spec
+++ b/kdelibs.spec
@@ -7,6 +7,7 @@
 %bcond_without	apidocs			# don't prepare API documentation
 %bcond_without	autoreqdep		# don't care about package name deps generated by rpm
 %bcond_without	kerberos5		# disable kerberos
+%bcond_without	openexr			# disable OpenEXR
 %bcond_without	hidden_visibility	# no gcc hidden visibility
 
 %define		_state		stable
@@ -59,7 +60,7 @@ Patch18:	kdelibs-3.5.10-ossl-1.x.patch
 Patch19:	kdelibs-gcc4.patch
 Patch20:	boost-1.50.patch
 URL:		http://www.kde.org/
-BuildRequires:	OpenEXR-devel >= 1.4.0.a
+%{?with_openexr:BuildRequires:	OpenEXR-devel >= 1.4.0.a}
 BuildRequires:	acl-devel
 %{?with_alsa:BuildRequires:	alsa-lib-devel}
 %{?with_arts:BuildRequires:	arts-qt-devel >= %{artsver}}
@@ -608,7 +609,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/services/bmp.kimgio
 %{_datadir}/services/dds.kimgio
 %{_datadir}/services/eps.kimgio
-%{_datadir}/services/exr.kimgio
+%{?with_openexr:%{_datadir}/services/exr.kimgio}
 %{_datadir}/services/gif.kimgio
 %{_datadir}/services/hdr.kimgio
 %{_datadir}/services/ico.kimgio
@@ -759,7 +760,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/kde3/khtmlimagepart.so
 %attr(755,root,root) %{_libdir}/kde3/kimg_dds.so
 %attr(755,root,root) %{_libdir}/kde3/kimg_eps.so
-%attr(755,root,root) %{_libdir}/kde3/kimg_exr.so
+%{?with_openexr:%attr(755,root,root) %{_libdir}/kde3/kimg_exr.so}
 %attr(755,root,root) %{_libdir}/kde3/kimg_hdr.so
 %attr(755,root,root) %{_libdir}/kde3/kimg_ico.so
 %attr(755,root,root) %{_libdir}/kde3/kimg_jp2.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kdelibs.git/commitdiff/62c5d515ab1ccc48ea624256e26cfaa8734e25f0



More information about the pld-cvs-commit mailing list