57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 2.0.0-1mamba
|
|
- package created using the webbuild interface
|