File gnome-do-plugins.spec of Package gnome-do-plugins

#
# spec file for package gnome-do-plugins (Version 0.8.2.1)
#
# Copyright (c) 2010 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

%define __find_provides sh -c '/usr/lib/rpm/find-provides %{name} | grep -v mono || echo ""'

Name:           gnome-do-plugins
Version:        0.8.2.1
Release:        8
License:        GPLv3
Url:            http://do.davebsd.com
Source:         %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gnome-do-plugins-build-mono-2.6.patch lp520757 vuntz@opensuse.org -- Fix build with mono 2.6
Patch0:         gnome-do-plugins-build-mono-2.6.patch
# PATCH-FIX-UPSTREAM gnome-do-plugins-mono-2.8.patch vuntz@opensuse.org -- Fix build with mono 2.8, http://bazaar.launchpad.net/~do-plugins/do-plugins/trunk/revision/695
Patch1:         gnome-do-plugins-mono-2.8.patch
# PATCH-FIX-UPSTREAM gnome-do-plugins-mono-2.8-sqlite.patch lp#682832 vuntz@opensuse.org -- Fix build of Firefox module, with mono 2.8
Patch2:         gnome-do-plugins-mono-2.8-sqlite.patch
# PATCH-FIX-UPSTREAM gnome-do-plugins-wink.patch vuntz@opensuse.org -- Add wink code instead of relying on external code, http://bazaar.launchpad.net/~do-plugins/do-plugins/trunk/revision/679
Patch3:         gnome-do-plugins-wink.patch
Summary:        Plugins for GNOME Do
Group:          Productivity/Other
BuildRequires:  banshee-1-devel >= 1.4.2
BuildRequires:  evolution-sharp
BuildRequires:  flickrnet
BuildRequires:  gconf-sharp2
BuildRequires:  gnome-do >= 0.8.1
BuildRequires:  gnome-keyring-sharp-devel
BuildRequires:  gnome-sharp2
BuildRequires:  intltool
BuildRequires:  mono-data-sqlite
BuildRequires:  mono-devel
BuildRequires:  ndesk-dbus-glib-devel
BuildRequires:  pkg-config
BuildRequires:  update-desktop-files
BuildRequires:  wnck-sharp
Requires:       gnome-do
Requires:       %{name}-lang = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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.).

This package contains various plugins for GNOME Do.


%lang_package
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0

%build
autoreconf -fi
%configure
%__make %{?jobs: -j%jobs}

%install
%makeinstall
%find_lang %{name}

%files
%defattr(-, root, root)
%doc COPYING AUTHORS COPYRIGHT
%{_libdir}/gnome-do/plugins

%files lang -f %{name}.lang

%changelog