Name: kdialog Summary: Nice dialog boxes from shell scripts Version: 22.08.0 Release: 1 License: GPLv2+ and GFDL URL: https://www.kde.org/ %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: cmake(KF5KDELibs4Support) BuildRequires: cmake(KF5DBusAddons) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Widgets) Conflicts: kde-l10n < 17.03 %description KDialog can be used to show nice dialog boxes from shell scripts. %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd %make_build -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --with-html --with-man %files -f %{name}.lang %license COPYING* %doc README %{_kf5_bindir}/kdialog %{_kf5_bindir}/kdialog_progress_helper %{_kf5_datadir}/dbus-1/interfaces/org.kde.kdialog.ProgressDialog.xml %{_kf5_metainfodir}/org.kde.kdialog.metainfo.xml %changelog * Mon Dec 19 2022 misaka00251 - 22.08.0-1 - Init package