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

witekfl witekfl at pld-linux.org
Sun Feb 4 15:34:18 CET 2024


commit 0b729730d5b5900f54c37c8b2ab69db16c1da941
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Feb 4 14:50:49 2024 +0100

    - updated to 5.249.0; rel 0.1

 kf6-kglobalaccel.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)
---
diff --git a/kf6-kglobalaccel.spec b/kf6-kglobalaccel.spec
new file mode 100644
index 0000000..596d718
--- /dev/null
+++ b/kf6-kglobalaccel.spec
@@ -0,0 +1,110 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeframever	5.249.0
+%define		qtver		5.15.2
+%define		kfname		kglobalaccel
+
+Summary:	Global desktop keyboard shortcuts
+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:	782f309bcc38627d8e32be1430914685
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	Qt6DBus-devel >= %{qtver}
+BuildRequires:	Qt6Test-devel >= %{qtver}
+BuildRequires:	Qt6Widgets-devel >= %{qtver}
+BuildRequires:	cmake >= 3.16
+BuildRequires:	kf6-extra-cmake-modules >= %{version}
+BuildRequires:	kf6-kconfig-devel >= %{version}
+BuildRequires:	kf6-kcoreaddons-devel >= %{version}
+BuildRequires:	kf6-kcrash-devel >= %{version}
+BuildRequires:	kf6-kdbusaddons-devel >= %{version}
+BuildRequires:	kf6-kwindowsystem-devel >= %{version}
+BuildRequires:	libxcb-devel
+BuildRequires:	ninja
+BuildRequires:	qt6-linguist >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.736
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xcb-util-keysyms-devel
+BuildRequires:	xorg-lib-libX11-devel
+BuildRequires:	xz
+Requires:	Qt6DBus >= %{qtver}
+Requires:	Qt6Widgets >= %{qtver}
+Requires:	kf6-dirs
+Requires:	kf6-kconfig >= %{version}
+Requires:	kf6-kcoreaddons >= %{version}
+Requires:	kf6-kcrash >= %{version}
+Requires:	kf6-kdbusaddons >= %{version}
+Requires:	kf6-kwindowsystem >= %{version}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		qt6dir		%{_libdir}/qt6
+
+%description
+KGlobalAccel allows you to have global accelerators that are
+independent of the focused window. Unlike regular shortcuts, the
+application's window does not need focus for them to be activated.
+
+%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:	Qt6DBus-devel >= %{qtver}
+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}
+
+%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
+%attr(755,root,root) %{_libdir}/libKF6GlobalAccel.so.*.*.*
+%ghost %{_libdir}/libKF6GlobalAccel.so.6
+%{_datadir}/dbus-1/interfaces/kf6_org.kde.KGlobalAccel.xml
+%{_datadir}/dbus-1/interfaces/kf6_org.kde.kglobalaccel.Component.xml
+%{_datadir}/qlogging-categories6/kglobalaccel.categories
+%{_datadir}/qlogging-categories6/kglobalaccel.renamecategories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF6/KGlobalAccel
+%{_libdir}/cmake/KF6GlobalAccel
+%{_libdir}/libKF6GlobalAccel.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf6-kglobalaccel.git/commitdiff/0b729730d5b5900f54c37c8b2ab69db16c1da941



More information about the pld-cvs-commit mailing list