From d498e64b825d4088525bd46f31317ab599026a49 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 23 Jul 2013 09:40:08 -0500 Subject: [PATCH] Automagic dependencies, explitictly build --with-gcrypt --with-png (#852660) --- libvncserver.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/libvncserver.spec b/libvncserver.spec index 71e7f4f..12d580b 100644 --- a/libvncserver.spec +++ b/libvncserver.spec @@ -6,7 +6,7 @@ Summary: Library to make writing a vnc server easy Name: libvncserver Version: 0.9.9 -Release: 7%{?dist} +Release: 8%{?dist} # NOTE: --with-tightvnc-filetransfer => GPLv2 License: GPLv2+ Group: System Environment/Libraries @@ -26,9 +26,11 @@ Obsoletes: LibVNCServer < 0.9.1 Provides: LibVNCServer = %{version}-%{release} BuildRequires: automake autoconf +BuildRequires: libgcrypt-devel BuildRequires: libjpeg-devel %{?system_minilzo:BuildRequires: lzo-minilzo lzo-devel} BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(libpng) # for %%check BuildRequires: xorg-x11-server-Xvfb BuildRequires: xorg-x11-xauth @@ -80,7 +82,9 @@ autoreconf %build %configure \ --disable-static \ - --without-tightvnc-filetransfer + --without-tightvnc-filetransfer \ + --with-gcrypt \ + --with-png # hack to omit unused-direct-shlib-dependencies sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool @@ -131,6 +135,9 @@ rm -rf %{buildroot} %changelog +* Tue Jul 23 2013 Rex Dieter 0.9.9-8 +- Automagic dependencies, explitictly build --with-gcrypt --with-png (#852660) + * Thu Feb 14 2013 Rex Dieter 0.9.9-7 - pkgconfig love (#854111)