File kcollectd.spec of Package kcollectd
#
# spec file for package kcollectd
#
# Copyright (c) 2015-2022, Martin Hauke <mardnh@gmx.de>
#
# 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: kcollectd
Version: 0.12.0
Release: 0
Summary: Simple collectd graphing frontend for KDE
License: GPL-3.0-or-later
URL: https://www.antonioerusso.com/projects/kcollectd/
Source: https://gitlab.com/aerusso/kcollectd/-/archive/v%{version}/kcollectd-v%{version}.tar.bz2
BuildRequires: cmake
BuildRequires: extra-cmake-modules
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: libboost_filesystem-devel
BuildRequires: rrdtool-devel
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5GuiAddons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5KIO)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5)
BuildRequires: cmake(Qt5Widgets)
Recommends: collectd
%description
Kcollectd is a graphical KDE-frontend to collectd that allows to view RRD files
that have been created by collectd.
It allows to easily navigate in the data with the mouse and can be used as a
chart recorder.
%lang_package
%prep
%setup -q -n %{name}-v%{version}
%build
%cmake
%make_build
%install
%cmake_install
%find_lang %{name} --with-man --all-name
%files
%license COPYING
%doc AUTHORS ChangeLog README.md
%{_bindir}/kcollectd
%{_datadir}/applications/kcollectd.desktop
%{_datadir}/mime/packages/kcollectd.xml
%doc %lang(en) %{_kf5_htmldir}/en/kcollectd/
%{_datadir}/icons/hicolor/*/*/*
%{_mandir}/man1/kcollectd.1%{?ext_man}
%files lang -f %{name}.lang
%changelog