[packages/ka6-baloo-widgets] - updated to 24.02.0

witekfl witekfl at pld-linux.org
Mon Mar 4 18:24:54 CET 2024


commit ab5e1c9ba9c5bdced1da05816a40e5df5e519424
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Mar 4 18:24:45 2024 +0100

    - updated to 24.02.0

 ka6-baloo-widgets.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 98 insertions(+)
---
diff --git a/ka6-baloo-widgets.spec b/ka6-baloo-widgets.spec
new file mode 100644
index 0000000..734c174
--- /dev/null
+++ b/ka6-baloo-widgets.spec
@@ -0,0 +1,98 @@
+#
+# 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		baloo-widgets
+Summary:	Baloo widgets
+Name:		ka6-%{kaname}
+Version:	24.02.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5:	1eede76ddf4e3bfe98cbd7654153020b
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Gui-devel >= 5.11.1
+BuildRequires:	Qt6Test-devel
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	cmake >= 3.20
+BuildRequires:	gettext-devel
+BuildRequires:	kf6-baloo-devel >= %{kframever}
+BuildRequires:	kf6-extra-cmake-modules >= %{kframever}
+BuildRequires:	kf6-kconfig-devel >= %{kframever}
+BuildRequires:	kf6-kfilemetadata-devel >= %{kframever}
+BuildRequires:	kf6-ki18n-devel >= %{kframever}
+BuildRequires:	kf6-kio-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
+Widgets for Baloo.
+
+%description -l pl.UTF-8
+Widżety dla Baloo.
+
+%package devel
+Summary:	Header files for %{kaname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kaname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%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
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/baloo_filemetadata_temp_extractor
+%attr(755,root,root) %{_libdir}/libKF6BalooWidgets.so.*.*
+%ghost %{_libdir}/libKF6BalooWidgets.so.6
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/kfileitemaction/tagsfileitemaction.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/propertiesdialog/baloofilepropertiesplugin.so
+%{_datadir}/qlogging-categories6/baloo-widgets.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/BalooWidgets
+%{_libdir}/cmake/KF6BalooWidgets
+%{_libdir}/libKF6BalooWidgets.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-baloo-widgets.git/commitdiff/ab5e1c9ba9c5bdced1da05816a40e5df5e519424



More information about the pld-cvs-commit mailing list