File vino.spec of Package vino

#
# spec file for package vino (Version 2.24.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           vino
BuildRequires:  fdupes gnome-common gnome-desktop-devel gnutls-devel gtk-doc
BuildRequires:  intltool libavahi-glib-devel libglade2-devel libidl-devel
BuildRequires:  libnotify-devel perl-XML-Parser scrollkeeper sharutils
BuildRequires:  gnome-keyring-devel update-desktop-files
License:        GPL v2 or later
Group:          Productivity/Networking/Remote Desktop
Version:        2.24.1
Release:        1
Requires:       %{name}-lang = %{version}
Summary:        GNOME VNC Server
Source:         vino-%{version}.tar.bz2
Url:            http://www.gnome.org
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq

%description
A VNC Server for GNOME



Authors:
--------
    This is just another re-incarnation of many other similar projects:
     
     + libvncserver by Johannes E. Schindelin
         which in turn is based on:
           - OSXvnc by Dan McGuirk
           - The original Xvnc by AT&T Laboratories, Cambridge
           - TightVNC by Const Kaplinsky
           - RealVNC by James "Wez" Weatherall
          
     + krfb, KDE's desktop sharing server, by Tim Jansen
     + x11vnc.c (from libvncserver) by Karl J. Runge
     + x0rfbserver, the original native X vnc server, by Jens Wagner
     
    Much code and ideas from each of those projects is re-used here.

%lang_package
%prep
%setup

