Accepting request 835673 from home:Vogtinator:plasma5.20

New package

OBS-URL: https://build.opensuse.org/request/show/835673
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-disks?expand=0&rev=1
This commit is contained in:
Christophe Giboudeaux 2020-09-20 10:06:47 +00:00 committed by Git OBS Bridge
commit 27abfbdecf
7 changed files with 137 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74dfc55eae1fc9c4b41f816a848d54cc547e1ec8f95f9360ac19b2613a4e979d
size 59008

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEs8s2ZVJUC+Bu6a2XEZaMRJKMrvwFAl9jSLsACgkQEZaMRJKM
rvx4lwf8D01JdqmWnJCaf9fzldflQz3gJIwT7ox5rEiihtQI8EKEgcnSzPuXzgrD
CRoIcB4LpoW/1DIi7Y4wYXxSns4PstRPVVMWC3zQGpPXI9bmREI6NNmmJLVhOYDw
BBupTsprM2yEuHMpWxUVFA1H4/mgBVh3nqpUDm5/XE9OBQNi2kk69O5PfegK9AwR
DMFsmdhmimPp8x2CFo4sqmuvAd0Er9usC6f47dwZvKO004N1KjvjGyEFZZiXFW/A
hptHuxarOEQg/R5pkMUI+JTgD39Dj780Z6gEBbd1fQyLf3yig+aQ6bxql7K0JYR+
wlDKNeEfriFgnxyk4chTA4FxPT0CXA==
=PPOS
-----END PGP SIGNATURE-----

4
plasma-disks.changes Normal file
View File

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Sat Sep 19 21:00:16 UTC 2020 - Fabian Vogt <fabian@ritter-vogt.de>
- Initial commit

95
plasma-disks.spec Normal file
View File

@ -0,0 +1,95 @@
#
# spec file for package plasma-disks
#
# Copyright (c) 2020 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 https://bugs.opensuse.org/
#
%define kf5_version 5.74.0
%bcond_without lang
Name: plasma-disks
Version: 5.19.90
Release: 0
Summary: Plasma service for monitoring disk health
License: GPL-2.0-only OR GPL-3.0-only
Group: System/GUI/KDE
Url: http://www.kde.org
Source: plasma-disks-%{version}.tar.xz
%if %{with lang}
Source1: plasma-disks-%{version}.tar.xz.sig
Source2: plasma.keyring
%endif
BuildRequires: cmake >= 3.16
BuildRequires: extra-cmake-modules >= %{kf5_version}
BuildRequires: cmake(KF5CoreAddons) >= %{kf5_version}
BuildRequires: cmake(KF5DBusAddons) >= %{kf5_version}
BuildRequires: cmake(KF5Notifications) >= %{kf5_version}
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
BuildRequires: cmake(KF5Solid) >= %{kf5_version}
BuildRequires: cmake(KF5Service) >= %{kf5_version}
BuildRequires: cmake(KF5KIO) >= %{kf5_version}
BuildRequires: cmake(KF5Auth) >= %{kf5_version}
BuildRequires: cmake(KF5Declarative) >= %{kf5_version}
BuildRequires: cmake(Qt5Core) >= 5.15.0
BuildRequires: cmake(Qt5Gui)
BuildRequires: cmake(Qt5Test)
Requires: /usr/sbin/smartctl
%description
Monitors S.M.A.R.T. capable devices for imminent failure and informs the user.
%lang_package
%prep
%autosetup -p1
%build
%cmake_kf5 -d build -- -DBUILD_TESTING=ON
%cmake_build
%check
export CTEST_OUTPUT_ON_FAILURE=1
export QT_QPA_PLATFORM=offscreen
make %{?_smp_mflags} -C build VERBOSE=1 test
%install
%make_install -C build
%if %{with lang}
%find_lang %{name} --with-man --all-name
%endif
%files
%license LICENSES/*
%dir %{_kf5_plugindir}/kcms/
%{_kf5_plugindir}/kcms/smart.so
%dir %{_kf5_plugindir}/kf5/
%dir %{_kf5_plugindir}/kf5/kded/
%{_kf5_plugindir}/kf5/kded/smart.so
%{_kf5_notifydir}/org.kde.kded.smart.notifyrc
%dir %{_datadir}/kpackage/
%dir %{_datadir}/kpackage/kcms/
%{_datadir}/kpackage/kcms/plasma_disks/
%{_kf5_servicesdir}/smart.desktop
%{_kf5_appstreamdir}/org.kde.plasma.disks.metainfo.xml
%{_datadir}/dbus-1/system-services/org.kde.kded.smart.service
%{_kf5_dbuspolicydir}/org.kde.kded.smart.conf
%{_datadir}/polkit-1/actions/org.kde.kded.smart.policy
%{_kf5_libdir}/libexec/kauth/kded-smart-helper
%if %{with lang}
%files lang -f %{name}.lang
%endif
%changelog

BIN
plasma.keyring Normal file

Binary file not shown.