This commit is contained in:
2026-03-11 12:27:39 +08:00
parent 8e7edda907
commit a4df0fab27
4 changed files with 25 additions and 15 deletions

View File

@@ -242,8 +242,6 @@ Obsoletes: plasma-nm5-fortisslvpn < %{version}
%description fortisslvpn
FortiGate SSL VPN plugin for plasma-nm components.
%lang_package
%prep
%autosetup -p1 -n %{rname}-%{version}
@@ -256,7 +254,12 @@ FortiGate SSL VPN plugin for plasma-nm components.
%install
%kf6_install
%find_lang %{name} --all-name
# todo: fix the name error.
# Avoid illegal package names
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@*
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
# Use langpacks macro to auto-split translations
%find_lang %{name} --with-qt --all-name --generate-subpackages
%fdupes %{buildroot}
@@ -325,6 +328,4 @@ FortiGate SSL VPN plugin for plasma-nm components.
%files fortisslvpn
%{_kf6_plugindir}/plasma/network/vpn/plasmanetworkmanagement_fortisslvpnui.so
%files lang -f %{name}.lang
%changelog