File gnome-logs.spec of Package gnome-logs
#
# spec file for package gnome-logs
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Dominique Leuenberger, Amsterdam, The Netherlands
#
# 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: gnome-logs
Version: 3.26.3
Release: 0
Summary: GNOME System Log Viewer
License: GPL-3.0+
Group: System/X11/Utilities
Url: https://wiki.gnome.org/Design/Apps/SystemLog
Source0: http://download.gnome.org/sources/gnome-logs/3.26/%{name}-%{version}.tar.xz
BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme
BuildRequires: intltool >= 0.50.0
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0) >= 2.39.90
BuildRequires: pkgconfig(glib-2.0) >= 2.43.90
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: pkgconfig(libsystemd)
Recommends: %{name}-lang
%description
A utility for viewing detailed event logs for the system.
%lang_package
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file -r org.gnome.Logs GTK GNOME System Monitor
%files
%doc ChangeLog README COPYING
%doc %{_datadir}/help/C/gnome-logs/
%{_bindir}/%{name}
%dir %{_datadir}/metainfo
%{_datadir}/metainfo/org.gnome.Logs.appdata.xml
%{_datadir}/applications/org.gnome.Logs.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.Logs.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.Logs.gschema.xml
# Own non-standard dirs
%dir %{_datadir}/icons/hicolor/512x512
%dir %{_datadir}/icons/hicolor/512x512/apps
%{_datadir}/icons/hicolor/*/apps/gnome-logs*
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/dbus-1/services/org.gnome.Logs.service
%files lang -f %{name}.lang
%changelog