|
|
|
|
|
|
|
%global kf5_version 5.26.0
|
|
|
|
|
|
|
|
Name: powerdevil
|
|
|
|
Version: 5.8.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Manages the power consumption settings of a Plasma Shell
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://quickgit.kde.org/?p=%{name}.git
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
## upstream patches
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: kf5-bluez-qt-devel
|
|
|
|
BuildRequires: kf5-kactivities-devel
|
|
|
|
BuildRequires: kf5-kauth-devel
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
BuildRequires: kf5-kglobalaccel-devel
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
BuildRequires: kf5-kidletime-devel
|
|
|
|
BuildRequires: kf5-kio-devel
|
|
|
|
BuildRequires: kf5-knotifyconfig-devel
|
|
|
|
BuildRequires: kf5-kwayland-devel
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
|
|
BuildRequires: kf5-networkmanager-qt-devel >= %{kf5_version}
|
|
|
|
BuildRequires: kf5-plasma-devel
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-solid-devel
|
|
|
|
BuildRequires: libkscreen-qt5-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libXrandr-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
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Powerdevil is an utility for powermanagement. It consists
|
|
|
|
of a daemon (a KDED module) and a KCModule for its configuration.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang powerdevil5 --with-qt --all-name
|
|
|
|
|
|
|
|
# Don't bother with -devel
|
|
|
|
rm %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f powerdevil5.lang
|
|
|
|
%license COPYING
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
|
|
|
|
%{_datadir}/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
|
|
|
|
%{_datadir}/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy
|
|
|
|
%{_kf5_libexecdir}/kauth/backlighthelper
|
|
|
|
%{_sysconfdir}/xdg/autostart/powerdevil.desktop
|
|
|
|
%{_libexecdir}/org_kde_powerdevil
|
|
|
|
%{_kf5_libdir}/libpowerdevilconfigcommonprivate.so.*
|
|
|
|
%{_kf5_libdir}/libpowerdevilcore.so.*
|
|
|
|
%{_kf5_libdir}/libpowerdevilui.so.*
|
|
|
|
%{_kf5_qtplugindir}/*.so
|
|
|
|
%{_kf5_plugindir}/powerdevil/
|
|
|
|
%{_kf5_datadir}/knotifications5/powerdevil.notifyrc
|
|
|
|
%{_kf5_datadir}/kservices5/*.desktop
|
|
|
|
%{_kf5_datadir}/kservicetypes5/*.desktop
|
|
|
|
%dir %{_kf5_docdir}/HTML/en/kcontrol/
|
|
|
|
%{_kf5_docdir}/HTML/en/kcontrol/powerdevil/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Thu Sep 29 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-1
|
|
|
|
- 5.8.0
|
|
|
|
|
|
|
|
* Thu Sep 22 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.95-1
|
|
|
|
- 5.7.95
|
|
|
|
|
|
|
|
* Tue Sep 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.5-1
|
|
|
|
- 5.7.5
|
|
|
|
|
|
|
|
* Tue Aug 23 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.4-1
|
|
|
|
- 5.7.4
|
|
|
|
|
|
|
|
* Tue Aug 02 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.3-1
|
|
|
|
- 5.7.3
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.2-1
|
|
|
|
- 5.7.2
|
|
|
|
|
|
|
|
* Tue Jul 12 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.1-1
|
|
|
|
- 5.7.1
|
|
|
|
|
|
|
|
* Thu Jun 30 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.7.0-1
|
|
|
|
- 5.7.0
|
|
|
|
|
|
|
|
* Sat Jun 25 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.95-1
|
|
|
|
- 5.6.95
|
|
|
|
|
|
|
|
* Tue Jun 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.5-1
|
|
|
|
- 5.6.5
|
|
|
|
|
|
|
|
* Sat May 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.4-1
|
|
|
|
- 5.6.4
|
|
|
|
|
|
|
|
* Tue Apr 19 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.3-1
|
|
|
|
- 5.6.3
|
|
|
|
|
|
|
|
* Sat Apr 09 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.2-1
|
|
|
|
- 5.6.2
|
|
|
|
|
|
|
|
* Fri Apr 08 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.6.1-1
|
|
|
|
- 5.6.1
|
|
|
|
|
|
|
|
* Tue Mar 01 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.5-1
|
|
|
|
- Plasma 5.5.5
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.5.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jan 27 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.4-1
|
|
|
|
- Plasma 5.5.4
|
|
|
|
|
|
|
|
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.5.3-2
|
|
|
|
- backport https://git.reviewboard.kde.org/r/126721/
|
|
|
|
- -BR: cmake
|
|
|
|
|
|
|
|
* Thu Jan 07 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.3-1
|
|
|
|
- Plasma 5.5.3
|
|
|
|
|
|
|
|
* Thu Dec 31 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.5.2-1
|
|
|
|
- 5.5.2
|
|
|
|
|
|
|
|
* Fri Dec 18 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.1-1
|
|
|
|
- Plasma 5.5.1
|
|
|
|
|
|
|
|
* Mon Dec 14 2015 Rex Dieter <rdieter@fedoraproject.org> 5.5.0-3
|
|
|
|
- .spec cosmetics, pull in upstream fixed, minimal qt5 dep
|
|
|
|
|
|
|
|
* Mon Dec 14 2015 Jan Grulich <jgrulich@redhat.com> - 5.5.0-2
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
* Thu Dec 03 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.5.0-1
|
|
|
|
- Plasma 5.5.0
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
|
|
|
|
- Plasma 5.4.3
|
|
|
|
|
|
|
|
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
|
|
|
|
- 5.4.2
|
|
|
|
|
|
|
|
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
|
|
|
|
- 5.4.1
|
|
|
|
|
|
|
|
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
|
|
- Plasma 5.4.0
|
|
|
|
|
|
|
|
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
|
|
|
|
- Plasma 5.3.95
|
|
|
|
|
|
|
|
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
|
|
|
|
- Plasma 5.3.2
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
|
|
|
|
- Plasma 5.3.1
|
|
|
|
|
|
|
|
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
|
|
|
|
- Plasma 5.3.0
|
|
|
|
|
|
|
|
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
|
|
|
|
- Plasma 5.2.95
|
|
|
|
|
|
|
|
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
|
|
|
|
- Plasma 5.2.2
|
|
|
|
|
|
|
|
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
|
|
|
|
- Rebuild (GCC 5)
|
|
|
|
|
|
|
|
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
|
|
|
|
- Plasma 5.2.1
|
|
|
|
|
|
|
|
* Fri Feb 06 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-2
|
|
|
|
- add upstream patch for BKO#337674
|
|
|
|
|
|
|
|
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
|
|
|
|
- Plasma 5.2.0
|
|
|
|
|
|
|
|
* Wed Jan 14 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta
|
|
|
|
- Plasma 5.1.95 Beta
|
|
|
|
|
|
|
|
* Mon Jan 05 2015 Jan Grulich <jgrulich@redhat.com> - 5.1.1-2
|
|
|
|
- Better URL
|
|
|
|
Used make install instead make_install macro
|
|
|
|
Fixed search for localization
|
|
|
|
Dropped unused BR: chrpath
|
|
|
|
|
|
|
|
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2
|
|
|
|
- Plasma 5.1.2
|
|
|
|
|
|
|
|
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1
|
|
|
|
- Plasma 5.1.1
|
|
|
|
|
|
|
|
* Tue Oct 14 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0.1-1
|
|
|
|
- Plasma 5.1.0.1
|
|
|
|
|
|
|
|
* Thu Oct 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
|
|
|
|
- Plasma 5.1.0
|
|
|
|
|
|
|
|
* Tue Sep 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.2-1
|
|
|
|
- Plasma 5.0.2
|
|
|
|
|
|
|
|
* Sun Aug 10 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.1-1
|
|
|
|
- Plasma 5.0.1
|
|
|
|
|
|
|
|
* Thu Jul 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
|
|
|
|
- Plasma 5.0.0
|
|
|
|
|
|
|
|
* Wed May 21 2014 Daniel Vrátil <dvratil@redhat.com> - 4.90.1-3.20140515gitf7a2bbe
|
|
|
|
- Fix missing BR
|
|
|
|
- Add a patch to fix UPower support
|
|
|
|
|
|
|
|
* Thu May 15 2014 Daniel Vrátil <dvratil@redhat.com> - 4.90.1-1.20140515gitf7a2bbe
|
|
|
|
- Intial snapshot
|