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