add application rules file for ufw [release 23.04.1-2mamba;Wed May 31 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 01:00:29 +01:00
parent 12aa3fb83e
commit b38a9d7411
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: kdeconnect
Version: 23.04.1
Release: 1mamba
Release: 2mamba
Summary: Connect Android, Blackberry and other devices with KDE deskto
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://community.kde.org/KDEConnect
Source: https://download.kde.org/stable/release-service/%{version}/src/kdeconnect-kde-%{version}.tar.xz
Source1: ufw-kdeconnect
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -80,6 +81,8 @@ Connect Android, Blackberry and other devices with KDE desktop.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -D -m0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/ufw/applications.d/ufw-kdeconnect
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang
%clean
@ -91,6 +94,7 @@ Connect Android, Blackberry and other devices with KDE desktop.
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/org.kde.kdeconnect.daemon.desktop
%{_sysconfdir}/ufw/applications.d/ufw-kdeconnect
%{_bindir}/kdeconnect-*
%{_datadir}/metainfo/org.kde.kdeconnect.*.xml
%{_datadir}/applications/org.kde.kdeconnect*.desktop
@ -127,6 +131,9 @@ Connect Android, Blackberry and other devices with KDE desktop.
%doc LICENSES
%changelog
* Wed May 31 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.04.1-2mamba
- add application rules file for ufw
* Thu May 11 2023 Automatic Build System <autodist@mambasoft.it> 23.04.1-1mamba
- automatic version update by autodist

4
ufw-kdeconnect Normal file
View File

@ -0,0 +1,4 @@
[KDEConnect]
title=KDEConnect
description=KDEConnect protocol
ports=1714:1764/tcp|1714:1764/udp