[packages/kf6-kwidgetsaddons] - updated to 5.249.0; rel 0.1

witekfl witekfl at pld-linux.org
Sun Feb 4 15:33:57 CET 2024


commit 33c14a94c26a92471f0447af29ab4ef1ee4a12da
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Feb 4 14:50:26 2024 +0100

    - updated to 5.249.0; rel 0.1

 kf6-kwidgetsaddons.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 106 insertions(+)
---
diff --git a/kf6-kwidgetsaddons.spec b/kf6-kwidgetsaddons.spec
new file mode 100644
index 0000000..d6fd6ee
--- /dev/null
+++ b/kf6-kwidgetsaddons.spec
@@ -0,0 +1,106 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeframever	5.249.0
+%define		qtver		5.15.2
+%define		kfname		kwidgetsaddons
+
+Summary:	Large set of desktop widgets
+Name:		kf6-%{kfname}
+Version:	5.249.0
+Release:	0.1
+License:	LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/unstable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5:	b8b5da0b05b4409f4b517ebe67e69e6d
+Patch0:		failed-tests.patch
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6Test-devel >= %{qtver}
+BuildRequires:	Qt6UiTools-devel >= %{qtver}
+BuildRequires:	Qt6Widgets-devel >= %{qtver}
+BuildRequires:	cmake >= 3.16
+BuildRequires:	kf6-extra-cmake-modules >= %{version}
+BuildRequires:	ninja
+BuildRequires:	qt6-linguist >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+Requires:	Qt6Widgets >= %{qtver}
+Requires:	kf6-dirs
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		qt6dir		%{_libdir}/qt6
+
+%description
+This repository contains add-on widgets and classes for applications
+that use the Qt Widgets module. If you are porting applications from
+KDE Platform 4 "kdeui" library, you will find many of its classes
+here.
+
+Provided are action classes that can be added to toolbars or menus, a
+wide range of widgets for selecting characters, fonts, colors,
+actions, dates and times, or MIME types, as well as platform-aware
+dialogs for configuration pages, message boxes, and password requests.
+
+Further widgets and classes can be found in other KDE frameworks. For
+a full list, please see
+<https://projects.kde.org/projects/frameworks/>
+
+
+%package devel
+Summary:	Header files for %{kfname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kfname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	Qt6Widgets-devel >= %{qtver}
+Requires:	cmake >= 3.16
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kfname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+#%%patch0 -p1
+
+%build
+%cmake -B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
+
+%if %{with tests}
+%ninja_build -C build test
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kfname}6_qt --with-qm --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kfname}6_qt.lang
+%defattr(644,root,root,755)
+%doc README.md
+%ghost %{_libdir}/libKF6WidgetsAddons.so.6
+%attr(755,root,root) %{_libdir}/libKF6WidgetsAddons.so.*.*
+%attr(755,root,root) %{_libdir}/qt6/plugins/designer/kwidgetsaddons6widgets.so
+%{_datadir}/qlogging-categories6/kwidgetsaddons.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/KWidgetsAddons
+%{_libdir}/cmake/KF6WidgetsAddons
+%{_libdir}/libKF6WidgetsAddons.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf6-kwidgetsaddons.git/commitdiff/33c14a94c26a92471f0447af29ab4ef1ee4a12da



More information about the pld-cvs-commit mailing list