[packages/ka6-kfind] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:29:01 CET 2024


commit f36f7a9da341ffb9bf5c148d2b33d5f2f63a2b62
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:28:52 2024 +0100

    - updated to 24.02.0

 ka6-kfind.spec | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 107 insertions(+)
---
diff --git a/ka6-kfind.spec b/ka6-kfind.spec
new file mode 100644
index 0000000..ede8bd0
--- /dev/null
+++ b/ka6-kfind.spec
@@ -0,0 +1,107 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeappsver	24.02.0
+%define		kframever	5.94.0
+%define		qtver		5.15.2
+%define		kaname		kfind
+Summary:	kfind
+Name:		ka6-%{kaname}
+Version:	24.02.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Applications
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	055f9eb95483b19684f45ea6ed2836b3
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Concurrent-devel
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= 5.11.1
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	cmake >= 3.20
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-karchive-devel >= %{kframever}
+BuildRequires:	kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires:	kf6-kdoctools-devel >= %{kframever}
+BuildRequires:	kf6-kfilemetadata-devel >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-kio-devel >= %{kframever}
+BuildRequires:	kf6-ktextwidgets-devel >= %{kframever}
+BuildRequires:	kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires:	ninja
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	shared-mime-info
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KFind can be used as a standalone search tool, launched by KRunner or
+from your menu. It is also integrated into Konqueror as "Find File" in
+the "Tools" menu. It allows you to find files by name, type or
+content.
+
+%description -l pl.UTF-8
+KFind może używany jako samodzielny program, uruchamiany przez KRunnera
+lub z menu. Jest też zintegrowany z Konquerorem jak "Find File" w menu
+"Tools". Pozwala wyszukiwać pliki według nazwy, typu lub treści.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+	-B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DQT_MAJOR_VERSION=6
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{lt,sr}
+
+# not supported by glibc yet
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ie
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kfind
+%{_desktopdir}/org.kde.kfind.desktop
+%{_iconsdir}/hicolor/*x*/apps/*.png
+%{_iconsdir}/hicolor/scalable/apps/kfind.svgz
+%lang(ca) %{_mandir}/ca/man1/kfind.1*
+%lang(de) %{_mandir}/de/man1/kfind.1*
+%lang(es) %{_mandir}/es/man1/kfind.1*
+%lang(fr) %{_mandir}/fr/man1/kfind.1*
+%lang(it) %{_mandir}/it/man1/kfind.1*
+%lang(lt) %{_mandir}/lt/man1/kfind.1*
+%lang(C) %{_mandir}/man1/kfind.1*
+%lang(nb) %{_mandir}/nb/man1/kfind.1*
+%lang(nl) %{_mandir}/nl/man1/kfind.1*
+%lang(pl) %{_mandir}/pl/man1/kfind.1*
+%lang(pt) %{_mandir}/pt/man1/kfind.1*
+%lang(pt_BR) %{_mandir}/pt_BR/man1/kfind.1*
+%lang(ru) %{_mandir}/ru/man1/kfind.1*
+%lang(sr) %{_mandir}/sr/man1/kfind.1*
+%lang(sv) %{_mandir}/sv/man1/kfind.1*
+%lang(tr) %{_mandir}/tr/man1/kfind.1*
+%lang(uk) %{_mandir}/uk/man1/kfind.1*
+%{_datadir}/metainfo/org.kde.kfind.appdata.xml
+%{_datadir}/qlogging-categories6/kfind.categories
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kfind.git/commitdiff/f36f7a9da341ffb9bf5c148d2b33d5f2f63a2b62



More information about the pld-cvs-commit mailing list