gtk-vnc-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. # Plugin isn't ready for real world use yet - it needs
  2. # a security audit at very least
  3. %define with_plugin 0
  4. Summary: A GTK widget for VNC clients
  5. Summary(ja): VNCクライアント用 GTK ウィジェット
  6. Name: gtk-vnc
  7. Version: 0.4.3
  8. Release: 2%{?_dist_release}
  9. License: LGPLv2+
  10. Group: Development/Libraries
  11. Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
  12. Patch100: gtk-vnc-0.3.8-fast.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  14. URL: http://gtk-vnc.sf.net/
  15. BuildRequires: gtk3-devel pygtk2-devel python-devel zlib-devel
  16. BuildRequires: gnutls-devel gtkglext-devel cyrus-sasl-devel
  17. %if %{with_plugin}
  18. BuildRequires: xulrunner-devel
  19. %endif
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
  25. allowing it to be completely asynchronous while remaining single threaded.
  26. %package devel
  27. Summary: Development filesdor gtk-vnc library
  28. Summary(ja): gtk-vnc ライブラリの開発ファイル
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. Requires: pygtk2-devel gtk3-devel gnutls-devel
  33. %description devel
  34. gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
  35. allowing it to be completely asynchronous while remaining single threaded.
  36. Libraries, includes, etc. to compile with the gtk-vnc library
  37. %package python
  38. Summary: Python bindings for the gtk-vnc library
  39. Summary(ja): gtk-vnc ライブラリの python バインディング
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. %description python
  43. gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
  44. allowing it to be completely asynchronous while remaining single threaded.
  45. A module allowing use of the GTK-VNC widget from python
  46. %if %{with_plugin}
  47. %package plugin
  48. Summary: Mozilla plugin for the gtk-vnc library
  49. Summary(ja): gtk-vnc ライブラリの mozilla プラグイン
  50. Group: Development/Libraries
  51. Requires: %{name} = %{version}-%{release}
  52. %description plugin
  53. gtk-vnc is a VNC viewer widget for GTK. It is built using coroutines
  54. allowing it to be completely asynchronous while remaining single threaded.
  55. This package provides a web browser plugin for Mozilla compatible
  56. browsers.
  57. %endif
  58. %prep
  59. %setup -q
  60. ## %patch100 -p1
  61. %build
  62. %if %{with_plugin}
  63. %configure --enable-plugin=yes --with-gtk=3.0
  64. %else
  65. %configure --with-gtk=3.0
  66. %endif
  67. %__make %{?_smp_mflags}
  68. %install
  69. rm -fr %{buildroot}
  70. %__make install DESTDIR=%{buildroot}
  71. rm -f %{buildroot}%{_libdir}/*.a
  72. rm -f %{buildroot}%{_libdir}/*.la
  73. rm -f %{buildroot}%{_libdir}/python*/site-packages/*.a
  74. rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
  75. %if %{with_plugin}
  76. rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.a
  77. rm -f %{buildroot}%{_libdir}/mozilla/plugins/%{name}-plugin.la
  78. %endif
  79. %find_lang %{name}
  80. %clean
  81. rm -fr %{buildroot}
  82. %post -p /sbin/ldconfig
  83. %postun -p /sbin/ldconfig
  84. %files -f %{name}.lang
  85. %defattr(-, root, root)
  86. %doc AUTHORS ChangeLog NEWS README COPYING.LIB
  87. %{_bindir}/gvnccapture
  88. %{_libdir}/lib*.so.*
  89. %{_libdir}/girepository-1.0/*.typelib
  90. %{_mandir}/man1/gvnccapture.1.gz
  91. %files devel
  92. %defattr(-, root, root)
  93. %doc examples/gvncviewer.c
  94. %{_libdir}/lib*.so
  95. %dir %{_includedir}/%{name}-2.0/
  96. %dir %{_includedir}/gvnc-1.0/
  97. %{_includedir}/%{name}-2.0/*.h
  98. %{_includedir}/gvnc-1.0/*.h
  99. %{_libdir}/pkgconfig/%{name}-2.0.pc
  100. %{_libdir}/pkgconfig/gvnc-1.0.pc
  101. %{_datadir}/gir-1.0/*.gir
  102. %files python
  103. %defattr(-, root, root)
  104. %doc examples/gvncviewer.py
  105. # %{_libdir}/python*/site-packages/gtkvnc.so
  106. %if %{with_plugin}
  107. %files plugin
  108. %defattr(-, root, root)
  109. %{_libdir}/mozilla/plugins/%{name}-plugin.so
  110. %endif
  111. %changelog
  112. * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-2
  113. - change BuildRequires: gtk3-devel instead of gtk2-devel
  114. - add configure option: --with-gtk=3.0
  115. * Thu Feb 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
  116. - new upstream release
  117. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-2
  118. - rebuild with rpm-4.8.1 for pkg-config file
  119. * Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  120. - new upstream release
  121. - drop Patch100
  122. - fix %files
  123. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.10-1
  124. - new upstream release
  125. * Tue Feb 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.3.9-2
  126. - rebuild with python-2.6
  127. * Wed Aug 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.9-1
  128. - new upstream release
  129. - add Patch100 to speed up
  130. - add BR: cyrus-sasl-devel
  131. * Mon Jan 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.8-2
  132. - rebuild with gnutls-2.6.3
  133. * Wed Dec 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.8-1
  134. - new upstream release
  135. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.7-1
  136. - initial build for Vine Linux
  137. * Fri Sep 5 2008 Matthias Clasen <mclasen@redhat.com> - 0.3.7-1
  138. - Update to 0.3.7
  139. * Thu Aug 28 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.6-4.fc9
  140. - Fix key/mouse event propagation (rhbz #454627)
  141. * Mon Jul 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.3.6-3
  142. - fix conditional comparison
  143. * Wed Jun 25 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.6-2.fc10
  144. - Rebuild for GNU TLS ABI change
  145. * Wed May 7 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.6-1.fc10
  146. - Updated to 0.3.6 release
  147. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.3.5-1.fc9
  148. - Update to 0.3.5
  149. * Fri Apr 4 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.4-4.fc9
  150. - Remove bogus chunk of render patch
  151. * Thu Apr 3 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.4-3.fc9
  152. - Fix OpenGL rendering artifacts (rhbz #440184)
  153. * Thu Apr 3 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.4-2.fc9
  154. - Fixed endianness conversions
  155. - Fix makecontext() args crash on x86_64
  156. - Fix protocol version negotiation
  157. * Thu Mar 6 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.4-1.fc9
  158. - Update to 0.3.4 release
  159. - Fix crash with OpenGL scaling code
  160. * Sun Feb 3 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.3-1.fc9
  161. - Update to 0.3.3 release
  162. * Mon Jan 14 2008 Daniel P. Berrange <berrange@redhat.com> - 0.3.2-2.fc9
  163. - Track keystate to avoid stuck modifier keys
  164. * Mon Dec 31 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.2-1.fc9
  165. - Update to 0.3.2 release
  166. - Added dep on zlib-devel
  167. * Thu Dec 13 2007 Daniel P. Berrange <berrange@redhat.com> - 0.3.1-1.fc9
  168. - Update to 0.3.1 release
  169. * Thu Oct 10 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-4.fc8
  170. - Fixed coroutine cleanup to avoid SEGV (rhbz #325731)
  171. * Thu Oct 4 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-3.fc8
  172. - Fixed coroutine caller to avoid SEGV
  173. * Wed Sep 26 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-2.fc8
  174. - Remove use of PROT_EXEC for coroutine stack (rhbz #307531 )
  175. * Thu Sep 13 2007 Daniel P. Berrange <berrange@redhat.com> - 0.2.0-1.fc8
  176. - Update to 0.2.0 release
  177. * Wed Aug 29 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-5.fc8
  178. - Fixed handling of mis-matched client/server colour depths
  179. * Wed Aug 22 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-4.fc8
  180. - Fix mixed endian handling & BGR pixel format (rhbz #253597)
  181. - Clear widget areas outside of framebuffer (rhbz #253599)
  182. - Fix off-by-one in python demo
  183. * Thu Aug 16 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-3.fc8
  184. - Tweaked post scripts
  185. - Removed docs from sub-packages
  186. - Explicitly set license to LGPLv2+
  187. - Remove use of macro for install rule
  188. * Wed Aug 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-2.fc8
  189. - Added gnutls-devel requirement to -devel package
  190. * Wed Aug 15 2007 Daniel P. Berrange <berrange@redhat.com> - 0.1.0-1.fc8
  191. - Initial official release