File notification-daemon.spec of Package notification-daemon

# spec file for package notification-daemon
# 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

Name:           notification-daemon
Version:        0.5.0
Release:        3
License:        GPLv2+
Summary:        Notification Daemon
Group:          System/Daemons
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  dbus-1-glib-devel
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  intltool
BuildRequires:  libcanberra-devel
BuildRequires:  libnotify-devel
BuildRequires:  libwnck-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

D-BUS notification daemon.

%setup -q

        --disable-static \
	--libexecdir=%{_libexecdir}/%{name}-1.0 \
make %{?_smp_mflags}

find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%suse_update_desktop_file notification-properties X-SuSE-ControlCenter-LookAndFeel
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}

rm -rf %{buildroot}

%pre -f %{name}.schemas_pre


%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun


%files -f %{name}.schemas_list
%defattr (-, root, root)
# README is empty
%if "%{_libdir}" != "%{_prefix}/lib"

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by