77 lines
2.6 KiB
RPMSpec
77 lines
2.6 KiB
RPMSpec
|
Name: supergfxctl-plasmoid
|
||
|
Version: 2.1.1
|
||
|
Release: 0%{?dist}
|
||
|
Summary: KDE Plasma plasmoid for supergfxctl
|
||
|
|
||
|
License: MPL-2.0
|
||
|
URL: https://gitlab.com/Jhyub/supergfxctl-plasmoid
|
||
|
Source0: %{name}-%{version}.tar.gz
|
||
|
Group: System/GUI/KDE
|
||
|
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: gcc-c++
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
BuildRequires: cmake(KF6Config)
|
||
|
BuildRequires: cmake(KF6I18n)
|
||
|
BuildRequires: cmake(KF6Kirigami)
|
||
|
BuildRequires: cmake(KF6Svg)
|
||
|
BuildRequires: cmake(KF6Solid)
|
||
|
BuildRequires: cmake(Plasma)
|
||
|
BuildRequires: cmake(Qt6Core)
|
||
|
BuildRequires: cmake(Qt6Qml)
|
||
|
BuildRequires: fdupes
|
||
|
|
||
|
Requires: hicolor-icon-theme = 0.17
|
||
|
Requires: kf6-kconfig-imports
|
||
|
Requires: kf6-ki18n-imports
|
||
|
Requires: kf6-kirigami-imports
|
||
|
Requires: kf6-ksvg-imports
|
||
|
Requires: qt6-declarative-imports
|
||
|
Requires: supergfxctl
|
||
|
|
||
|
%description
|
||
|
KDE Plasma plasmoid for supergfxctl
|
||
|
|
||
|
%lang_package
|
||
|
|
||
|
%prep
|
||
|
%autosetup
|
||
|
|
||
|
%build
|
||
|
%cmake -DBUILD_WITH_QT6=ON
|
||
|
|
||
|
%install
|
||
|
%cmake_install
|
||
|
|
||
|
%check
|
||
|
%ctest
|
||
|
|
||
|
%fdupes %{buildroot}/%{_prefix}
|
||
|
|
||
|
%files
|
||
|
%license LICENSE
|
||
|
%{_libdir}/qt6/plugins/plasma/applets/dev.jhyub.supergfxctl.so
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-dgpu-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-dgpu-off.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-dgpu-suspended.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-dedicated-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-dedicated.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-compute-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-compute.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-egpu-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-egpu.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-hybrid-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-hybrid.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-integrated-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-integrated.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-vfio-active.svg
|
||
|
%{_datadir}/icons/hicolor/scalable/status/supergfxctl-plasmoid-gpu-vfio.svg
|
||
|
%{_datadir}/metainfo/dev.jhyub.supergfxctl.appdata.xml
|
||
|
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/plasma_applet_dev.jhyub.supergfxctl.mo
|
||
|
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/plasma_applet_dev.jhyub.supergfxctl.mo
|
||
|
|
||
|
%dir
|
||
|
%{_datadir}/plasma/plasmoids/dev.jhyub.supergfxctl
|
||
|
|
||
|
%changelog
|