diff --git a/tigervnc.spec b/tigervnc.spec index 640e377377173f332eafc7d640a65bccecf03597..1b27d9574cf0b33fb610e57c61e436b68399974f 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 #defining macros needed by SELinux %global selinuxtype targeted %global modulename vncsession @@ -67,6 +67,14 @@ from a wide variety of machine architectures. This package contains a client which will allow you to connect to other desktops running a VNC server. +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package server Summary: A TigerVNC server Requires: perl-interpreter @@ -235,6 +243,7 @@ install -m 755 %{SOURCE5} %{buildroot}/%{_bindir}/vncserver # remove unwanted files rm -f %{buildroot}%{_libdir}/xorg/modules/extensions/libvnc.la +rm %{buildroot}%{_docdir}/%{name}/README.rst mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.conf @@ -268,11 +277,13 @@ fi %files -f %{name}.lang -%doc README.rst %{_bindir}/vncviewer %{_datadir}/applications/* %{_mandir}/man1/vncviewer.1* +%files doc +%doc README.rst + %files server %config(noreplace) %{_sysconfdir}/pam.d/tigervnc %config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-defaults @@ -315,5 +326,8 @@ fi %ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename} %changelog +* Thu Sep 30 2022 mgb01105731 - 1.12.0-2 +- add doc package + * Wed Apr 13 2022 Chunmei Xu - 1.12.0-1 - init from upstream