File notification-daemon.spec of Package notification-daemon
#
# spec file for package notification-daemon
#
# Copyright (c) 2016 SUSE LINUX 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: notification-daemon
Version: 3.20.0
Release: 0
Summary: Notification Daemon
License: GPL-2.0+
Group: System/Daemons
Url: http://www.galago-project.org/
Source: http://download.gnome.org/sources/notification-daemon/3.20/%{name}-%{version}.tar.xz
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(glib-2.0) >= 2.27.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.5
BuildRequires: pkgconfig(x11)
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
D-BUS notification daemon.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure \
--disable-static
make %{?_smp_mflags} V=1
%install
%make_install
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{name}
%clean
rm -rf %{buildroot}
%post
%desktop_database_post
%postun
%desktop_database_postun
%files
%defattr (-, root, root)
# README is empty
%doc AUTHORS COPYING ChangeLog NEWS
%{_libexecdir}/%{name}
%{_datadir}/applications/%{name}.desktop
%files lang -f %{name}.lang
%changelog