- minor cleanup, own %{_kf5_qtplugindir}/kauth/
- track soname
- use 'make install/fast'
epel8
Rex Dieter 10 years ago
parent 48ff0d9f21
commit f73bf519f2

@ -2,7 +2,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.6.0 Version: 5.6.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user
License: LGPLv2+ License: LGPLv2+
@ -38,7 +38,6 @@ KAuth is a framework to let applications perform actions as a privileged user.
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kcoreaddons-devel Requires: kf5-kcoreaddons-devel
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -49,18 +48,19 @@ developing applications that use %{name}.
%patch0 -p1 -b .dbushelper %patch0 -p1 -b .dbushelper
%build %build
mkdir -p %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
# Remove once 9be07165 is fixed/explained # Remove once 9be07165 is fixed/explained
%{cmake_kf5} .. -DLIBEXEC_INSTALL_DIR=%{_kf5_libexecdir} %{cmake_kf5} .. -DLIBEXEC_INSTALL_DIR=%{_kf5_libexecdir}
popd popd
make %{?_smp_mflags} -C %{_target_platform} make %{?_smp_mflags} -C %{_target_platform}
%install %install
%make_install -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kauth5_qt --with-qt --all-name %find_lang kauth5_qt --with-qt --all-name
@ -69,22 +69,26 @@ make %{?_smp_mflags} -C %{_target_platform}
%files -f kauth5_qt.lang %files -f kauth5_qt.lang
%doc COPYING.LIB README.md %doc COPYING.LIB README.md
%{_kf5_libdir}/libKF5Auth.so.* %{_kf5_libdir}/libKF5Auth.so.5*
%config %{_kf5_sysconfdir}/dbus-1/system.d/* %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf
%{_kf5_qtplugindir}/kauth/helper/kauth_helper_plugin.so %{_kf5_qtplugindir}/kauth/
%{_kf5_qtplugindir}/kauth/backend/kauth_backend_plugin.so
%{_kf5_datadir}/kf5/kauth/ %{_kf5_datadir}/kf5/kauth/
%{_kf5_libexecdir}/kauth/kauth-policy-gen %{_kf5_libexecdir}/kauth/kauth-policy-gen
%files devel %files devel
%{_kf5_includedir}/kauth_version.h %{_kf5_includedir}/kauth_version.h
%{_kf5_includedir}/KAuth %{_kf5_includedir}/KAuth/
%{_kf5_libdir}/libKF5Auth.so %{_kf5_libdir}/libKF5Auth.so
%{_kf5_libdir}/cmake/KF5Auth %{_kf5_libdir}/cmake/KF5Auth/
%{_kf5_archdatadir}/mkspecs/modules/qt_KAuth.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KAuth.pri
%changelog %changelog
* Thu Feb 12 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.6.0-3
- minor cleanup, own %%{_kf5_qtplugindir}/kauth/
- track soname
- use 'make install/fast'
* Fri Jan 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-2 * Fri Jan 16 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-2
- Add upstream patch to fix generating of DBus helper service files - Add upstream patch to fix generating of DBus helper service files

Loading…
Cancel
Save