This commit is contained in:
commit
840b010b09
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
@ -0,0 +1,24 @@
|
||||
From 121ffde065273508a63b34fe9633e324a245fdd3 Mon Sep 17 00:00:00 2001
|
||||
From: Christophe Giboudeaux <christophe@krop.fr>
|
||||
Date: Tue, 19 Jan 2021 10:50:48 +0100
|
||||
Subject: [PATCH] Install the application icon in the right directory
|
||||
|
||||
---
|
||||
app/CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
|
||||
index 20afc5e..76ee819 100644
|
||||
--- a/app/CMakeLists.txt
|
||||
+++ b/app/CMakeLists.txt
|
||||
@@ -35,6 +35,6 @@ target_link_libraries( diskmonitor
|
||||
)
|
||||
|
||||
install(TARGETS diskmonitor ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
||||
-install(FILES icon.svg RENAME diskmonitor.svg DESTINATION "${CMAKE_INSTALL_PREFIX}/share/icons/" )
|
||||
+install(FILES icon.svg RENAME diskmonitor.svg DESTINATION "${ICON_INSTALL_DIR}/hicolor/scalable/apps/" )
|
||||
install(FILES diskmonitor.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications/" )
|
||||
|
||||
--
|
||||
2.29.2
|
||||
|
3
diskmonitor-0.3.4.tar.gz
Normal file
3
diskmonitor-0.3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5b244347b61184acb178ae600a06a0883f65807cbcfab5bb1d15353ee0faf30a
|
||||
size 56303
|
65
diskmonitor.changes
Normal file
65
diskmonitor.changes
Normal file
@ -0,0 +1,65 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 20 12:10:24 UTC 2024 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Stop using the %suse_update_desktop_file macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 14 13:18:06 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Fix installation with plasma-framework 5.89.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 18 08:42:27 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Fix the %files section. plasma-framework >= 5.84 doesn't install
|
||||
desktop files in %_kf5_servicesdir anymore.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 19 09:54:36 UTC 2021 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Replace diskmonitor-installdirs.patch with
|
||||
0001-Install-the-application-icon-in-the-right-directory.patch
|
||||
- Drop diskmonitor-desktop.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 16 17:50:53 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 0.3.4
|
||||
* Include Slovenian translation
|
||||
* Document package installation
|
||||
* Various fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 27 11:44:55 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Update to 0.3.3.
|
||||
No changelog available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 25 18:39:41 UTC 2018 - christophe@krop.fr
|
||||
|
||||
- Update to 0.3.2.
|
||||
* Fix compilation problem with KLocalizedString
|
||||
- Drop diskmonitor-underlinking.patch (fixed upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 5 18:19:37 UTC 2016 - asterios.dramis@gmail.com
|
||||
|
||||
- Fix file list (add appdata.xml file) for Leap 42.2 and
|
||||
openSUSE > 13.2. Added Source URL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 31 15:52:37 UTC 2015 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Use cmake() for kf5 and qt5 BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 08 10:22:27 UTC 2015 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Initial package, version 0.3.1:
|
||||
- Added patch diskmonitor-desktop.patch to fix categories in
|
||||
desktop file and changed tag 'exec' to run diskmonitor as root
|
||||
after prompting for the root password (required by udisks2).
|
||||
- Added patch diskmonitor-installdirs.patch to fix install dirs.
|
||||
- Added patch diskmonitor-underlinking.patch to link settings
|
||||
against I18n.
|
99
diskmonitor.spec
Normal file
99
diskmonitor.spec
Normal file
@ -0,0 +1,99 @@
|
||||
#
|
||||
# spec file for package diskmonitor
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: diskmonitor
|
||||
Version: 0.3.4
|
||||
Release: 0
|
||||
Summary: Tools to monitor SMART devices and MDRaid health status
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/papylhomme/diskmonitor
|
||||
Source0: https://github.com/papylhomme/diskmonitor/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch0: 0001-Install-the-application-icon-in-the-right-directory.patch
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: cmake(KF5ConfigWidgets)
|
||||
BuildRequires: cmake(KF5CoreAddons)
|
||||
BuildRequires: cmake(KF5I18n)
|
||||
BuildRequires: cmake(KF5IconThemes)
|
||||
BuildRequires: cmake(KF5Notifications)
|
||||
BuildRequires: cmake(KF5Plasma)
|
||||
BuildRequires: cmake(KF5WindowSystem)
|
||||
BuildRequires: cmake(KF5XmlGui)
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5DBus)
|
||||
BuildRequires: cmake(Qt5Quick)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
Requires: udisks2 >= 2.1
|
||||
|
||||
%description
|
||||
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
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%find_lang diskmonitor diskmonitor.lang
|
||||
%find_lang plasma_applet_org.papylhomme.diskmonitor diskmonitor.lang
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG
|
||||
%dir %{_kf5_configkcfgdir}
|
||||
%dir %{_kf5_qmldir}/org/
|
||||
%{_kf5_appstreamdir}/org.papylhomme.diskmonitor.appdata.xml
|
||||
%{_kf5_bindir}/diskmonitor
|
||||
%{_kf5_configkcfgdir}/diskmonitor.kcfg
|
||||
%{_kf5_iconsdir}/hicolor/scalable/apps/diskmonitor.svg
|
||||
%{_kf5_notifydir}/diskmonitor.notifyrc
|
||||
%{_kf5_plasmadir}/plasmoids/
|
||||
%{_kf5_qmldir}/org/papylhomme/
|
||||
%if %{pkg_vcmp plasma-framework-devel < 5.84} || %{pkg_vcmp plasma-framework-devel > 5.89}
|
||||
%{_kf5_servicesdir}/plasma-applet-org.papylhomme.diskmonitor.desktop
|
||||
%endif
|
||||
%{_kf5_sharedir}/applications/diskmonitor.desktop
|
||||
|
||||
%files lang -f diskmonitor.lang
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user