2024-01-06 10:28:32 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
|
|
|
Name: powerdevil
|
2024-01-06 10:28:33 +01:00
|
|
|
Version: 5.15.3
|
2024-01-06 10:28:32 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: KDE Plasma 5 power management
|
|
|
|
Group: Graphical Desktop/Applications/Configuration
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.kde.org
|
|
|
|
Source: https://download.kde.org/stable/plasma/%{version}/powerdevil-%{version}.tar.xz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libbluez-qt-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libkactivities5-devel
|
|
|
|
BuildRequires: libkauth-devel
|
|
|
|
BuildRequires: libkbookmarks-devel
|
|
|
|
BuildRequires: libkcodecs-devel
|
|
|
|
BuildRequires: libkcompletion-devel
|
|
|
|
BuildRequires: libkconfig-devel
|
|
|
|
BuildRequires: libkconfigwidgets-devel
|
|
|
|
BuildRequires: libkcoreaddons-devel
|
|
|
|
BuildRequires: libkcrash-devel
|
|
|
|
BuildRequires: libkdbusaddons-devel
|
|
|
|
BuildRequires: libkdelibs4support-devel
|
|
|
|
BuildRequires: libkglobalaccel-devel
|
|
|
|
BuildRequires: libkguiaddons-devel
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libkiconthemes-devel
|
|
|
|
BuildRequires: libkidletime-devel
|
|
|
|
BuildRequires: libkio-devel
|
|
|
|
BuildRequires: libkitemviews-devel
|
|
|
|
BuildRequires: libkjobwidgets-devel
|
|
|
|
BuildRequires: libknotifications-devel
|
|
|
|
BuildRequires: libknotifyconfig-devel
|
|
|
|
BuildRequires: libkparts-devel
|
|
|
|
BuildRequires: libkscreen-devel
|
|
|
|
BuildRequires: libkservice-devel
|
|
|
|
BuildRequires: libktextwidgets-devel
|
|
|
|
BuildRequires: libkunitconversion-devel
|
|
|
|
BuildRequires: libkwayland-devel
|
|
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
|
|
BuildRequires: libkwindowsystem-devel
|
|
|
|
BuildRequires: libkxmlgui-devel
|
|
|
|
BuildRequires: libnetworkmanager-qt5-devel
|
|
|
|
BuildRequires: libplasma-workspace-devel
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libsolid-devel
|
|
|
|
BuildRequires: libsonnet-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libudev-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
KDE Plasma 5 power management.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake_kde5 -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -f %{name}5_qt.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.kde.powerdevil.discretegpuhelper.conf
|
|
|
|
%{_sysconfdir}/xdg/autostart/powerdevil.desktop
|
|
|
|
%{_libdir}/qt5/plugins/kcm_powerdevil*.so
|
|
|
|
%{_libdir}/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
|
|
|
|
%{_libdir}/qt5/plugins/powerdevil*.so
|
|
|
|
%{_libexecdir}/kf5/kauth/backlighthelper
|
|
|
|
%{_libexecdir}/kf5/kauth/discretegpuhelper
|
|
|
|
%{_libexecdir}/org_kde_powerdevil
|
|
|
|
%{_datadir}/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
|
|
|
|
%{_datadir}/dbus-1/system-services/org.kde.powerdevil.discretegpuhelper.service
|
|
|
|
%{_datadir}/knotifications5/powerdevil.notifyrc
|
|
|
|
%{_datadir}/kservices5/powerdevil*.desktop
|
|
|
|
%{_kde5_servicetypesdir}/powerdevilaction.desktop
|
|
|
|
%{_datadir}/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy
|
|
|
|
%{_datadir}/polkit-1/actions/org.kde.powerdevil.discretegpuhelper.policy
|
2024-01-06 10:28:32 +01:00
|
|
|
#%{_datadir}/kconf_update/powerdevil_move_shortcuts.upd
|
2024-01-06 10:28:32 +01:00
|
|
|
%dir %{_datadir}/doc/HTML/en/kcontrol/powerdevil
|
|
|
|
%{_datadir}/doc/HTML/en/kcontrol/powerdevil/*
|
2024-01-06 10:28:32 +01:00
|
|
|
%lang(ca) %{_datadir}/doc/HTML/ca/kcontrol/powerdevil
|
|
|
|
%lang(de) %{_datadir}/doc/HTML/de/kcontrol/powerdevil
|
|
|
|
%lang(et) %{_datadir}/doc/HTML/et/kcontrol/powerdevil
|
|
|
|
%lang(it) %{_datadir}/doc/HTML/it/kcontrol/powerdevil
|
|
|
|
%lang(nl) %{_datadir}/doc/HTML/nl/kcontrol/powerdevil
|
|
|
|
%lang(pt) %{_datadir}/doc/HTML/pt/kcontrol/powerdevil
|
|
|
|
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kcontrol/powerdevil
|
2024-01-06 10:28:32 +01:00
|
|
|
%lang(ru) %{_datadir}/doc/HTML/ru/kcontrol/powerdevil
|
2024-01-06 10:28:32 +01:00
|
|
|
%lang(sv) %{_datadir}/doc/HTML/sv/kcontrol/powerdevil
|
2024-01-06 10:28:32 +01:00
|
|
|
%lang(uk) %{_datadir}/doc/HTML/uk/kcontrol/powerdevil
|
2024-01-06 10:28:32 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpowerdevilconfigcommonprivate.so
|
|
|
|
%{_libdir}/libpowerdevilconfigcommonprivate.so.*
|
|
|
|
%{_libdir}/libpowerdevilcore.so
|
|
|
|
%{_libdir}/libpowerdevilcore.so.*
|
|
|
|
%{_libdir}/libpowerdevilui.so
|
|
|
|
%{_libdir}/libpowerdevilui.so.*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:28:33 +01:00
|
|
|
* Wed Mar 13 2019 Automatic Build System <autodist@mambasoft.it> 5.15.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:33 +01:00
|
|
|
* Wed Feb 27 2019 Automatic Build System <autodist@mambasoft.it> 5.15.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:33 +01:00
|
|
|
* Wed Feb 20 2019 Automatic Build System <autodist@mambasoft.it> 5.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 17 2019 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:33 +01:00
|
|
|
* Fri Jan 11 2019 Automatic Build System <autodist@mambasoft.it> 5.14.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:33 +01:00
|
|
|
* Mon Dec 03 2018 Automatic Build System <autodist@mambasoft.it> 5.14.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:33 +01:00
|
|
|
* Sun Nov 11 2018 Automatic Build System <autodist@mambasoft.it> 5.14.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:33 +01:00
|
|
|
* Thu Oct 25 2018 Automatic Build System <autodist@mambasoft.it> 5.14.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Sun Oct 21 2018 Automatic Build System <autodist@mambasoft.it> 5.14.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Oct 16 2018 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Sep 05 2018 Automatic Build System <autodist@mambasoft.it> 5.13.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Fri Aug 03 2018 Automatic Build System <autodist@mambasoft.it> 5.13.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Jul 11 2018 Automatic Build System <autodist@mambasoft.it> 5.13.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Jun 27 2018 Automatic Build System <autodist@mambasoft.it> 5.13.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Jun 20 2018 Automatic Build System <autodist@mambasoft.it> 5.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed May 02 2018 Automatic Build System <autodist@mambasoft.it> 5.12.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Mon Apr 09 2018 Automatic Build System <autodist@mambasoft.it> 5.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Mar 07 2018 Automatic Build System <autodist@mambasoft.it> 5.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Feb 27 2018 Automatic Build System <autodist@mambasoft.it> 5.12.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 14 2018 Automatic Build System <autodist@mambasoft.it> 5.12.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Jan 03 2018 Automatic Build System <autodist@mambasoft.it> 5.11.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Fri Dec 08 2017 Automatic Build System <autodist@mambasoft.it> 5.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Wed Nov 08 2017 Automatic Build System <autodist@mambasoft.it> 5.11.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 5.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 5.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 23 2017 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:28:32 +01:00
|
|
|
* Mon Sep 25 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 5.10.5-1mamba
|
|
|
|
- package created using the webbuild interface
|