- initial auto/th/kp5-powerdevil-5.4.0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 6 Sep 2015 17:49:26 +0000 (19:49 +0200)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 6 Sep 2015 17:49:26 +0000 (19:49 +0200)
kp5-powerdevil.spec [new file with mode: 0644]

diff --git a/kp5-powerdevil.spec b/kp5-powerdevil.spec
new file mode 100644 (file)
index 0000000..25a365e
--- /dev/null
@@ -0,0 +1,90 @@
+%define                kdeplasmaver    5.4.0
+%define                qtver           5.3.2
+%define                kpname          powerdevil
+
+Summary:       Manages the power consumption settings of a Plasma Shell
+Name:          kp5-%{kpname}
+Version:       5.4.0
+Release:       1
+License:       LGPL v2.1+
+Group:         X11/Libraries
+Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: d75f08371f19a1f890da03349f1ba60c
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: kf5-kactivities-devel
+BuildRequires: kf5-kauth-devel
+BuildRequires: kf5-kconfig-devel
+BuildRequires: kf5-kdbusaddons-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-solid-devel
+BuildRequires: kp5-libkscreen-devel
+BuildRequires: libxcb-devel
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: xz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                qt5dir          %{_libdir}/qt5
+
+%description
+Manages the power consumption settings of a Plasma Shell.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kpname} --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+/etc/dbus-1/system.d/org.kde.powerdevil.backlighthelper.conf
+%attr(755,root,root) %{_libdir}/kauth/backlighthelper
+%attr(755,root,root) %ghost %{_libdir}/libpowerdevilconfigcommonprivate.so.5
+%attr(755,root,root) %{_libdir}/libpowerdevilconfigcommonprivate.so.*.*.*
+%attr(755,root,root) %ghost  %{_libdir}/libpowerdevilcore.so.2
+%attr(755,root,root) %{_libdir}/libpowerdevilcore.so.*.*.*
+%attr(755,root,root) %ghost  %{_libdir}/libpowerdevilui.so.5
+%attr(755,root,root) %{_libdir}/libpowerdevilui.so.*.*.*
+%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_powerdevilactivitiesconfig.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_powerdevilglobalconfig.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/kcm_powerdevilprofilesconfig.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/kded_powerdevil.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilbrightnesscontrolaction_config.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevildimdisplayaction_config.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevildpmsaction.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevildpmsaction_config.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilhandlebuttoneventsaction_config.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilkeyboardbrightnesscontrolaction_config.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilrunscriptaction_config.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/powerdevilsuspendsessionaction_config.so
+%{_datadir}/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
+%{_datadir}/knotifications5/powerdevil.notifyrc
+%{_datadir}/kservices5/kded/powerdevil.desktop
+%{_datadir}/kservices5/powerdevil*.desktop
+%{_datadir}/kservicetypes5/powerdevilaction.desktop
+%{_datadir}/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy
This page took 0.142862 seconds and 4 git commands to generate.