[packages/ka6-krdc] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:31:47 CET 2024
commit 2be3df34ee8c0799fff2bea7aae4ac5466af60ea
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:31:34 2024 +0100
- updated to 24.02.0
ka6-krdc.spec | 146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 146 insertions(+)
---
diff --git a/ka6-krdc.spec b/ka6-krdc.spec
new file mode 100644
index 0000000..6faf168
--- /dev/null
+++ b/ka6-krdc.spec
@@ -0,0 +1,146 @@
+#
+# 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 krdc
+Summary: krdc
+Name: ka6-%{kaname}
+Version: 24.02.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Applications
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 66df050a4688fc8e294bcebfa1a7eed4
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= %{qtver}
+BuildRequires: Qt6Widgets-devel >= %{qtver}
+BuildRequires: cmake >= 3.20
+BuildRequires: freerdp2-devel >= 2.10
+BuildRequires: gettext-devel
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kbookmarks-devel >= %{kframever}
+BuildRequires: kf6-kcmutils-devel >= %{kframever}
+BuildRequires: kf6-kcompletion-devel >= %{kframever}
+BuildRequires: kf6-kconfig-devel >= %{kframever}
+BuildRequires: kf6-kconfigwidgets-devel >= %{kframever}
+BuildRequires: kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf6-kdnssd-devel >= %{kframever}
+BuildRequires: kf6-kdoctools-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kiconthemes-devel >= %{kframever}
+BuildRequires: kf6-knotifications-devel >= %{kframever}
+BuildRequires: kf6-knotifyconfig-devel >= %{kframever}
+BuildRequires: kf6-kservice-devel >= %{kframever}
+BuildRequires: kf6-kwallet-devel >= %{kframever}
+BuildRequires: kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires: kf6-kwindowsystem-devel >= %{kframever}
+BuildRequires: kf6-kxmlgui-devel >= %{kframever}
+BuildRequires: libssh-devel
+BuildRequires: libvncserver-devel >= 0.9
+BuildRequires: ninja
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: Qt6Core >= %{qtver}
+Requires: Qt6Gui >= %{qtver}
+Requires: Qt6Widgets >= %{qtver}
+Requires: kf6-kbookmarks >= %{kframever}
+Requires: kf6-kcmutils >= %{kframever}
+Requires: kf6-kcompletion >= %{kframever}
+Requires: kf6-kconfig >= %{kframever}
+Requires: kf6-kconfigwidgets >= %{kframever}
+Requires: kf6-kcoreaddons >= %{kframever}
+Requires: kf6-kdnssd >= %{kframever}
+Requires: kf6-ki18n >= %{kframever}
+Requires: kf6-knotifications >= %{kframever}
+Requires: kf6-knotifyconfig >= %{kframever}
+Requires: kf6-kservice >= %{kframever}
+Requires: kf6-kwallet >= %{kframever}
+Requires: kf6-kwidgetsaddons >= %{kframever}
+Requires: kf6-kwindowsystem >= %{kframever}
+Requires: kf6-kxmlgui >= %{kframever}
+Requires: libvncserver >= 0.9
+Suggests: freerdp2-x11
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KRDC is a client application that allows you to view or even control
+the desktop session on another machine that is running a compatible
+server. VNC and RDP is supported.
+
+%description -l pl.UTF-8
+KRDC jest aplikacją kliencką, która pozwala oglądać a nawet
+kontrolować sesję desktopową na zdalnej maszynie, na której jest
+uruchomiony kompatybilny serwer. Wspierane są VNC i RDP.
+
+%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} \
+ -DFREERDP_EXECUTABLE:PATH=/usr/bin/xfreerdp \
+ -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
+
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/sr
+%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}/krdc
+%attr(755,root,root) %{_libdir}/libkrdccore.so.*.*
+%ghost %{_libdir}/libkrdccore.so.5
+%dir %{_libdir}/qt6/plugins/krdc
+%dir %{_libdir}/qt6/plugins/krdc/kcms
+%attr(755,root,root) %{_libdir}/qt6/plugins/krdc/kcms/libkcm_krdc_rdpplugin.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/krdc/kcms/libkcm_krdc_vncplugin.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/krdc/libkrdc_rdpplugin.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/krdc/libkrdc_testplugin.so
+%attr(755,root,root) %{_libdir}/qt6/plugins/krdc/libkrdc_vncplugin.so
+%{_desktopdir}/org.kde.krdc.desktop
+%{_datadir}/config.kcfg/krdc.kcfg
+%{_datadir}/metainfo/org.kde.krdc.appdata.xml
+%{_datadir}/qlogging-categories6/krdc.categories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/krdc
+%{_includedir}/krdccore_export.h
+%{_libdir}/libkrdccore.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-krdc.git/commitdiff/2be3df34ee8c0799fff2bea7aae4ac5466af60ea
More information about the pld-cvs-commit
mailing list