x11vnc-vl.spec 9.2 KB

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