- Initial package, version 0.3.1 OBS-URL: https://build.opensuse.org/request/show/295388 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/diskmonitor?expand=0&rev=1
107 lines
3.3 KiB
RPMSpec
107 lines
3.3 KiB
RPMSpec
#
|
|
# spec file for package diskmonitor
|
|
#
|
|
# Copyright (c) 2015 SUSE LINUX 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: diskmonitor
|
|
Summary: KDE tools to monitor SMART devices and MDRaid health status
|
|
Version: 0.3.1
|
|
Release: 1
|
|
Url: https://github.com/papylhomme/diskmonitor
|
|
Source0: diskmonitor-%{version}.zip
|
|
Patch0: diskmonitor-underlinking.patch
|
|
Patch1: diskmonitor-desktop.patch
|
|
Patch2: diskmonitor-installdirs.patch
|
|
License: GPL-2.0
|
|
Group: Hardware/Other
|
|
BuildRequires: kconfigwidgets-devel
|
|
BuildRequires: kcoreaddons-devel
|
|
BuildRequires: ki18n-devel
|
|
BuildRequires: kiconthemes-devel
|
|
BuildRequires: knotifications-devel
|
|
BuildRequires: kxmlgui-devel
|
|
BuildRequires: plasma-framework-devel
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5DBus)
|
|
BuildRequires: pkgconfig(Qt5Quick)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: unzip
|
|
BuildRequires: fdupes
|
|
Requires: udisks2 >= 2.1
|
|
Requires: xdg-utils
|
|
Recommends: diskmonitor-lang = %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
KDE tools to monitor SMART devices and MDRaid health status.
|
|
Features a full application and a Plasma applet.
|
|
|
|
Application:
|
|
|
|
- Display S.M.A.R.T. attributes for harddrives supporting it.
|
|
- Start and monitor progress of S.M.A.R.T. Short and Extended self test.
|
|
- Display properties for MDRaid arrays.
|
|
- Start and monitor progress of data scrubbing on MDRaid arrays.
|
|
|
|
Applet:
|
|
|
|
- Display basic health status for storage units.
|
|
- Can be used on the desktop, on a panel or as a systray icon (see systray settings to activate).
|
|
- Use KDE notification for health status change.
|
|
- Highly configurable interface.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q -n diskmonitor-%{version}
|
|
%patch0
|
|
%patch1
|
|
%patch2
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
%find_lang diskmonitor diskmonitor.lang
|
|
%find_lang plasma_applet_org.papylhomme.diskmonitor diskmonitor.lang
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_kf5_sbindir}/diskmonitor
|
|
%dir %{_kf5_qmldir}/org/papylhomme
|
|
%dir %{_kf5_qmldir}/org/papylhomme/diskmonitor
|
|
%{_kf5_qmldir}/org/papylhomme/diskmonitor/libdiskmonitor_qmlplugins.so
|
|
%{_kf5_qmldir}/org/papylhomme/diskmonitor/qmldir
|
|
%{_kf5_sharedir}/applications/diskmonitor.desktop
|
|
%dir %{_kf5_configkcfgdir}
|
|
%{_kf5_configkcfgdir}/diskmonitor.kcfg
|
|
%{_kf5_iconsdir}/hicolor/scalable/apps/diskmonitor.svg
|
|
%{_kf5_notifydir}/diskmonitor.notifyrc
|
|
%{_kf5_servicesdir}/plasma-applet-org.papylhomme.diskmonitor.desktop
|
|
%{_kf5_plasmadir}/plasmoids/
|
|
%doc CHANGELOG LICENSE README.md
|
|
|
|
%files lang -f diskmonitor.lang
|
|
|
|
%changelog
|