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