File evolution-tray.spec of Package evolution-tray

# spec file for package evolution-tray
# Copyright (c) 2012 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

Name:           evolution-tray
Version:        0.0.8
Release:        0
Summary:        Evolution plugin to minimize in tray
License:        GPL-2.0+
Group:          Productivity/Office/Other
# PATCH-FIX-UPSTREAM evolution-tray-fix-include.patch -- Add missing include; sent upstream by mail
Patch0:         evolution-tray-fix-include.patch
# PATCH-FIX-UPSTREAM evolution-tray-git-00c08ae8.patch -- Update to latest git
Patch1:         evolution-tray-git-00c08ae8.patch
# PATCH-FIX-UPSTREAM evolution-tray-evo-3.4.patch -- Fix build with latest evo 3.3.x; sent upstream by mail
Patch2:         evolution-tray-evo-3.4.patch
# needed for patch1
BuildRequires:  gnome-common
BuildRequires:  intltool
BuildRequires:  pkgconfig(evolution-plugin-3.0)
BuildRequires:  pkgconfig(evolution-shell-3.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libnotify)
Requires:       evolution
Enhances:       evolution
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This plugin is useful when you want to put evolution in the "tray"
(notification area). While in the tray, evolution is minimized and
is not visible in the pager. Evolution can then be restored on any

%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

# needed for patch1
%__make %{?_smp_mflags} V=1

find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print