aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/rpm
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-01-23 14:09:35 +0100
committerPierre Ossman <ossman@cendio.se>2020-03-12 09:48:17 +0100
commitebaa948e4685adce59e84242458fafb6f900bf0a (patch)
treee406d00e663c907198dff71f7e97400d0967ac10 /contrib/packages/rpm
parentbb8d82ad3c8ad7588217bdbcfa7fc5185bb3586a (diff)
downloadtigervnc-ebaa948e4685adce59e84242458fafb6f900bf0a.tar.gz
tigervnc-ebaa948e4685adce59e84242458fafb6f900bf0a.zip
Add default configuration files
Install some example files to make things more easily discoverable.
Diffstat (limited to 'contrib/packages/rpm')
-rw-r--r--contrib/packages/rpm/el7/SPECS/tigervnc.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/packages/rpm/el7/SPECS/tigervnc.spec b/contrib/packages/rpm/el7/SPECS/tigervnc.spec
index e16a1b73..110497e1 100644
--- a/contrib/packages/rpm/el7/SPECS/tigervnc.spec
+++ b/contrib/packages/rpm/el7/SPECS/tigervnc.spec
@@ -147,7 +147,8 @@ export CMAKE_EXE_LINKER_FLAGS=$LDFLAGS
%{cmake} -G"Unix Makefiles" \
-DBUILD_STATIC=off \
- -DCMAKE_INSTALL_PREFIX=%{_prefix}
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ -DSYSCONF_DIR=%{_sysconfdir}
make %{?_smp_mflags}
pushd unix/xserver
@@ -245,6 +246,8 @@ fi
%files server
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/sysconfig/vncservers
+%config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-defaults
+%config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-mandatory
%{_unitdir}/vncserver@.service
%{_bindir}/x0vncserver
%{_bindir}/vncserver