|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
Name: powerdevil
|
|
|
|
|
Version: 5.4.3
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Manages the power consumption settings of a Plasma Shell
|
|
|
|
|
Name: powerdevil
|
|
|
|
|
Version: 5.4.95
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Manages the power consumption settings of a Plasma Shell
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/powerdevil
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/powerdevil
|
|
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
@ -12,36 +12,40 @@ URL: https://projects.kde.org/projects/kde/workspace/powerdevil
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# TODO: document why this is (still) needed and not yet upstreamed? -- rex
|
|
|
|
|
Patch0: powerdevil-enable-upower.patch
|
|
|
|
|
Patch0: powerdevil-enable-upower.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
|
BuildRequires: xcb-util-keysyms-devel
|
|
|
|
|
BuildRequires: xcb-util-image-devel
|
|
|
|
|
BuildRequires: xcb-util-wm-devel
|
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
BuildRequires: kf5-kactivities-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-kauth-devel
|
|
|
|
|
BuildRequires: kf5-kidletime-devel
|
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
|
BuildRequires: kf5-kglobalaccel-devel
|
|
|
|
|
BuildRequires: kf5-solid-devel
|
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
|
BuildRequires: kf5-kidletime-devel
|
|
|
|
|
BuildRequires: kf5-kglobalaccel-devel
|
|
|
|
|
BuildRequires: kf5-kio-devel
|
|
|
|
|
BuildRequires: kf5-knotifyconfig-devel
|
|
|
|
|
BuildRequires: kf5-kscreen-devel
|
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
|
|
|
BuildRequires: kf5-plasma-devel
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: kf5-solid-devel
|
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
|
BuildRequires: kf5-knotifyconfig-devel
|
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
|
BuildRequires: kf5-kactivities-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: libkscreen-qt5-devel
|
|
|
|
|
BuildRequires: kf5-kwayland-devel
|
|
|
|
|
BuildRequires: plasma-workspace-devel
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
BuildRequires: xcb-util-image-devel
|
|
|
|
|
BuildRequires: xcb-util-keysyms-devel
|
|
|
|
|
BuildRequires: xcb-util-wm-devel
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
|
@ -86,15 +90,18 @@ rm %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so
|
|
|
|
|
%{_kf5_libdir}/libpowerdevilcore.so.*
|
|
|
|
|
%{_kf5_libdir}/libpowerdevilui.so.*
|
|
|
|
|
%{_kf5_qtplugindir}/*.so
|
|
|
|
|
%{_kf5_plugindir}/kded/*.so
|
|
|
|
|
%{_kf5_datadir}/knotifications5/powerdevil.notifyrc
|
|
|
|
|
%{_kf5_datadir}/kservices5/*.desktop
|
|
|
|
|
%{_kf5_datadir}/kservices5/kded/*.desktop
|
|
|
|
|
%{_kf5_datadir}/kservicetypes5/*.desktop
|
|
|
|
|
%dir %{_kf5_docdir}/HTML/en/kcontrol/
|
|
|
|
|
%{_kf5_docdir}/HTML/en/kcontrol/powerdevil/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 25 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.95-1
|
|
|
|
|
- Plasma 5.4.95
|
|
|
|
|
|
|
|
|
|
* Wed Nov 18 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.3-2
|
|
|
|
|
- .spec cosmetics
|
|
|
|
|
|
|
|
|
|