]> git.pld-linux.org Git - packages/kf5-kinit.git/blob - kf5-kinit.spec
- up to 5.10.0
[packages/kf5-kinit.git] / kf5-kinit.spec
1 # TODO:
2 # Not packaged:
3 # /usr/include/KF5
4 # /usr/share/kservicetypes5
5 %define         kdeframever     5.10
6 %define         qtver           5.3.2
7 %define         kfname          kinit
8
9 Summary:        Helper library to speed up start of applications on KDE workspaces
10 Name:           kf5-%{kfname}
11 Version:        5.10.0
12 Release:        0.1
13 License:        LGPL v2.1+
14 Group:          X11/Libraries
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
26 BuildRequires:  xz
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         qt5dir          %{_libdir}/qt5
30
31 %description
32 kdeinit is a process launcher somewhat similar to the famous init used
33 for booting UNIX.
34
35 It launches processes by forking and then loading a dynamic library
36 which should contain a 'kdemain(...)' function.
37
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.
41
42 %package devel
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}
47
48 %description devel
49 Header files for %{kfname} development.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe dla programistów używających %{kfname}.
53
54 %prep
55 %setup -q -n %{kfname}-%{version}
56
57 %build
58 install -d build
59 cd build
60 %cmake \
61         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
62         ../
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} -C build/ install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %find_lang %{kfname}5
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
78
79 %files -f %{kfname}5.lang
80 %defattr(644,root,root,755)
81 %doc README.md
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*
93
94 %files devel
95 %defattr(644,root,root,755)
96 %{_libdir}/cmake/KF5Init
This page took 0.051938 seconds and 4 git commands to generate.