]> git.pld-linux.org Git - packages/kf5-kinit.git/blame - kf5-kinit.spec
- updated to 5.19.0
[packages/kf5-kinit.git] / kf5-kinit.spec
CommitLineData
25ab19c3 1%define kdeframever 5.19
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}
25ab19c3 7Version: 5.19.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
25ab19c3 12# Source0-md5: 3c40a568bfe04957ad68b9fa1afe54fd
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
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%define qt5dir %{_libdir}/qt5
26
27%description
28kdeinit is a process launcher somewhat similar to the famous init used
29for booting UNIX.
30
31It launches processes by forking and then loading a dynamic library
32which should contain a 'kdemain(...)' function.
33
34Using kdeinit to launch KDE applications makes starting a typical KDE
35applications 2.5 times faster (100ms instead of 250ms on a P-III 500)
36It reduces memory consumption by approx. 350Kb per application.
37
38%package devel
8ab2d178
AM
39Summary: Header files for %{kfname} development
40Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
fd2e2af6
WF
41Group: X11/Development/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description devel
8ab2d178 45Header files for %{kfname} development.
fd2e2af6
WF
46
47%description devel -l pl.UTF-8
8ab2d178 48Pliki nagłówkowe dla programistów używających %{kfname}.
fd2e2af6
WF
49
50%prep
8ab2d178 51%setup -q -n %{kfname}-%{version}
fd2e2af6
WF
52
53%build
54install -d build
55cd build
56%cmake \
8ab2d178 57 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
fd2e2af6
WF
58 ../
59%{__make}
60
61%install
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} -C build/ install \
65 DESTDIR=$RPM_BUILD_ROOT
66
8ab2d178 67%find_lang %{kfname}5
fd2e2af6
WF
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post -p /sbin/ldconfig
73%postun -p /sbin/ldconfig
74
8ab2d178 75%files -f %{kfname}5.lang
fd2e2af6
WF
76%defattr(644,root,root,755)
77%doc README.md
78%attr(755,root,root) %{_bindir}/kdeinit5
79%attr(755,root,root) %{_bindir}/kdeinit5_shutdown
80%attr(755,root,root) %{_bindir}/kdeinit5_wrapper
81%attr(755,root,root) %{_bindir}/kshell5
82%attr(755,root,root) %{_bindir}/kwrapper5
83%attr(755,root,root) %{_libdir}/kf5/klauncher
84%attr(755,root,root) %{_libdir}/kf5/start_kdeinit
85%attr(755,root,root) %{_libdir}/kf5/start_kdeinit_wrapper
86%attr(755,root,root) %{_libdir}/libkdeinit5_klauncher.so
87%{_datadir}/dbus-1/interfaces/kf5_org.kde.KLauncher.xml
88%{_mandir}/man8/kdeinit5.8*
89
90%files devel
91%defattr(644,root,root,755)
92%{_libdir}/cmake/KF5Init
This page took 0.152895 seconds and 4 git commands to generate.