summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBrian P. Hinz <bphinz@users.sf.net>2015-03-18 19:13:57 -0400
committerBrian P. Hinz <bphinz@users.sf.net>2015-03-18 20:15:40 -0400
commit76cf5b34f893755594cbea2d90ed638083dea2f2 (patch)
tree3b2c9b162441d7f40ebe78c8027cd5a40f1dc8ed /contrib
parente674c634fbace353ed7e7e344ca4d5463cf72773 (diff)
downloadtigervnc-76cf5b34f893755594cbea2d90ed638083dea2f2.tar.gz
tigervnc-76cf5b34f893755594cbea2d90ed638083dea2f2.zip
Update build requirements in el6 spec file
Make the dependency on g++ explicit. Now that the native version of cmake in el6 has been bumped to v2.8 we can remove the dependency on EPEL's cmake28 package.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/packages/rpm/el6/SPECS/tigervnc.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/packages/rpm/el6/SPECS/tigervnc.spec b/contrib/packages/rpm/el6/SPECS/tigervnc.spec
index 1e846b5c..9754c085 100644
--- a/contrib/packages/rpm/el6/SPECS/tigervnc.spec
+++ b/contrib/packages/rpm/el6/SPECS/tigervnc.spec
@@ -22,6 +22,7 @@ Source16: https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz
Source17: ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.13.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: gcc, gcc-c++
BuildRequires: libX11-devel, automake, autoconf, libtool, gettext, gettext-devel
BuildRequires: libXext-devel, xorg-x11-server-source, libXi-devel
BuildRequires: xorg-x11-xtrans-devel, xorg-x11-util-macros, libXtst-devel
@@ -31,7 +32,7 @@ BuildRequires: mesa-libGL-devel, libXinerama-devel, ImageMagick
BuildRequires: freetype-devel, libXdmcp-devel
BuildRequires: desktop-file-utils, java-devel, jpackage-utils
BuildRequires: libjpeg-turbo-devel, pam-devel
-BuildRequires: cmake28
+BuildRequires: cmake >= 2.8
%ifnarch s390 s390x
BuildRequires: xorg-x11-server-devel
%endif
@@ -261,7 +262,7 @@ make %{?_smp_mflags}
make DESTDIR=%{static_lib_buildroot} install
popd
-%{cmake28} -G"Unix Makefiles" \
+%{cmake} -G"Unix Makefiles" \
-DBUILD_STATIC=off \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DFLTK_LIBRARIES="%{static_lib_buildroot}%{_libdir}/libfltk.a;%{static_lib_buildroot}%{_libdir}/libfltk_images.a;%{static_lib_buildroot}%{_libdir}/libpng.a" \
@@ -301,7 +302,7 @@ popd
# Build Java applet
pushd java
-%{cmake28} \
+%{cmake} \
%if !%{_self_signed}
-DJAVA_KEYSTORE=%{_keystore} \
-DJAVA_KEYSTORE_TYPE=%{_keystore_type} \