]> git.pld-linux.org Git - packages/kf5-kinit.git/blame - kf5-kinit.spec
- updated to 5.39.0
[packages/kf5-kinit.git] / kf5-kinit.spec
CommitLineData
6bb84891 1%define kdeframever 5.39
8ab2d178
AM
2%define qtver 5.3.2
3%define kfname kinit
fd2e2af6
WF
4
5Summary: Helper library to speed up start of applications on KDE workspaces
8ab2d178 6Name: kf5-%{kfname}
6bb84891 7Version: 5.39.0
88466541 8Release: 1
fd2e2af6
WF
9License: LGPL v2.1+
10Group: X11/Libraries
8ab2d178 11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
6bb84891 12# Source0-md5: 99d1b9b3f7c5301e3c33e62b289cdae3
fd2e2af6
WF
13URL: http://www.kde.org/
14BuildRequires: cmake >= 2.8.12
15BuildRequires: gettext-devel
8ab2d178
AM
16BuildRequires: kf5-extra-cmake-modules >= 1.4.0
17BuildRequires: kf5-kio-devel >= %{version}
fd2e2af6
WF
18BuildRequires: libcap-devel
19BuildRequires: rpmbuild(macros) >= 1.164
20BuildRequires: tar >= 1:1.22
21BuildRequires: xorg-lib-libX11-devel
22BuildRequires: xz
4f49bfae 23Requires: kf5-dirs
fd2e2af6
WF
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%define qt5dir %{_libdir}/qt5
27
28%description
29kdeinit is a process launcher somewhat similar to the famous init used
30for booting UNIX.
31
32It launches processes by forking and then loading a dynamic library
33which should contain a 'kdemain(...)' function.
34
35Using kdeinit to launch KDE applications makes starting a typical KDE
36applications 2.5 times faster (100ms instead of 250ms on a P-III 500)
37It reduces memory consumption by approx. 350Kb per application.
38
39%package devel
8ab2d178
AM
40Summary: Header files for %{kfname} development
41Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
fd2e2af6
WF
42Group: X11/Development/Libraries
43Requires: %{name} = %{version}-%{release}
44
45%description devel
8ab2d178 46Header files for %{kfname} development.
fd2e2af6
WF
47
48%description devel -l pl.UTF-8
8ab2d178 49Pliki nagłówkowe dla programistów używających %{kfname}.
fd2e2af6
WF
50
51%prep
8ab2d178 52%setup -q -n %{kfname}-%{version}
fd2e2af6
WF
53
54%build
55install -d build
56cd build
57%cmake \
8ab2d178 58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
fd2e2af6
WF
59 ../
60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} -C build/ install \
66 DESTDIR=$RPM_BUILD_ROOT
67
8ab2d178 68%find_lang %{kfname}5
fd2e2af6
WF
69
70%clean
71rm -rf $RPM_BUILD_ROOT
72
73%post -p /sbin/ldconfig
74%postun -p /sbin/ldconfig
75
8ab2d178 76%files -f %{kfname}5.lang
fd2e2af6
WF
77%defattr(644,root,root,755)
78%doc README.md
79%attr(755,root,root) %{_bindir}/kdeinit5
80%attr(755,root,root) %{_bindir}/kdeinit5_shutdown
81%attr(755,root,root) %{_bindir}/kdeinit5_wrapper
82%attr(755,root,root) %{_bindir}/kshell5
83%attr(755,root,root) %{_bindir}/kwrapper5
84%attr(755,root,root) %{_libdir}/kf5/klauncher
85%attr(755,root,root) %{_libdir}/kf5/start_kdeinit
86%attr(755,root,root) %{_libdir}/kf5/start_kdeinit_wrapper
87%attr(755,root,root) %{_libdir}/libkdeinit5_klauncher.so
88%{_datadir}/dbus-1/interfaces/kf5_org.kde.KLauncher.xml
89%{_mandir}/man8/kdeinit5.8*
90
91%files devel
92%defattr(644,root,root,755)
93%{_libdir}/cmake/KF5Init
This page took 0.083813 seconds and 4 git commands to generate.