File vinagre.spec of Package vinagre

#
# spec file for package vinagre (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:           vinagre
BuildRequires:  fdupes gconf2-devel glib2-devel gnome-common
BuildRequires:  gnome-doc-utils-devel gnome-keyring-devel gnome-panel-devel
BuildRequires:  gnome-vfs2-devel gnutls-devel gtk-vnc-devel gtk2-devel
BuildRequires:  libavahi-gobject-devel libglade2-devel perl-XML-Parser
BuildRequires:  gdbm-devel intltool update-desktop-files
%if %suse_version <= 1020
%define _prefix   /opt/gnome
%define _sysconfdir /etc/%_prefix
BuildRequires:  extra-rpm-macros
%endif
Summary:        VNC client for GNOME
Version:        2.24.1
Release:        1
License:        GPL v2 or later
Group:          Productivity/Networking/Remote Desktop
Source0:        %{name}-%{version}.tar.bz2
Url:            http://www.gnome.org/projects/vinagre/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on
Requires:       %{name}-lang = %{version}
%gconf_schemas_prereq

%description 
Vinagre is a VNC client for GNOME that supports connecting to multiple
machines, browsing for VNC servers via avahi and password storage in
gnome-keyring.



Authors:
--------
    Jonh Wendell - jwendell at gnome dot org 

%lang_package
%prep
%setup -n %{name}-%{version}

%build
%configure \
    --enable-avahi \
    --disable-scrollkeeper
%__make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file vinagre
%suse_update_desktop_file vinagre-file
%find_lang %{name}
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%preun -f %{name}.schemas_preun
%posttrans -f %{name}.schemas_posttrans

%files -f %{name}.schemas_list
%defattr(-, root, root)
%{_bindir}/*
%{_datadir}/applications/*
%doc %{_datadir}/doc/vinagre
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mime/packages/*
%{_datadir}/vinagre
%{_datadir}/omf/vinagre
%{_libdir}/bonobo/servers/*.server
%{_libdir}/vinagre-applet
%{_mandir}/man1/*.1.gz

%files lang -f %{name}.lang

%changelog
* Tue Oct 21 2008 mboman@suse.de
- Update to version 2.24.1:
  + bgo#554995: Create the parent directory before copying the old
  bookmarks file to the new location
  + Translation updates
* 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:
  + Support downscaling
  + Updated translations.
* Tue Sep 02 2008 mboman@novell.com
- Update to version 2.23.91:
  + Minor bug fixes
  + Translation updates
* Mon Jun 23 2008 maw@suse.de
- Update to version 2.23.4:
  + The large version increase is due to vinagre synchronizing its
  version numbers with those of the GNOME project at large
  + Now we grab the keyboard automatically when the focus is on
  Vinagre
  + Add a gconf option to disable all menu shortcuts, useful if
  you want to get rid of having your key presses being
  intercepted by Vinagre
  + Add a panel applet
  + Bugs fixed: bgo#536330, bgo#522100, bgo#515816, bgo#536111,
  bgo#531969, bln#233918, bgo#490841, bgo#530712, bgo#501165,
  bgo#518351, bgo#519145, bgo#531593, bgo#530582, bgo#476942,
  bgo#512918, and bgo#509945
  + Updated translations.
* Fri Apr 11 2008 vuntz@suse.de
- Update to version 0.5.1:
  + Updated translations.
* Thu Mar 13 2008 vuntz@suse.de
- Update to version 0.5.0:
  + Updated translations.
* Wed Mar 05 2008 maw@suse.de
- Update to version 0.4.92:
  + Fix an inconsistency in menu sensitivity
  + Updated translations.
* Tue Feb 19 2008 maw@suse.de
- Update to version 0.4.91:
  + Register ourselves as handler for the vnc:// protocol
  + Allow port numbers < 1024 (bgo#513381)
  + Updated translations
- Include gconf schema in the package.
* Fri Feb 01 2008 maw@suse.de
- Update to version 0.4.90:
  + Improved documentation, incl. a man page
  + Use gio instead of gnome-vfs
  + Depend on gtk-vnc 0.3.2
  + Updated translations.
* Thu Jan 17 2008 jpr@suse.de
- Initial package checkin
openSUSE Build Service is sponsored by