automatic version update by autodist [release 24.02.1-1mamba;Sun Mar 24 2024]

This commit is contained in:
Automatic Build System 2024-03-29 19:04:11 +01:00
parent 7071d096f4
commit f857f90685

View File

@ -1,5 +1,5 @@
Name: lokalize
Version: 23.08.5
Version: 24.02.1
Release: 1mamba
Summary: Computer-aided translation system for KDE4
Group: Graphical Desktop/Applications/Development
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source: http://download.kde.org/stable/release-service/%{version}/src/lokalize-%{version}.tar.xz
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/lokalize-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -51,52 +51,50 @@ This package is part of KDE5.
%setup -q
%build
%cmake_kde5 -d build
%make
%cmake_kf6 \
-DBUILD_WITH_QT6=OFF
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%cmake_install
%find_lang %{name}5_qt --with-qt --with-html --all-name || touch %{name}5_qt.lang
%find_lang %{name} --with-qt --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
touch --no-create %{_kf6_icondir}/hicolor >/dev/null 2>&1
exit 0
%posttrans
update-desktop-database -q >/dev/null 2>&1
update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1
gtk-update-icon-cache %{_kf6_icondir}/hicolor >/dev/null 2>&1
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database -n %{_kde5_mimedir} >/dev/null 2>&1
touch --no-create %{_kde5_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kde5_icondir}/hicolor >/dev/null 2>&1
update-mime-database -n %{_kf6_mimedir} >/dev/null 2>&1
touch --no-create %{_kf6_icondir}/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_kf6_icondir}/hicolor >/dev/null 2>&1
fi
exit 0
%files -f %{name}5_qt.lang
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde5_bindir}/lokalize
%{_kf6_bindir}/lokalize
%{_datadir}/metainfo/org.kde.lokalize.appdata.xml
%{_datadir}/applications/org.kde.lokalize.desktop
%{_datadir}/config.kcfg/lokalize.kcfg
%dir %{_datadir}/doc/HTML/en/lokalize
%{_datadir}/icons/hicolor/*/apps/lokalize.png
%{_datadir}/icons/hicolor/scalable/apps/lokalize.svgz
%{_datadir}/lokalize/icons/hicolor/*/actions/l10n/sr*/*
%{_datadir}/knotifications5/lokalize.notifyrc
%dir %{_datadir}/kxmlgui5/lokalize
%{_datadir}/kxmlgui5/lokalize/*.rc
%{_datadir}/qlogging-categories5/lokalize.categories
%dir %{_datadir}/lokalize
%{_datadir}/lokalize/icons/hicolor/*/actions/*.png
%{_datadir}/lokalize/icons/hicolor/*/actions/l10n/sr*/*
%{_datadir}/lokalize/icons/hicolor/scalable/actions/approved.svgz
%{_datadir}/lokalize/icons/locolor/*/actions/*.png
%dir %{_datadir}/lokalize/scripts
@ -104,10 +102,17 @@ exit 0
%{_datadir}/lokalize/scripts/msgmerge.*
%dir %{_datadir}/lokalize/scripts/odf
%{_datadir}/lokalize/scripts/odf/xliff*
%{_datadir}/qlogging-categories5/lokalize.categories
%{_datadir}/icons/hicolor/*/apps/lokalize.png
%{_datadir}/icons/hicolor/scalable/apps/lokalize.svgz
%doc LICENSES
%changelog
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Sat Mar 02 2024 Automatic Build System <autodist@openmamba.org> 24.02.0-1mamba
- automatic version update by autodist
* Fri Feb 16 2024 Automatic Build System <autodist@openmamba.org> 23.08.5-1mamba
- automatic version update by autodist