- updated to 5.14.5
[packages/kp5-powerdevil.git] / kp5-powerdevil.spec
CommitLineData
218fcf7d
WF
1%define kdeplasmaver 5.14.5
2%define qtver 5.9.0
ede5ff2b
AM
3%define kpname powerdevil
4
5Summary: Manages the power consumption settings of a Plasma Shell
6Name: kp5-%{kpname}
218fcf7d 7Version: 5.14.5
e403a439 8Release: 1
ede5ff2b
AM
9License: LGPL v2.1+
10Group: X11/Libraries
11Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
218fcf7d 12# Source0-md5: 85cb6af97de3c5867aae2f5fb2a058a2
ede5ff2b
AM
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: cmake >= 2.8.12
f111e374
JR
16BuildRequires: kf5-bluez-qt-devel
17BuildRequires: kf5-networkmanager-qt-devel
ede5ff2b
AM
18BuildRequires: kf5-kactivities-devel
19BuildRequires: kf5-kauth-devel
20BuildRequires: kf5-kconfig-devel
21BuildRequires: kf5-kdbusaddons-devel
22BuildRequires: kf5-kdelibs4support-devel
23BuildRequires: kf5-kglobalaccel-devel
24BuildRequires: kf5-ki18n-devel
25BuildRequires: kf5-kidletime-devel
26BuildRequires: kf5-kio-devel
27BuildRequires: kf5-knotifyconfig-devel
28BuildRequires: kf5-solid-devel
f111e374 29BuildRequires: kf5-kwayland-devel
ede5ff2b 30BuildRequires: kp5-libkscreen-devel
102dcee5 31BuildRequires: kp5-plasma-workspace-devel
ede5ff2b
AM
32BuildRequires: libxcb-devel
33BuildRequires: rpmbuild(macros) >= 1.164
34BuildRequires: xz
35BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37%define qt5dir %{_libdir}/qt5
38
39%description
40Manages the power consumption settings of a Plasma Shell.
41
42%prep
43%setup -q -n %{kpname}-%{version}
44
45%build
46install -d build
47cd build
48%cmake \
49 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
50 ../
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} -C build/ install \
57 DESTDIR=$RPM_BUILD_ROOT
58
6b7138ac 59%find_lang %{kpname} --all-name --with-kde
ede5ff2b
AM
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post -p /sbin/ldconfig
65%postun -p /sbin/ldconfig
66
67%files -f %{kpname}.lang
68%defattr(644,root,root,755)
69/etc/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
e3384a5a 70%attr(755,root,root) %{_libexecdir}/org_kde_powerdevil
5efff3e9
JR
71%attr(755,root,root) %{_libexecdir}/kauth/backlighthelper
72%attr(755,root,root) %{_libexecdir}/kauth/discretegpuhelper
ede5ff2b
AM
73%attr(755,root,root) %ghost %{_libdir}/libpowerdevilconfigcommonprivate.so.5
74%attr(755,root,root) %{_libdir}/libpowerdevilconfigcommonprivate.so.*.*.*
75%attr(755,root,root) %ghost %{_libdir}/libpowerdevilcore.so.2
76%attr(755,root,root) %{_libdir}/libpowerdevilcore.so.*.*.*
77%attr(755,root,root) %ghost %{_libdir}/libpowerdevilui.so.5
78%attr(755,root,root) %{_libdir}/libpowerdevilui.so.*.*.*
79%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_powerdevilactivitiesconfig.so
80%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_powerdevilglobalconfig.so
81%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_powerdevilprofilesconfig.so
33e78e64 82#%attr(755,root,root) %{_libdir}/qt5/plugins/kded_powerdevil.so
ede5ff2b
AM
83%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilbrightnesscontrolaction_config.so
84%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevildimdisplayaction_config.so
85%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevildpmsaction.so
86%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevildpmsaction_config.so
87%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilhandlebuttoneventsaction_config.so
88%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilkeyboardbrightnesscontrolaction_config.so
89%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilrunscriptaction_config.so
90%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilsuspendsessionaction_config.so
91%{_datadir}/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
92%{_datadir}/knotifications5/powerdevil.notifyrc
33e78e64 93#%{_datadir}/kservices5/kded/powerdevil.desktop
ede5ff2b
AM
94%{_datadir}/kservices5/powerdevil*.desktop
95%{_datadir}/kservicetypes5/powerdevilaction.desktop
96%{_datadir}/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy
33e78e64
WF
97
98/etc/dbus-1/system.d/org.kde.powerdevil.discretegpuhelper.conf
99/etc/xdg/autostart/powerdevil.desktop
33e78e64
WF
100%{_libdir}/libpowerdevilconfigcommonprivate.so
101%{_libdir}/libpowerdevilcore.so
102%{_libdir}/libpowerdevilui.so
33e78e64
WF
103%dir %{_libdir}/qt5/plugins/kf5/powerdevil
104%{_libdir}/qt5/plugins/kf5/powerdevil/powerdevilupowerbackend.so
105%{_libdir}/qt5/plugins/powerdevilwirelesspowersavingaction_config.so
106%{_datadir}/dbus-1/system-services/org.kde.powerdevil.discretegpuhelper.service
107%{_datadir}/polkit-1/actions/org.kde.powerdevil.discretegpuhelper.policy
This page took 0.091103 seconds and 4 git commands to generate.