2 |
%define snapshot 0 |
%define snapshot 0 |
3 |
%define snapshotversion 201106280527 |
%define snapshotversion 201106280527 |
4 |
%define version 1.1.0 |
%define version 1.1.0 |
5 |
%define rel 1 |
%define rel 2 |
6 |
|
|
7 |
Name: tigervnc |
Name: tigervnc |
8 |
Version: %{version} |
Version: %{version} |
66 |
server. |
server. |
67 |
|
|
68 |
%files -f %{name}.lang |
%files -f %{name}.lang |
|
%defattr(-,root,root,-) |
|
69 |
%{_bindir}/vncviewer |
%{_bindir}/vncviewer |
70 |
%{_iconsdir}/* |
%{_iconsdir}/* |
71 |
%{_datadir}/applications/* |
%{_datadir}/applications/* |
80 |
Group: Networking/Remote access |
Group: Networking/Remote access |
81 |
|
|
82 |
Requires: vnc-server-common |
Requires: vnc-server-common |
83 |
|
Requires(post): rpm-helper >= 0.24.8-1 |
84 |
|
Requires(preun): rpm-helper >= 0.24.8-1 |
85 |
|
|
86 |
%description server |
%description server |
87 |
The VNC system allows you to access the same desktop from a wide |
The VNC system allows you to access the same desktop from a wide |
91 |
# TODO: Add support for systemd in %post/%postun scriplets |
# TODO: Add support for systemd in %post/%postun scriplets |
92 |
|
|
93 |
%files server |
%files server |
|
%defattr(-,root,root,-) |
|
94 |
%{_bindir}/vncconfig |
%{_bindir}/vncconfig |
95 |
%{_bindir}/vncpasswd |
%{_bindir}/vncpasswd |
96 |
%{_bindir}/x0vncserver |
%{_bindir}/x0vncserver |
118 |
to access the desktop on your machine. |
to access the desktop on your machine. |
119 |
|
|
120 |
%files server-module |
%files server-module |
|
%defattr(-,root,root,-) |
|
121 |
%{_libdir}/xorg/modules/extensions/libvnc.so |
%{_libdir}/xorg/modules/extensions/libvnc.so |
122 |
|
|
123 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
141 |
3. Running the viewer as a standalone application. |
3. Running the viewer as a standalone application. |
142 |
|
|
143 |
%files java |
%files java |
|
%defattr(-,root,root) |
|
144 |
%{_javadir}/*.jar |
%{_javadir}/*.jar |
145 |
%{_datadir}/%{name} |
%{_datadir}/%{name} |
146 |
|
|
147 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
148 |
|
|
149 |
%prep |
%prep |
|
|
|
150 |
%setup -q -n %{name}-%{version} |
%setup -q -n %{name}-%{version} |
151 |
|
|
152 |
%patch0 -p1 -b .102434 |
%patch0 -p1 -b .102434 |
277 |
ln -s vncviewer-%{version}.jar vncviewer.jar |
ln -s vncviewer-%{version}.jar vncviewer.jar |
278 |
ln -s vncviewer-%{version}.jar VncViewer.jar |
ln -s vncviewer-%{version}.jar VncViewer.jar |
279 |
popd |
popd |
|
|
|
|
|
|
|
|
|