Name: kfind Summary: KDE Find File Utility Version: 18.12.1 Release: 1.1.TMM%{?dist} # Documentation is GFDL, rest GPLv2+ License: GPLv2+ and GFDL URL: https://www.kde.org/applications/utilities/kfind/ %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5FileMetaData) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Widgets) # translations moved here Conflicts: kde-l10n < 17.03 %description KFind allows you to search for directories and files. %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} rm -rf %{buildroot}/usr/share/appdata %find_lang %{name} --with-html --with-man %check # appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml ||: desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop %files -f %{name}.lang %license COPYING* %{_kf5_sysconfdir}/xdg/kfind.* %{_kf5_bindir}/%{name} # %{_kf5_metainfodir}/org.kde.%{name}.appdata.xml %{_kf5_datadir}/applications/org.kde.%{name}.desktop %{_kf5_datadir}/icons/hicolor/*/apps/kfind.* %{_mandir}/man1/kfind.1* %changelog * Sun Jan 13 2019 Tomas Miljenović (Tomas@miljenovic.com) - 18.12.1-1.1.TMM - appdata fix for RHEL * Tue Jan 08 2019 Rex Dieter - 18.12.1-1 - 18.12.1 * Sat Dec 08 2018 Rex Dieter - 18.12.0-1 - 18.12.0 * Tue Nov 06 2018 Rex Dieter - 18.08.3-1 - 18.08.3 * Wed Oct 10 2018 Rex Dieter - 18.08.2-1 - 18.08.2 * Fri Sep 07 2018 Rex Dieter - 18.08.1-1 - 18.08.1 * Wed Aug 15 2018 Rex Dieter - 18.08.0-1 - 18.08.0 * Thu Jul 12 2018 Rex Dieter - 18.04.3-1 - 18.04.3 * Tue Jun 05 2018 Rex Dieter - 18.04.2-1 - 18.04.2 * Tue May 08 2018 Rex Dieter - 18.04.1-1 - 18.04.1 * Sat Apr 14 2018 Rex Dieter - 18.04.0-1 - 18.04.0 * Tue Mar 06 2018 Rex Dieter - 17.12.3-1 - 17.12.3 * Tue Feb 06 2018 Rex Dieter - 17.12.2-1 - 17.12.2 * Thu Jan 11 2018 Rex Dieter - 17.12.1-1 - 17.12.1 * Thu Jan 11 2018 Igor Gnatenko - 17.12.0-2 - Remove obsolete scriptlets * Tue Dec 12 2017 Rex Dieter - 17.12.0-1 - 17.12.0 * Wed Nov 08 2017 Rex Dieter - 17.08.3-1 - 17.08.3 * Wed Oct 11 2017 Rex Dieter - 17.08.2-1 - 17.08.2 * Tue Sep 05 2017 Rex Dieter - 17.08.1-1 - 17.08.1 * Sat Aug 26 2017 Rex Dieter - 17.08.0-1 - 17.08.0 * Fri Jul 28 2017 Rex Dieter - 17.04.3-1 - 17.04.3 * Wed Jul 26 2017 Fedora Release Engineering - 17.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 15 2017 Rex Dieter - 17.04.2-1 - 17.04.2 * Wed May 10 2017 Rex Dieter - 17.04.1-1 - 17.04.1 * Sat Apr 22 2017 Rex Dieter - 17.04.0-2 - use %%find_lang for handbooks * Tue Apr 18 2017 Rex Dieter - 17.04.0-1 - 17.04.0 * Wed Mar 08 2017 Rex Dieter - 16.12.3-1 - 16.12.3 * Wed Feb 08 2017 Rex Dieter - 16.12.2-1 - 16.12.2 * Sat Jan 28 2017 Rex Dieter - 16.12.1-1 - import * Fri Jan 20 2017 Christian Dersch - 16.12.1-0.1 - initial packaging effort