[packages/kp6-flatpak-kcm] - updated to 6.0.0

witekfl witekfl at pld-linux.org
Sun Mar 3 21:11:42 CET 2024


commit 75dc2835ca1319dcf611674874c76421cd8e9741
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Mar 3 20:59:07 2024 +0100

    - updated to 6.0.0

 kp6-flatpak-kcm.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
---
diff --git a/kp6-flatpak-kcm.spec b/kp6-flatpak-kcm.spec
new file mode 100644
index 0000000..4d81fe3
--- /dev/null
+++ b/kp6-flatpak-kcm.spec
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeplasmaver	6.0.0
+%define		qtver		5.15.2
+%define		kpname		flatpak-kcm
+
+Summary:	KDE Config Module for flatpak
+Name:		kp6-%{kpname}
+Version:	6.0.0
+Release:	1
+License:	LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5:	df582e99c5288d1c0b8dcd1b34a31d08
+URL:		http://www.kde.org/
+BuildRequires:	Qt6Core-devel >= %{qtver}
+BuildRequires:	cmake >= 3.16.0
+BuildRequires:	flatpak-devel
+BuildRequires:	kf6-kauth-devel
+BuildRequires:	kf6-kconfigwidgets-devel
+BuildRequires:	kf6-kcoreaddons-devel
+BuildRequires:	kf6-ki18n-devel
+BuildRequires:	kf6-kio-devel
+BuildRequires:	kf6-kxmlgui-devel
+BuildRequires:	ninja
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		qt6dir		%{_libdir}/qt6
+
+%description
+KDE Config Module for flatpak.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%{_libdir}/qt6/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
+%{_desktopdir}/kcm_flatpak.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp6-flatpak-kcm.git/commitdiff/75dc2835ca1319dcf611674874c76421cd8e9741



More information about the pld-cvs-commit mailing list