Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:factory
plasma-pstate
plasma-pstate.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasma-pstate.spec of Package plasma-pstate
# # spec file for package plasma-pstate # # Copyright (c) 2021 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: plasma-pstate Version: 1.0.7 Release: 0 Summary: Intel P-state and CPUFreq Manager Widget License: GPL-2.0-or-later Group: System/GUI/KDE URL: https://github.com/AlvinZhu/plasma-pstate Source: https://github.com/AlvinZhu/plasma-pstate/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: CMakeLists.txt BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: cmake(KF5Plasma) BuildArch: noarch %description Intel P-state and CPUFreq Manager is a KDE Plasma widget in order to control the frequencies of Intel CPUs and their integrated GPUs or any modern Intel Processors running in Active Mode with HWP or Active Mode Without HWP. It can also manage the processor's energy consumption through Energy-Performance Preference (EPP) knob (if supported) or the Energy-Performance Bias (EPB) knob (otherwise). %prep %setup -q cp %{SOURCE1} . %build %cmake_kf5 -d build %make_jobs %install mkdir -p %{buildroot}%{_datadir}/polkit-1/actions install -m 775 org.pkexec.set_prefs.policy %{buildroot}%{_datadir}/polkit-1/actions mkdir -p %{buildroot}%{_datadir}/plasma/plasmoids/ %kf5_makeinstall -C build chmod 755 %{buildroot}%{_datadir}/plasma/plasmoids/gr.ictpro.jsalatas.plasma.pstate/contents/code/set_prefs* mkdir -p %{buildroot}%{_unitdir}/ install -m 755 set_perfsd.service %{buildroot}%{_unitdir} %fdupes %{buildroot} %pre %service_add_pre set_perfsd.service %post %service_add_post set_perfsd.service %preun %service_del_preun set_perfsd.service %postun %service_del_postun set_perfsd.service %files %license LICENSE.md %doc README.md %dir %{_kf5_plasmadir}/plasmoids %{_kf5_plasmadir}/plasmoids/gr.ictpro.jsalatas.plasma.pstate/ %{_kf5_servicesdir}/plasma-applet-gr.ictpro.jsalatas.plasma.pstate.desktop %{_kf5_appstreamdir}/gr.ictpro.jsalatas.plasma.pstate.appdata.xml %dir %{_datadir}/polkit-1 %dir %{_datadir}/polkit-1/actions %{_datadir}/polkit-1/actions/org.pkexec.set_prefs.policy %{_unitdir}/set_perfsd.service %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor