File gnome-system-log.spec of Package gnome-system-log
#
# spec file for package gnome-system-log
#
# Copyright (c) 2013 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: gnome-system-log
Version: 3.9.90
Release: 0
Summary: Utility to view your system logs
License: GPL-2.0+
Group: System/GUI/GNOME
Url: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-system-log/3.9/%{name}-%{version}.tar.xz
BuildRequires: intltool >= 0.4.0
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: zlib-devel
BuildRequires: pkgconfig(glib-2.0) >= 2.31.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.11
Recommends: %{name}-lang
Conflicts: gnome-utils < 3.3.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%glib2_gsettings_schema_requires
%description
System Log Viewer is a graphical, menu-driven viewer that you can use
to view and monitor your system logs. System Log Viewer comes with a
few functions that can help you manage your logs, including a log
monitor and log statistics display.
System Log Viewer is useful if you are new to system administration
because it provides an easier, more user-friendly display of your
logs than a text display of the log file. It is also useful for more
experienced administrators, as it contains a monitor to enable you to
continuously monitor crucial logs.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure --disable-scrollkeeper
make %{?_smp_mflags}
%install
%make_install
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%icon_theme_cache_post HighContrast
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%icon_theme_cache_postun HighContrast
%files
%defattr(-,root,root)
%doc COPYING COPYING.docs NEWS
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/%{name}
%{_datadir}/icons/hicolor/*/apps/logview.png
%{_datadir}/icons/HighContrast/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-log.gschema.xml
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings
%{_datadir}/GConf/gsettings/logview.convert
%{_mandir}/man1/%{name}.1%{?ext_man}
%files lang -f %{name}.lang
%changelog