LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File evolution-indicator.spec of Package evolution-indicator (Project GNOME:Ayatana)

#
# spec file for evolution-indicator
#
# 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/
#

%define _ubuntu_rel 0ubuntu8

Name:           evolution-indicator
Version:        0.2.20
Release:        1.%{_ubuntu_rel}%{?dist}
License:        GPL-3.0
Summary:        Indicator plugin for Evolution
Url:            http://launchpad.net/evolution-indicator
Group:          System/GUI/Other
Source0:        %{name}-%{version}.tar.gz
Patch0:         01_no_debug_spamming.patch
Patch1:         02_evo_3_4_build_fixes.patch
BuildRequires:  pkgconfig(libgtkhtml-4.0)
BuildRequires:  intltool
BuildRequires:  autoconf
BuildRequires:  libtool
BuildRequires:  automake
BuildRequires:  pkgconfig(cairo)
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(evolution-data-server-1.2)
BuildRequires:  pkgconfig(evolution-shell-3.0)
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(indicate-0.7)
BuildRequires:  pkgconfig(libcanberra)
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(pango)
BuildRequires:  pkgconfig(unity)
Requires:       indicator-messages

%gconf_schemas_prereq

%description
A plugin for Evolution that uses libindicate and libnotify to provide
additional information to the shell about Evolution's state.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
autoreconf -fi
%configure \
  --disable-static

make %{?_smp_mflags}

%install
%make_install
%find_gconf_schemas
# Add indicator-messages indicator
mkdir -p %{buildroot}%{_datadir}/indicators3/messages/applications
echo "%{_datadir}/applications/evolution.desktop" > \
     %{buildroot}%{_datadir}/indicators3/messages/applications/evolution
# Remove libtool archives
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.schemas_list
%defattr(-,root,root)
%doc AUTHORS COPYING
%{_libdir}/evolution/
%{_datadir}/indicators3/

%changelog
* Sun Sep 09 2012 Damian Ivanov <damianatorrpm@gmail.com> - 0.2.20-1
- Initial Ayatan release