commit 7fa5b4401b9c7e8ccfa7340c5d283bbea48ba118
Author: Witold Filipczyk <[email protected]>
Date:   Tue Feb 14 19:41:37 2023 +0100

    - 5.27.0

 kp5-flatpak-kcm.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
---
diff --git a/kp5-flatpak-kcm.spec b/kp5-flatpak-kcm.spec
new file mode 100644
index 0000000..caee2b6
--- /dev/null
+++ b/kp5-flatpak-kcm.spec
@@ -0,0 +1,67 @@
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeplasmaver    5.27.0
+%define                qtver           5.15.2
+%define                kpname          flatpak-kcm
+
+Summary:       KDE Config Module for flatpak
+Name:          kp5-%{kpname}
+Version:       5.27.0
+Release:       1
+License:       LGPL v2.1+
+Group:         X11/Libraries
+Source0:       
https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 56e234a0896e8cab206b59c30439ea5d
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: flatpak-devel
+BuildRequires: kf5-kauth-devel
+BuildRequires: kf5-kconfigwidgets-devel
+BuildRequires: kf5-kcoreaddons-devel
+BuildRequires: kf5-ki18n-devel
+BuildRequires: kf5-kio-devel
+BuildRequires: kf5-kxmlgui-devel
+BuildRequires: ninja
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: xz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                qt5dir          %{_libdir}/qt5
+
+%description
+KDE Config Module for flatpak.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       -DHTML_INSTALL_DIR=%{_kdedocdir} \
+       ../
+%ninja_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}/qt5/plugins/plasma/kcms/systemsettings/kcm_flatpak.so
+%{_desktopdir}/kcm_flatpak.desktop
+%{_datadir}/kpackage/kcms/kcm_flatpak/contents/ui/main.qml
+%{_datadir}/kpackage/kcms/kcm_flatpak/contents/ui/permissions.qml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-flatpak-kcm.git/commitdiff/7fa5b4401b9c7e8ccfa7340c5d283bbea48ba118

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to