%build
%configure\
    --libexecdir=%{_prefix}/lib/vino \
    --enable-avahi \
    --enable-gnome-keyring \
    --enable-http-server=yes
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file -r vino-preferences GNOME Settings AdvancedSettings System RemoteAccess X-SuSE-ControlCenter-System
%suse_update_desktop_file $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/vino-server.desktop
%find_lang %{name}
%find_gconf_schemas
cat %{name}.schemas_list >%{name}.lst
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%defattr (-, root, root)
%{_bindir}/vino-preferences
%{_bindir}/vino-passwd
%{_datadir}/applications/*.desktop
%{_datadir}/vino
%{_datadir}/gnome/autostart/vino-server.desktop
%{_datadir}/vino/*.glade
%{_prefix}/lib/vino

%files lang -f %{name}.lang

%changelog
* Tue Oct 21 2008 mboman@suse.de
- Update to version 2.24.1:
  + bgo#555105: Propagates port changes via avahi.
  + Update label in vino-preferences when the port changes.
  + bgo#161180: Hopefully fix an window empty bug.
  + lp#266932: Only restore the wallpaper when the last
  client disconnects.
  + Translation updates
* Fri Oct 10 2008 mboman@suse.de
- Enable gconf and http server
* Tue Sep 23 2008 mboman@suse.de
- Update to version 2.24.0:
  + Translation updates
* Tue Sep 09 2008 maw@suse.de
- Update to version 2.23.92:
  + Add an icon to the session desktop file
  + Updated translations.
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91:
  + Dropped bonobo activation. Vino is controlled by gnome-session.
  + Made vino-server a gnome-session client, still using libgnomeui.
  + The directory session/ is now obsolete.
  + Returns gboolean instead of void. Returns FALSE if there is another
  instance running.
  + Don't use bonobo shell function.
* Sat Aug 30 2008 mboman@novell.com
- Update to version 2.23.90:
  + Added the ability to hide the background on connections.
  + New compile-time option (--enable-libunique), allows only one
  instance of capplet running.
  + Added vino-server.desktop file required by new gnome-session.
  + Get rid of libgnome[ui] in the capplet.
  + Minor bug fixes
  + Translations
* Sat Aug 02 2008 captain.magnus@opensuse.org
- Update to version 2.23.5:
  + New command-line tool, vino-passwd, which allows you to change
  vino password. Similar to Unix passwd command. (Jorge Pereira)
  + Bug bgo#534262 - cyclic clipboard propagation (Jonh Wendell)
  + Minor bug fixes
* Mon Jun 23 2008 maw@suse.de
- Update to version 2.22.2:
  + Bug fixed: bgo#534262.
* Fri Apr 11 2008 vuntz@suse.de
- Update to version 2.22.1:
  + Don't lock the screen in fake connections
  + Updated translations.
- Stop abusing the /usr/lib/gnome-panel/ and use /usr/lib/vino
- Change libidl build-requires to libidl-devel
* Thu Mar 13 2008 vuntz@suse.de
- Update to version 2.22.0:
  + Updated translations.
* Wed Mar 05 2008 maw@suse.de
- Update to version 2.21.92:
  + Fix some crashes
  + Build against recent glibcs
  + Updated translations.
* Wed Feb 20 2008 maw@suse.de
- Update to version 2.21.91:
  + Updated translations.
* Fri Feb 01 2008 maw@suse.de
- Update to version 2.21.90:
  + Updated translations.
* Thu Dec 13 2007 jpr@suse.de
- Update to 2.21.3
  + New gconf key to control the status icon behaviour
  + Added more options in the configuration applet
  + Handles clipboard copy and paste
  + Don't ship icons/ directory anymore
  + Fixes some key presses issues
  + Only show 'disconnect all' popup item in status icon if we have
  more than one client connected
  + Better handles disconnection from avahi-daemon
  + Minor fixes
  + Update Translations
- Update to 2.20.1
  + Update Translations
- enable avahi support with configure
- enable notify support
- remove vino-desktop.patch, %%suse_update_desktop_file will do the
  same thing
* Thu Oct 11 2007 sbrabec@suse.cz
- Use correct binding specific avahi package instead of
  mDNSResponder.
* Mon Sep 17 2007 gekker@suse.de
- Update to version 2.20.0
  + Update Translations.
* Mon Sep 10 2007 maw@suse.de
- Update to version 2.19.92:
  + Bugs (bugzilla.gnome.org) fixed: #353304 and #383147
  + Updated translations.
* Fri Aug 31 2007 maw@suse.de
- Update to version 2.19.90:
  + Include hostname in Avahi service name
  + Show the configure summary
  + Minor fixes
  + Updated translations.
* Fri Aug 10 2007 coolo@suse.de
- use %%version after the definition of Version
* Tue Aug 07 2007 maw@suse.de
- Split off a -lang subpackage
- Use %%fdupes.
* Thu Aug 02 2007 maw@suse.de
- Update to version 2.19.5
- New features: Show http server address in vino-preferences if
  it's compiled with http support; new configuration option
  (gconf key) 'lock_screen_on_disconnect', and builds against
  libnotify if it's available
- Bugs (bugzilla.gnome.org) fixed: #330690, #450074, #445525,
  [#440429], #436460, and #431627
- Updated translations.
* Thu Jun 07 2007 sbrabec@suse.cz
- Removed invalid desktop Category "Application" (#254654).
* Wed May 09 2007 pgajdos@suse.cz
- removed gnome-icon-theme from BuildRequieres [#247450]
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Thu Apr 12 2007 maw@suse.de
- Update to version 2.18.1
- Bug fixes (all bug numbers are on bugzilla.gnome.org):
  + Fix the non-XDAMAGE, non-XSHM support, bug #423887 (Mark)
  + Fix crash on vino_input_init(), bug #425863 (Jonh, Mark)
  + Fix crashes on critical warning in vino-preferences applet,
  bug #418836 and bug #423027 (Halton Huo, Jonh)
- Updated translations for the da, es, eu, and gl locales.
* Mon Apr 09 2007 maw@suse.de
- Update to version 2.18.0
- Fixes for bugzilla.gnome.org #414905, #412559, #394005, #394462,
  [#357778], #400260, #391850, #394523, and #391848.
* Fri Mar 09 2007 maw@suse.de
- Remove the removal of the po/no stuff.
* Fri Mar 09 2007 maw@suse.de
- Update to version 2.17.5
  + Add D-Bus support so that capplet can find out the port number
  from the server (Jonh, Mark)
  + Display a notification bubble when someone connects if we
  haven't already prompted the user for authorization (Jonh, Mark)
  + Replace deprecated GnomeIconTheme usage with GtkIconTheme (Christian Persch)
  + Don't mark GObject property descriptions for translation (Mark)
  + Add a status icon allowing you to disconnect users
  (Jonh Wendell, Christian Persch, Mark, Calum, Andre Klapper)
  + Hide the help button in the prompt dialog (Mark)
  + Fix broken keyboard under Xsun (Halton Huo, Mark)
  + Fix the desktop name remoted to the client (Jonh Wendell)
  + Fix the stringification of the client hostname (Jonh Wendell)
  + Add "local_only" GConf key for use with SSH tunnels (Mark, Shaya Potter)
  + Add "alternative_port" GConf key (Mark, John Wendell)
  + Add ability to use gnome-keyring to store VNC password (Mark, Steven Zhang)
  + Add IPv6 support (Mark, Srirama Sharma)
  + Update for RFB 3.8 (Dan Winship)
  + Fix for X servers which don't support XShm (Dan Winship)
  + Fix CoRRE encoding problem (Mark)
  + Back-port some fixes from upstream libvncserver (Mark)
  + Add GTK category to .desktop file (Mark)
  + Mark some weird glade strings as non-translatable (Mark)
  + Fix icons not changing when icon theme changes (Mark)
  + Use glib's base64 functions instead of our own (Mark)
  + Use GtkLinkButton instead of VinoURL (Mariano Suárez-Alvarez)
  + Fix hang on wrong login (Gary Coady)
- Remove upstreamed vino-xgl.patch.
* Mon Feb 05 2007 sbrabec@suse.cz
- Fixed Categories.
* Fri Jan 12 2007 sbrabec@suse.cz
- Spec file cleanup.
* Mon Dec 18 2006 maw@suse.de
- Move to /usr.
* Fri Aug 04 2006 jhargadon@suse.de
- update to version 2.13.5
- Publish services over mDNS
- Fix keyboard brokeness with some X server configurations
- Fix crash with unicode mapped keysyms
- Added translations
* Thu May 11 2006 danw@suse.de
- Add fallback code so this still works if the X server doesn't
  support XShm shared pixmaps (eg, Xgl). #173173
* Thu Apr 13 2006 sbrabec@suse.cz
- Call %%suse_update_desktop_file.
- Use new control-center Categories instead of old ones.
* Tue Feb 28 2006 sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Sat Feb 25 2006 aj@suse.de
- Reduce BuildRequires.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 31 2005 rodrigo@suse.de
- Added vino-desktop.patch (#131371)
* Tue Sep 06 2005 sbrabec@suse.cz
- Updated to version 2.12.0.
* Thu Aug 25 2005 gekker@suse.de
- Update to version 2.11.92
* Tue Aug 02 2005 sbrabec@suse.cz
- Updated to version 2.11.90.
* Tue Jun 21 2005 gekker@suse.de
- Update to version 2.11.1.2
* Wed Mar 09 2005 gekker@suse.de
- Update to version 2.10.0 (GNOME 2.10).
* Sun Jan 23 2005 ro@suse.de
- fix build on lib64
* Fri Jan 21 2005 clahey@suse.de
- Initial import.
openSUSE Build Service is sponsored by