4 # /usr/share/kservicetypes5
5 %define kdeframever 5.10
9 Summary: Helper library to speed up start of applications on KDE workspaces
15 Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
16 # Source0-md5: c81f77bbd105c02cea296dfc2a420ff6
17 URL: http://www.kde.org/
18 BuildRequires: cmake >= 2.8.12
19 BuildRequires: gettext-devel
20 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
21 BuildRequires: kf5-kio-devel >= %{version}
22 BuildRequires: libcap-devel
23 BuildRequires: rpmbuild(macros) >= 1.164
24 BuildRequires: tar >= 1:1.22
25 BuildRequires: xorg-lib-libX11-devel
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 %define qt5dir %{_libdir}/qt5
32 kdeinit is a process launcher somewhat similar to the famous init used
35 It launches processes by forking and then loading a dynamic library
36 which should contain a 'kdemain(...)' function.
38 Using kdeinit to launch KDE applications makes starting a typical KDE
39 applications 2.5 times faster (100ms instead of 250ms on a P-III 500)
40 It reduces memory consumption by approx. 350Kb per application.
43 Summary: Header files for %{kfname} development
44 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
45 Group: X11/Development/Libraries
46 Requires: %{name} = %{version}-%{release}
49 Header files for %{kfname} development.
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe dla programistów używających %{kfname}.
55 %setup -q -n %{kfname}-%{version}
61 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
66 rm -rf $RPM_BUILD_ROOT
68 %{__make} -C build/ install \
69 DESTDIR=$RPM_BUILD_ROOT
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
79 %files -f %{kfname}5.lang
80 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/kdeinit5
83 %attr(755,root,root) %{_bindir}/kdeinit5_shutdown
84 %attr(755,root,root) %{_bindir}/kdeinit5_wrapper
85 %attr(755,root,root) %{_bindir}/kshell5
86 %attr(755,root,root) %{_bindir}/kwrapper5
87 %attr(755,root,root) %{_libdir}/kf5/klauncher
88 %attr(755,root,root) %{_libdir}/kf5/start_kdeinit
89 %attr(755,root,root) %{_libdir}/kf5/start_kdeinit_wrapper
90 %attr(755,root,root) %{_libdir}/libkdeinit5_klauncher.so
91 %{_datadir}/dbus-1/interfaces/kf5_org.kde.KLauncher.xml
92 %{_mandir}/man8/kdeinit5.8*
95 %defattr(644,root,root,755)
96 %{_libdir}/cmake/KF5Init