1 | Summary: VNC server for the current X11 session |
---|
2 | Summary(ja): 実行中の X セッションにリモートアクセスできる VNC サーバ |
---|
3 | Name: x11vnc |
---|
4 | Version: 0.9.12 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2 |
---|
7 | Group: User Interface/X |
---|
8 | URL: http://www.karlrunge.com/x11vnc/ |
---|
9 | Source0: http://downloads.sourceforge.net/libvncserver/%{name}-%{version}.tar.gz |
---|
10 | # Don't want hardcoded rpaths. |
---|
11 | Patch1: x11vnc-0.9.8-disableRpath.patch |
---|
12 | # According to new paths add new include to build. I think it is Fedora-related. |
---|
13 | Patch2: x11vnc-0.9.8-XShm-explicit-include.patch |
---|
14 | |
---|
15 | BuildRequires: libjpeg-devel, zlib-devel, openssl-devel |
---|
16 | BuildRequires: xorg-x11-proto-devel, libXext-devel, libXtst-devel |
---|
17 | BuildRequires: libXfixes-devel, avahi-devel |
---|
18 | BuildRequires: libXtst-devel |
---|
19 | BuildRequires: libXinerama-devel |
---|
20 | BuildRequires: libXrandr-devel |
---|
21 | #BuildRequires: libvncserver-devel |
---|
22 | ### drop java stuff for vine |
---|
23 | #BuildRequires: java-1.6.0-openjdk-devel |
---|
24 | Requires: Xvfb |
---|
25 | |
---|
26 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
27 | |
---|
28 | Packager: kazutaka |
---|
29 | |
---|
30 | %description |
---|
31 | x11vnc allows one to view remotely and interact with real X displays |
---|
32 | (i.e. a display corresponding to a physical monitor, keyboard, and |
---|
33 | mouse) with any VNC viewer. |
---|
34 | |
---|
35 | It has built-in SSL/TLS encryption and RSA authentication, UNIX account |
---|
36 | and password login support, server-side scaling, single port HTTPS/HTTP |
---|
37 | and VNC, and Zeroconf service advertising. |
---|
38 | |
---|
39 | %description -l ja |
---|
40 | x11vnc により、VNC ビューアを使って実行中の X セッションに |
---|
41 | リモートアクセスできるようになります。アクセス中はモニターの |
---|
42 | 表示だけでなく、キーボードやマウスのの操作も可能になります。 |
---|
43 | |
---|
44 | また組込みの SSL/TLS 暗号化や RSA 認証、UNIX アカウントとパス |
---|
45 | ワードによるログイン、サーバーサイド・スケーリング、シングル |
---|
46 | ポート HTTPS/HTTP 及び VNC 接続、Zeroconf サービスへの通知など |
---|
47 | をサポートしています。 |
---|
48 | |
---|
49 | |
---|
50 | ### drop java stuff for vine |
---|
51 | #%package javaviewers |
---|
52 | #Version: %{version} |
---|
53 | #Summary: VNC clients (browser java applets) |
---|
54 | #Requires: %{name} = %{version}-%{release} |
---|
55 | #License: GPLv2+ |
---|
56 | #Group: User Interface/X |
---|
57 | #BuildArch: noarch |
---|
58 | #BuildRequires: java-devel >= 1:1.6.0 |
---|
59 | #BuildRequires: jpackage-utils |
---|
60 | # |
---|
61 | # |
---|
62 | #%description javaviewers |
---|
63 | #The package contains the corresponding java clients for %{name}. They |
---|
64 | #can be used with any java-enabled browser and provide an easy access to |
---|
65 | #the server without the need to install software on the client machine. |
---|
66 | |
---|
67 | |
---|
68 | %prep |
---|
69 | %setup -q |
---|
70 | %patch1 -p0 -b .rpath |
---|
71 | %if %{?_dist_release} == "vl6" |
---|
72 | %patch2 -p0 -b .XShm |
---|
73 | %endif |
---|
74 | |
---|
75 | # fix source perms for the -debuginfo package rpmlint warnings |
---|
76 | find -name "*.c" -o -name "*.h" -exec %{__chmod} 0644 {} \; |
---|
77 | |
---|
78 | for file in README AUTHORS; do |
---|
79 | # ISO-8859-1 is my assumption. |
---|
80 | iconv -f ISO-8859-1 -t UTF-8 "$file" > "$file.new" |
---|
81 | touch --reference "$file" "$file.new" |
---|
82 | %{__mv} "$file.new" "$file" |
---|
83 | done |
---|
84 | |
---|
85 | ### drop java stuff for vine |
---|
86 | ## Delete prebuilt binaries |
---|
87 | #find -name '*.jar' -exec rm {} \; |
---|
88 | |
---|
89 | %build |
---|
90 | %configure --without-tightvnc-filetransfer |
---|
91 | # --with-system-libvncserver |
---|
92 | |
---|
93 | ### drop java stuff for vine |
---|
94 | # First rebuild jars, what have been removed in %%prep. |
---|
95 | #pushd classes/ssl/src |
---|
96 | #%{__make} %{?_smp_mflags} |
---|
97 | # # Alternative to patch Makefiles. |
---|
98 | # for jarfile in *.jar; do |
---|
99 | # %{__ln_s} src/$jarfile ../; |
---|
100 | # %{__ln_s} ssl/src/$jarfile ../../; |
---|
101 | # done |
---|
102 | #popd |
---|
103 | |
---|
104 | %{__make} %{?_smp_mflags} |
---|
105 | |
---|
106 | %install |
---|
107 | %{__rm} -rf %{buildroot} |
---|
108 | %{__make} install DESTDIR="%{buildroot}" |
---|
109 | |
---|
110 | ### drop java stuff for vine |
---|
111 | ## And Java viewers |
---|
112 | #pushd classes/ssl |
---|
113 | #%{__make} install DESTDIR="%{buildroot}" |
---|
114 | #popd |
---|
115 | # |
---|
116 | # Rename README file to avoid name bump |
---|
117 | #%{__mv} classes/ssl/src/tight/README classes/ssl/src/tight/README.tight |
---|
118 | #%{__mv} classes/ssl/src/ultra/README classes/ssl/src/ultra/README.ultra |
---|
119 | |
---|
120 | ### Remove Java viewers for vine |
---|
121 | %{__rm} -rf $RPM_BUILD_ROOT/%{_datadir}/%{name}/classes |
---|
122 | |
---|
123 | ### Remove header files |
---|
124 | %{__rm} -rf $RPM_BUILD_ROOT/%{_includedir}/rfb |
---|
125 | |
---|
126 | |
---|
127 | %clean |
---|
128 | %{__rm} -rf %{buildroot} |
---|
129 | |
---|
130 | |
---|
131 | %files |
---|
132 | %defattr(-,root,root,-) |
---|
133 | %doc AUTHORS ChangeLog COPYING NEWS README TODO |
---|
134 | %{_mandir}/man1/x11vnc.1* |
---|
135 | %{_bindir}/x11vnc |
---|
136 | %{_datadir}/applications/x11vnc.desktop |
---|
137 | |
---|
138 | ### drop java stuff for vine |
---|
139 | #%files javaviewers |
---|
140 | #%defattr(-,root,root,-) |
---|
141 | #%doc classes/ssl/README classes/ssl/src/tight/README.tight classes/ssl/src/ultra/README.ultra |
---|
142 | #%{_datadir}/%{name} |
---|
143 | #%exclude %{_datadir}/%{name}/classes/ssl/README |
---|
144 | |
---|
145 | %changelog |
---|
146 | * Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.12-1 |
---|
147 | - new upstream release |
---|
148 | - add BuildRequires: libXtst-devel, libXinerama-devel, libXrandr-devel |
---|
149 | |
---|
150 | * Sat Nov 21 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.9.8-2 |
---|
151 | - apply Patch2 on VineSeed |
---|
152 | |
---|
153 | * Thu Nov 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.9.8-1 |
---|
154 | - initial build for Vine Linux based on fedora development |
---|
155 | - remove java related stuff to avoid to depend java |
---|
156 | - drop dependency for libvncserver (also drop configure option) |
---|
157 | - add japanese description and summary |
---|
158 | |
---|
159 | * Tue Oct 6 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-14 |
---|
160 | - Make -javaviewers subpackage noarch. |
---|
161 | |
---|
162 | * Sun Oct 4 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-13 |
---|
163 | - Small fis requires release. |
---|
164 | - Rename README file to avoid name bump |
---|
165 | |
---|
166 | * Fri Sep 25 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-12 |
---|
167 | - Own %%{_datadir}/%%{name} instead of %%{_datadir}/%%{name}/classes |
---|
168 | - Add Requires: %%{name} = %%{version}-%%{release} in subpackage. |
---|
169 | - Change summary and description for javaviewers subpackage. |
---|
170 | - Remove %%doc marker from man-page. |
---|
171 | - %%defattr(-,root,root,0755) -> %%defattr(-,root,root,-) |
---|
172 | - Add classes/ssl/src/tight/README classes/ssl/src/ultra/README files into |
---|
173 | javaviewers subpackage %%doc (thank you Orcan Ogetbil) |
---|
174 | - ln -s replaced by %%{__ln_s} |
---|
175 | - Set License: GPLv2+ for javaviewers subpackage (Thanks Spot) |
---|
176 | |
---|
177 | * Mon Aug 31 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-11 |
---|
178 | - Remove all prebuilt *.jar-files in %%prep section and try build it from source. |
---|
179 | - Add BR java-1.6.0-openjdk-devel |
---|
180 | - Introduce new subpackage x11vnc-javaviewers. |
---|
181 | - Add separate build java-viewers. |
---|
182 | - Add Russian localized versions of Summary and descrioptions. |
---|
183 | |
---|
184 | * Wed Aug 26 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-10 |
---|
185 | - Fix some spelling, change some cosmetic things. |
---|
186 | - Delete Patch0 and hacks to link with system lzo package - it is not needed |
---|
187 | anymore as we link it with systel libvncserver instead. |
---|
188 | - Delete BR lzo-devel |
---|
189 | - Remiove empty directory %%{_datadir}/%%{name}/ |
---|
190 | |
---|
191 | * Sun Aug 9 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-9 |
---|
192 | - Add Requires: Xvfb |
---|
193 | |
---|
194 | * Fri Aug 7 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-8 |
---|
195 | - Link to shared lzo instead of minilzo for all (not only EL-5). |
---|
196 | - Add BuildRequires: /usr/include/X11/extensions/XShm.h |
---|
197 | - Patch2: x11vnc-0.9.8-XShm-explicit-include.patch |
---|
198 | - Step to conditional BR for Fedora 12, add |
---|
199 | Patch2: x11vnc-0.9.8-XShm-explicit-include.patch to build on it. |
---|
200 | |
---|
201 | * Tue Aug 4 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-7 |
---|
202 | - Change license to GPLv2 without plus according to x11vnc.c |
---|
203 | source (thanks to Christian Krause). |
---|
204 | - For consistency macros usage replace "ln -s" by %%{__ln_s}, |
---|
205 | mv by %%{__mv} and similar (chmod, sed). |
---|
206 | - Change find call to avoid using xargs in chmod sources command. |
---|
207 | |
---|
208 | * Wed Jul 29 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-6 |
---|
209 | - Build with openssl unconditionally. |
---|
210 | - Add Patch1: x11vnc-0.9.8-disableRpath.patch |
---|
211 | - fix source perms for the -debuginfo package rpmlint warnings |
---|
212 | |
---|
213 | * Tue Jul 21 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-5 |
---|
214 | - Try use lzo instead of minilzo in EL-5 (minilzo is not bundled in it). |
---|
215 | - Try use system libvncserver library (--with-system-libvncserver |
---|
216 | configure option) instead of bundled one. |
---|
217 | - System libvncserver built without tightvnc-filetransfer support. |
---|
218 | Now disable it there (--without-filetransfer) |
---|
219 | And according to it change License to only GPLv2+ |
---|
220 | ./configure --help misleading, using --without-tightvnc-filetransfer |
---|
221 | |
---|
222 | * Tue Jul 21 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-4 |
---|
223 | - All changes inspired by started Fedora Review (thank you to Christian Krause). |
---|
224 | - README and AUTHORS files converted into UTF-8. |
---|
225 | - Explicit mention previous author in changelog and delet old entries of it. |
---|
226 | - Source renamed to Source0. |
---|
227 | - Source0 URL changed to long (correct) variant: |
---|
228 | http://downloads.sourceforge.net/libvncserver/%%{name}-%%{version}.tar.gz |
---|
229 | was http://dl.sf.net/libvncserver/x11vnc-%%{version}.tar.gz |
---|
230 | - Add BR: /usr/include/X11/extensions/XInput.h; In F12 it is located in |
---|
231 | libXi-devel but in previous versions in xorg-x11-proto-devel |
---|
232 | so, to do not make conditional requires, require explicit file. |
---|
233 | - Remove prebuild binaries clients. |
---|
234 | - Remove Requires: minilzo it will be automatically propogated. |
---|
235 | - Add BR: libvncserver-devel |
---|
236 | |
---|
237 | * Fri Jul 10 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-3 |
---|
238 | - Add BR openssl-devel to provide SSL capability (thanks Manuel Wolfshant). |
---|
239 | - Requires: minilzo, BR lzo-devel and Patch0: |
---|
240 | 11vnc-0.9.8-use-system-minilzo.patch to use system version of library. |
---|
241 | - Add "and GPLv2" to License. See comment above why. |
---|
242 | - Add BuildRequires: libXfixes-devel |
---|
243 | |
---|
244 | * Fri Jul 10 2009 Pavel Alexeev <Pahan@Hubbitus.info> - 0.9.8-2 |
---|
245 | - Import http://packages.sw.be/x11vnc/x11vnc-0.9.7-1.rf.src.rpm to maintain it in fedora: |
---|
246 | Packager: Dag Wieers <dag@wieers.com> |
---|
247 | Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
---|
248 | - Step to version 0.9.8 |
---|
249 | - Reformat spec with tabs. |
---|
250 | - Comment out (leave for history) Packager and Vendor tags |
---|
251 | - Remove defines of several macros like dtag, conditional _without_modxorg |
---|
252 | - Remove all stuff around conditional build _without_modxorg |
---|
253 | - Add -%%(%%{__id_u} -n) part into buildroot. |
---|
254 | - Make setup quiet. |
---|
255 | - Remove "rf" Release suffix and replace it by %%{?dist} |
---|
256 | - License from GPL changed to GPLv2+ |
---|