2013-07-08 07:28:11 +02:00
|
|
|
#
|
2013-07-22 17:18:45 +02:00
|
|
|
# spec file for package ksystemlog
|
2013-07-08 07:28:11 +02:00
|
|
|
#
|
2015-02-11 16:39:05 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-07-08 07:28:11 +02:00
|
|
|
#
|
|
|
|
# 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
|
2013-07-22 17:18:45 +02:00
|
|
|
BuildRequires: libkde4-devel
|
|
|
|
BuildRequires: oxygen-icon-theme-large
|
2013-07-08 07:28:11 +02:00
|
|
|
Url: http://www.kde.org
|
2015-12-13 14:27:45 +01:00
|
|
|
Version: 15.12.0
|
2013-07-08 07:28:11 +02:00
|
|
|
Release: 0
|
2013-07-22 17:18:45 +02:00
|
|
|
Summary: System Log Viewer Tool
|
2013-07-08 07:28:11 +02:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/Monitoring
|
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
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}
|
|
|
|
|
|
|
|
%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
|