File gnome-do.spec of Package gnome-do

#
# spec file for package gnome-do (Version 0.6.0.0)
#
# 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:           gnome-do
Version:        0.6.0.0
Release:        8
License:        GPL v3 or later
Url:            http://do.davebsd.com/
Source:         %{name}-%{version}.tar.bz2
Patch0:         disable-status-icon.patch
Summary:        A powerful, speedy, and sexy remote control for your GNOME Desktop
Group:          Productivity/Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gnome-keyring-sharp-devel gtk2-devel intltool mono-addins mono-devel notify-sharp
%if 0%{?fedora_version}
BuildRequires:  gnome-sharp-devel gtk-sharp2-devel ndesk-dbus-glib
%else
BuildRequires:  gconf-sharp2 gnome-desktop-sharp2 gnome-sharp2 ndesk-dbus-glib-devel pkg-config
%endif
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%else
%define suse_update_desktop_file true
%endif

%description
GNOME Do allows you to quickly search for many objects present in your
GNOME desktop environment (applications, Evolution contacts, Firefox
bookmarks, files, artists and albums in Rhythmbox, Pidgin buddies) and
perform commonly used commands on those objects (Run, Open, Email,
Chat, Play, etc.).

GNOME Do is inspired by Quicksilver (http://quicksilver.blacktree.com)
and GNOME Launch Box
(http://developer.imendio.com/projects/gnome-launch-box).



Authors:
--------
    David Siegel <djsiegel@gmail.com>
    Richard Harding <rharding@mitechie.com>

%prep
%setup -q
%patch0

%build
# Though the package is no longer noarch only one
# private library is native and all other components
# are still noarch (.NET)
%configure --libdir=%_prefix/lib
make

%install
make install DESTDIR=${RPM_BUILD_ROOT}
%suse_update_desktop_file %name Utilities
mv ${RPM_BUILD_ROOT}%_prefix/lib/pkgconfig ${RPM_BUILD_ROOT}%_prefix/share/
%find_lang %{name}

%files -f %{name}.lang
%defattr(-, root, root)
%_prefix/bin/gnome-do
%dir %_prefix/lib/gnome-do
%_prefix/lib/gnome-do/Do.Addins.dll
%_prefix/lib/gnome-do/Do.Addins.dll.mdb
%_prefix/lib/gnome-do/Do.DBus.dll
%_prefix/lib/gnome-do/Do.DBus.dll.mdb
%_prefix/lib/gnome-do/Do.exe
%_prefix/lib/gnome-do/Do.exe.config
%_prefix/lib/gnome-do/libdo.la
%_prefix/lib/gnome-do/libdo.so
%_datadir/applications/gnome-do.desktop
%_datadir/pkgconfig/do.addins.pc
%_datadir/pkgconfig/do.dbus.pc
%if 0%{?fedora_version} || 0%{?rhel_version}
# Allows overrides of __find_provides in fedora distros... (already set to zero on newer suse distros)
%define _use_internal_dependency_generator 0
%endif
%define __find_provides env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-provides && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-provides ; } | sort | uniq'
%define __find_requires env sh -c 'filelist=($(cat)) && { printf "%s\\n" "${filelist[@]}" | /usr/lib/rpm/find-requires && printf "%s\\n" "${filelist[@]}" | /usr/bin/mono-find-requires ; } | sort | uniq'

%changelog
* Fri Sep 12 2008 aj@suse.de
- language ast is now part of filesystem
* Sat Aug 30 2008 cthiel@suse.de
- fix build
* Tue Aug 26 2008 ajorgensen@novell.com
- Disable status icon by default (can be enabled by preference)
* Mon Aug 25 2008 ajorgensen@novell.com
- Updated to 0.6.0.0
  * Multiple item selection (the “comma” trick in Quicksilver)
  * Auto-enabled Text mode, in all 3 interfaces, with customizable shortcut to invoke manually
  * Breadcrumb bar, for easier file browsing
  * Faster searching by an order of magnitude
  * Threaded plugin loading for faster startups
  * New plugins
  * Faster learning with better matching
* Fri Aug 15 2008 ro@suse.de
- quickfix: gnome-keyring-sharp changed to gnome-keyring-sharp-1.0
* Wed Jul 16 2008 ajorgensen@novell.com
- Update to 0.5.0.1
- New preferences window and plugin manager
- Open with... action reenabled
* Thu Mar 27 2008 ajorgensen@novell.com
- Added a patch to fix versions
- Version 0.4.0.1
- No longer noarch (upstream added a native part)
- No longer requires Tomboy
- Default UI follows GTK theme colors
- New UIs --mini and --glassframe
* Tue Mar 25 2008 ro@suse.de
- added ndesk-dbus-glib-devel to buildreq
* Wed Mar 05 2008 ajorgensen@suse.de
- Version 0.3.2.1
- Resolves a license issue, completes plugin support
* Wed Nov 21 2007 wberrier@novell.com
- Initial package
openSUSE Build Service is sponsored by