File notify-osd.spec of Package notify-osd

#
# spec file for package notify-osd
#
# Copyright (c) 2011 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/
#



Name:           notify-osd
Version:        0.9.29
Release:        4.<RELEASE2>
License:        GPLv3+
Summary:        Streamlined Notification Daemon
Url:            https://launchpad.net/notify-osd
Group:          System/X11/Utilities
Source:         http://edge.launchpad.net/notify-osd/lucid/ubuntu-10.04-beta-2/+download/%{name}-%{version}.tar.bz2
# PATCH-FEATURE-UPSTREAM notify-osd-leolik.patch -- Extend the configuration capabilities, patch by Roman Sukochev (Leolik). Taken from https://launchpad.net/~leolik/+archive/leolik. Note that upstream didn't accept this patch.
Patch0:         notify-osd-leolik.patch
# PATCH-FIX-UPSTREAM notify-osd-fix-shadow-corruption.patch nmarques@opensuse.org -- Fixes bubble shadow corruption when composite/openGL isn't enabled, at least for ATI users. Approved upstream: https://code.launchpad.net/~pcjc2/notify-osd/fix_dropshadow
Patch1:         notify-osd-fix-shadow-corruption.patch
BuildRequires:  fdupes
BuildRequires:  pkgconfig(dbus-glib-1)
BuildRequires:  pkgconfig(gconf-2.0)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(libwnck-1.0)
# Both packages provide {_datadir}/dbus-1/services/org.freedesktop.Notifications.service
Conflicts:      notification-daemon
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This notification daemon is an alternative to the notification-daemon
package. It follows the freedesktop notification specification and
introduces some new policies for streamlining the user-experience by
discouraging the use of actions and timeouts.

%prep
%setup -q
%patch0 -p0
%patch1 -p0

%build
%configure
%__make %{?_smp_mflags}

%install
%makeinstall
%fdupes %{buildroot}%{_datadir}/%{name}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO
%{_datadir}/%{name}/
%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
%{_libexecdir}/%{name}

%changelog
openSUSE Build Service is sponsored by