From e460c99efa61b47be0a2cf5d1dcab8333788ccde Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:15:59 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.0.0-1mamba;Tue Aug 08 2023] --- README.md | 2 ++ plasma-pstate.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 plasma-pstate.spec diff --git a/README.md b/README.md index b9f5a0f..90e077f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # plasma-pstate +Intel P-state and CPUFreq Manager Widget. + diff --git a/plasma-pstate.spec b/plasma-pstate.spec new file mode 100644 index 0000000..67af703 --- /dev/null +++ b/plasma-pstate.spec @@ -0,0 +1,56 @@ +Name: plasma-pstate +Version: 2.0.0 +Release: 1mamba +Summary: Intel P-state and CPUFreq Manager Widget +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/frankenfruity/plasma-pstate +Source: https://github.com/frankenfruity/plasma-pstate.git/%{version}/plasma-pstate-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libkconfig-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libki18n-devel +BuildRequires: libkpackage-devel +BuildRequires: libkservice-devel +BuildRequires: libplasma-framework-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Intel P-state and CPUFreq Manager Widget. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_libdir}/qt5/plugins/plasma/applets/plasma_applet_pstate.so +%{_datadir}/kservices5/plasma-applet-gr.ictpro.jsalatas.plasma.pstate.desktop +%{_datadir}/metainfo/gr.ictpro.jsalatas.plasma.pstate.appdata.xml +%dir %{_datadir}/plasma/plasmoids/gr.ictpro.jsalatas.plasma.pstate +%{_datadir}/plasma/plasmoids/gr.ictpro.jsalatas.plasma.pstate/* +%doc LICENSE.md + +%changelog +* Tue Aug 08 2023 Silvan Calarco 2.0.0-1mamba +- package created using the webbuild interface