devel: add %{kf5_kinit_requires} macro

epel9
Rex Dieter 10 years ago
parent 0c5f8bc768
commit 0a706b6dab

@ -1,8 +1,9 @@
%global framework kinit %global framework kinit
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.10.0 Version: 5.10.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: KDE Frameworks 5 tier 3 solution for process launching Summary: KDE Frameworks 5 tier 3 solution for process launching
License: LGPLv2+ and BSD License: LGPLv2+ and BSD
@ -17,6 +18,8 @@ URL: http://www.kde.org
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
Source10: macros.kf5-kinit
# backport hack to workaround klauncher/SM issues, see bug http://bugzilla.redhat.com/983110 # backport hack to workaround klauncher/SM issues, see bug http://bugzilla.redhat.com/983110
Patch1: kinit-5.10.0-klauncher-qt_no_glib.patch Patch1: kinit-5.10.0-klauncher-qt_no_glib.patch
@ -72,6 +75,10 @@ make %{?_smp_mflags} -C %{_target_platform}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kinit5_qt --with-man --with-qt --all-name %find_lang kinit5_qt --with-man --with-qt --all-name
# rpm macros
install -p -m644 -D %{SOURCE10} \
%{buildroot}%{rpm_macros_dir}/macros.%{name}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -86,9 +93,13 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%files devel %files devel
%{_kf5_libdir}/cmake/KF5Init/ %{_kf5_libdir}/cmake/KF5Init/
%{_kf5_datadir}/dbus-1/interfaces/*.xml %{_kf5_datadir}/dbus-1/interfaces/*.xml
%{rpm_macros_dir}/macros.%{name}
%changelog %changelog
* Mon Jun 01 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-3
- -devel: add %%{kf5_kinit_requires} macro
* Wed May 20 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-2 * Wed May 20 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.10.0-2
- .spec cosmetics - .spec cosmetics
- Backport klauncher QT_NO_GLIB hack (#983110) - Backport klauncher QT_NO_GLIB hack (#983110)

@ -0,0 +1,4 @@
%kf5_kinit_requires \
Requires: kf5-kinit%{?_isa}\
%{nil}
Loading…
Cancel
Save