%global framework kinit %global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d) Name: kf5-%{framework} Version: 5.112.0 Release: 1%{?dist} Summary: KDE Frameworks 5 tier 3 solution for process launching License: LGPLv2+ and BSD URL: https://cgit.kde.org/%{framework}.git %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz Source1: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz.sig Source2: gpgkey-53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB.gpg Source10: macros.kf5-kinit ## upstream patches BuildRequires: gnupg2 BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf5-rpm-macros BuildRequires: kf5-kconfig-devel >= %{version} BuildRequires: kf5-kcrash-devel >= %{version} BuildRequires: kf5-kdbusaddons-devel >= %{version} BuildRequires: kf5-kdoctools-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{version} BuildRequires: kf5-kio-devel >= %{version} BuildRequires: kf5-kservice-devel >= %{version} BuildRequires: kf5-kwindowsystem-devel >= %{version} BuildRequires: qt5-qtbase-devel BuildRequires: pkgconfig(libcap) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcb) %description kdeinit is a process launcher somewhat similar to the famous init used for booting UNIX. It launches processes by forking and then loading a dynamic library which should contain a 'kdemain(...)' function. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup -n %{framework}-%{version} -p1 %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang kinit5_qt --with-man --with-qt --all-name # rpm macros install -p -m644 -D %{SOURCE10} \ %{buildroot}%{rpm_macros_dir}/macros.%{name} %ldconfig_scriptlets %files -f kinit5_qt.lang %doc README.md %license LICENSES/*.txt %{_kf5_datadir}/qlogging-categories5/%{framework}.* %{_kf5_bindir}/* %{_kf5_libdir}/libkdeinit5_klauncher.so %{_kf5_libexecdir}/klauncher %caps(cap_sys_resource=ep) %{_kf5_libexecdir}/start_kdeinit %{_kf5_libexecdir}/start_kdeinit_wrapper %{_kf5_mandir}/man8/kdeinit5.8* %files devel %{_kf5_libdir}/cmake/KF5Init/ %{_kf5_datadir}/dbus-1/interfaces/*.xml %{rpm_macros_dir}/macros.%{name} %changelog * Sun Nov 12 2023 Yaroslav Sidlovsky - 5.112.0-1 - 5.112.0 * Thu Oct 19 2023 Yaroslav Sidlovsky - 5.111.0-1 - 5.111.0 * Sun Sep 10 2023 Yaroslav Sidlovsky - 5.110.0-1 - 5.110.0 * Fri Aug 18 2023 Yaroslav Sidlovsky - 5.109.0-1 - 5.109.0 * Sun Jul 09 2023 Yaroslav Sidlovsky - 5.108.0-1 - 5.108.0 * Sat Jun 10 2023 Yaroslav Sidlovsky - 5.107.0-1 - 5.107.0 * Sat May 13 2023 Yaroslav Sidlovsky - 5.106.0-1 - 5.106.0 * Sat Apr 08 2023 Yaroslav Sidlovsky - 5.105.0-1 - 5.105.0 * Sat Mar 11 2023 Yaroslav Sidlovsky - 5.104.0-1 - 5.104.0 * Sun Feb 12 2023 Yaroslav Sidlovsky - 5.103.0-1 - 5.103.0