1 |
Name: tigervnc |
Name: tigervnc |
2 |
Version: 1.11.0 |
Version: 1.11.0 |
3 |
Release: %mkrel 1 |
Release: %mkrel 2 |
4 |
Summary: Viewer for the VNC remote display system |
Summary: Viewer for the VNC remote display system |
5 |
Group: Networking/Remote access |
Group: Networking/Remote access |
6 |
License: GPLv2+ |
License: GPLv2+ |
7 |
URL: http://www.tigervnc.com/ |
URL: http://www.tigervnc.com/ |
8 |
Source0: https://github.com/TigerVNC/tigervnc/archive/v%{version}/%{name}-%{version}.tar.gz |
Source0: https://github.com/TigerVNC/tigervnc/archive/v%{version}/%{name}-%{version}.tar.gz |
9 |
|
Source1: xvnc.service |
10 |
|
Source2: xvnc.socket |
11 |
Source4: HOWTO.md |
Source4: HOWTO.md |
12 |
|
|
13 |
Patch8: tigervnc-getmaster.patch |
Patch8: tigervnc-getmaster.patch |
174 |
|
|
175 |
%make_install -C unix/xserver/hw/vnc |
%make_install -C unix/xserver/hw/vnc |
176 |
|
|
177 |
|
# Install systemd unit file |
178 |
|
install -m644 %{SOURCE1} %{buildroot}%{_unitdir}/xvnc@.service |
179 |
|
install -m644 %{SOURCE2} %{buildroot}%{_unitdir}/xvnc.socket |
180 |
|
|
181 |
# Install desktop stuff |
# Install desktop stuff |
182 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,24x24,48x48}/apps |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{16x16,24x24,48x48}/apps |
183 |
|
|
222 |
ln -s vncviewer-%{version}.jar VncViewer.jar |
ln -s vncviewer-%{version}.jar VncViewer.jar |
223 |
popd |
popd |
224 |
|
|
225 |
|
%post server |
226 |
|
%systemd_post xvnc.service |
227 |
|
%systemd_post xvnc.socket |
228 |
|
|
229 |
|
%preun server |
230 |
|
%systemd_preun xvnc.service |
231 |
|
%systemd_preun xvnc.socket |
232 |
|
|
233 |
|
%postun server |
234 |
|
%systemd_postun xvnc.service |
235 |
|
%systemd_postun xvnc.socket |
236 |
|
|
237 |
%files -f %{name}.lang |
%files -f %{name}.lang |
238 |
%_defaultdocdir/%{name}/ |
%_defaultdocdir/%{name}/ |
249 |
%config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-mandatory |
%config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-mandatory |
250 |
%config(noreplace) %{_sysconfdir}/tigervnc/vncserver.users |
%config(noreplace) %{_sysconfdir}/tigervnc/vncserver.users |
251 |
%{_unitdir}/vncserver@.service |
%{_unitdir}/vncserver@.service |
252 |
|
%{_unitdir}/xvnc@.service |
253 |
|
%{_unitdir}/xvnc.socket |
254 |
%{_bindir}/vncconfig |
%{_bindir}/vncconfig |
255 |
%{_bindir}/vncpasswd |
%{_bindir}/vncpasswd |
256 |
%{_bindir}/Xvnc |
%{_bindir}/Xvnc |