# # spec file for package ksystemlog (Version 4.7.80_20111122) # # 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: ksystemlog BuildRequires: libkde4-devel oxygen-icon-theme-large Url: http://www.kde.org Version: 4.10.90 Release: 0 License: GPL-2.0 Group: System/Monitoring Summary: System Log Viewer Tool Source0: %{name}-%{version}.tar.xz Patch1: ksystemlog_suse_log_locations.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires %description This program is developed for use by beginner users, who do not know how to find information about their Linux system and how the log files are in their computer. But it is also designed for advanced users, who want to quickly see problems occurring on their server. %prep %setup -q -n %{name}-%{version} %patch1 -p1 %build %cmake_kde4 -d build %make_jobs %install cd build %makeinstall cd .. %suse_update_desktop_file ksystemlog System Monitor %kde_post_install for i in {16,22,32,48,64,128}; do mkdir -p $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps cp /usr/share/icons/oxygen/"$i"x"$i"/apps/utilities-log-viewer.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/"$i"x"$i"/apps/; done %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING %{_kde4_bindir}/ksystemlog %{_kde4_applicationsdir}/ksystemlog.desktop %{_kde4_htmldir}/en/ksystemlog/ %{_kde4_appsdir}/ksystemlog/ %{_kde4_iconsdir}/hicolor/*/apps/utilities-log-viewer.* %changelog