!2 tigervnc: add the provides

Merge pull request !2 from openeuler-net/init
This commit is contained in:
openeuler-ci-bot 2019-12-26 17:28:58 +08:00 committed by Gitee
commit c30eef44a5

View File

@ -2,7 +2,7 @@
Name: tigervnc Name: tigervnc
Version: 1.9.0 Version: 1.9.0
Release: 5 Release: 6
Summary: A TigerVNC remote display system Summary: A TigerVNC remote display system
License: GPLv2+ License: GPLv2+
@ -34,10 +34,10 @@ BuildRequires: openssl-devel mesa-libGL-devel freetype-devel desktop-file-utils
Requires(post): coreutils Requires(post): coreutils
Requires(postun):coreutils Requires(postun):coreutils
Requires: hicolor-icon-theme %{name}-help Requires: hicolor-icon-theme
Provides: license icons Provides: %{name}-license = %{name}-%{release} %{name}-icons = %{name}-%{release}
Obsoletes: license icons Obsoletes: %{name}-license < %{name}-%{release} %{name}-icons < %{name}-%{release}
%description %description
This package provides client for Virtual Network Computing (VNC), with which This package provides client for Virtual Network Computing (VNC), with which
@ -45,7 +45,7 @@ you can access any other desktops running a VNC server.
%package server %package server
Summary: A TigerVNC server Summary: A TigerVNC server
Requires: perl-interpreter tigervnc-server-minimal xorg-x11-xauth xorg-x11-xinit %{name}-help Requires: perl-interpreter tigervnc-server-minimal xorg-x11-xauth xorg-x11-xinit
Requires(post): systemd Requires(post): systemd
Requires(preun): systemd Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
@ -63,7 +63,7 @@ Requires(preun): systemd
Requires(postun): systemd Requires(postun): systemd
Requires(post): systemd Requires(post): systemd
Requires: mesa-dri-drivers, xkeyboard-config, xorg-x11-xkb-utils %{name} %{name}-help Requires: mesa-dri-drivers, xkeyboard-config, xorg-x11-xkb-utils %{name}
%description server-minimal %description server-minimal
This package provides minimal installation of TigerVNC, with which This package provides minimal installation of TigerVNC, with which
@ -79,18 +79,13 @@ to access the desktop on your machine.
%package server-applet %package server-applet
Summary: Java TigerVNC viewer applet for TigerVNC server Summary: Java TigerVNC viewer applet for TigerVNC server
Requires: tigervnc-server, java, jpackage-utils, %{name}-help Requires: tigervnc-server, java, jpackage-utils
BuildArch: noarch BuildArch: noarch
%description server-applet %description server-applet
If you want to use web browser in clients, please install this package. If you want to use web browser in clients, please install this package.
%package help %package_help
Summary: Documents for TigerVNC
BuildArch: noarch
%description help
This package provide manual for %{name}, server and server-minimal packages.
%prep %prep
%setup -q %setup -q
@ -211,7 +206,9 @@ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.c
%systemd_postun xvnc.socket %systemd_postun xvnc.socket
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root)
%doc README.rst %doc README.rst
%license LICENCE.TXT
%{_bindir}/vncviewer %{_bindir}/vncviewer
%{_datadir}/applications/* %{_datadir}/applications/*
%license LICENCE.TXT %license LICENCE.TXT
@ -219,35 +216,41 @@ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.c
%files server %files server
%defattr(-,root,root)
%config(noreplace) %{_sysconfdir}/sysconfig/vncservers %config(noreplace) %{_sysconfdir}/sysconfig/vncservers
%{_bindir}/vncserver
%{_bindir}/x0vncserver
%{_unitdir}/vncserver@.service %{_unitdir}/vncserver@.service
%{_unitdir}/xvnc@.service %{_unitdir}/xvnc@.service
%{_unitdir}/xvnc.socket %{_unitdir}/xvnc.socket
%{_bindir}/x0vncserver
%{_bindir}/vncserver
%files server-minimal %files server-minimal
%defattr(-,root,root)
%{_bindir}/vncconfig %{_bindir}/vncconfig
%{_bindir}/vncpasswd %{_bindir}/vncpasswd
%{_bindir}/Xvnc %{_bindir}/Xvnc
%files server-module %files server-module
%{_libdir}/xorg/modules/extensions/libvnc.so %defattr(-,root,root)
%config %{_sysconfdir}/X11/xorg.conf.d/10-libvnc.conf %config %{_sysconfdir}/X11/xorg.conf.d/10-libvnc.conf
%{_libdir}/xorg/modules/extensions/libvnc.so
%files server-applet %files server-applet
%defattr(-,root,root)
%{_datadir}/vnc/classes/* %{_datadir}/vnc/classes/*
%files help %files help
%{_mandir}/man1/vncviewer.1* %defattr(-,root,root)
%{_mandir}/man1/vncserver.1*
%{_mandir}/man1/x0vncserver.1*
%{_mandir}/man1/Xvnc.1*
%{_mandir}/man1/vncpasswd.1*
%{_mandir}/man1/vncconfig.1*
%doc java/com/tigervnc/vncviewer/README %doc java/com/tigervnc/vncviewer/README
%{_mandir}/man1/*
%changelog %changelog
* Tue Dec 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.0-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add the provides
* Tue Oct 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.0-5 * Tue Oct 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.0-5
- fix missing arguments after systemd_postun - fix missing arguments after systemd_postun