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