2 # - proper place for *.pri,
3 # - set ECM_MKSPECS_INSTALL_DIR in kde5-extra-cmake-modules
4 # - _IMPORT_PREFIX also must be set somewhere
5 # - runtime Requires if any
6 # - these dirs are not own by any package
11 %define kdeframever 5.4
15 Summary: Execute actions as privileged user
19 License: GPL v2+/LGPL v2.1+
21 Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
22 # Source0-md5: b6d6f9a7f6d01758d7a2b543dface3f7
23 URL: http://www.kde.org/
24 BuildRequires: Qt5Core-devel >= %{qtver}
25 BuildRequires: Qt5DBus-devel >= %{qtver}
26 BuildRequires: Qt5Gui-devel >= %{qtver}
27 BuildRequires: Qt5Test-devel >= %{qtver}
28 BuildRequires: Qt5Widgets-devel >= %{qtver}
29 BuildRequires: cmake >= 2.8.12
30 BuildRequires: kf5-extra-cmake-modules >= 1.0.0
31 BuildRequires: kf5-kcoreaddons-devel >= %{version}
32 BuildRequires: polkit-qt-1-devel
33 BuildRequires: qt5-linguist
34 BuildRequires: rpmbuild(macros) >= 1.164
35 BuildRequires: tar >= 1:1.22
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define qt5dir %{_libdir}/qt5
42 KAuth provides a convenient, system-integrated way to offload actions
43 that need to be performed as a privileged user (root, for example) to
44 small (hopefully secure) helper utilities.
47 Summary: Header files for %{kfname} development
48 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
49 Group: X11/Development/Libraries
50 Requires: %{name} = %{version}-%{release}
53 Header files for %{kfname} development.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe dla programistów używających %{kfname}.
59 %setup -q -n %{kfname}-%{version}
65 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
70 rm -rf $RPM_BUILD_ROOT
72 %{__make} -C build/ install \
73 DESTDIR=$RPM_BUILD_ROOT
75 %find_lang %{kfname}5_qt --with-qm
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
83 %files -f %{kfname}5_qt.lang
84 %defattr(644,root,root,755)
86 /etc/dbus-1/system.d/org.kde.kf5auth.conf
87 %attr(755,root,root) %ghost %{_libdir}/libKF5Auth.so.5
88 %attr(755,root,root) %{_libdir}/libKF5Auth.so.5.4.0
89 %dir %{qt5dir}/plugins/kauth
90 %dir %{qt5dir}/plugins/kauth/helper
91 %attr(755,root,root) %{qt5dir}/plugins/kauth/helper/kauth_helper_plugin.so
92 %{_datadir}/kf5/kauth/dbus_policy.stub
93 %{_datadir}/kf5/kauth/dbus_service.stub
96 %defattr(644,root,root,755)
97 %{_includedir}/KF5/KAuth
98 %{_includedir}/KF5/kauth_version.h
99 %{_libdir}/cmake/KF5Auth
100 %attr(755,root,root) %{_libdir}/libKF5Auth.so
101 %{qt5dir}/mkspecs/modules/qt_KAuth.pri