automatic version update by autodist [release 24.02.1-1mamba;Mon Mar 25 2024]

This commit is contained in:
Automatic Build System 2024-03-29 18:56:17 +01:00
parent ec298e45e6
commit 31ae311f83

View File

@ -1,5 +1,5 @@
Name: libkipi
Version: 23.08.5
Version: 24.02.1
Release: 1mamba
Summary: An interface to use kipi-plugins from a KDE image management program
Group: Graphical Desktop/Libraries/KDE
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://apps.kde.org/kipi_plugins/
Source: http://download.kde.org/stable/release-service/%{version}/src/libkipi-%{version}.tar.xz
Source: https://download.kde.org/%{stable_kde6}/release-service/%{version}/src/libkipi-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -49,41 +49,43 @@ This package contains static libraries and header files need for development.
%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
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
exit 0
%posttrans
/sbin/ldconfig
update-desktop-database -q &>/dev/null
update-mime-database -n %{_kde5_mimedir} &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
update-mime-database -n %{_kf6_mimedir} &>/dev/null
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
exit 0
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
update-desktop-database -q &>/dev/null
update-mime-database -n %{_kde5_mimedir} &>/dev/null
touch --no-create %{_kde5_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kde5_icondir}/hicolor &>/dev/null
update-mime-database -n %{_kf6_mimedir} &>/dev/null
touch --no-create %{_kf6_icondir}/hicolor &>/dev/null
gtk-update-icon-cache %{_kf6_icondir}/hicolor &>/dev/null
fi
exit 0
%files
%defattr(-,root,root)
%{_kde5_libdir}/libKF5Kipi.so.*
%{_kf6_libdir}/libKF5Kipi.so.*
%{_kde5_servicetypesdir}/kipiplugin.desktop
%{_datadir}/qlogging-categories5/kipi.categories
%{_datadir}/icons/hicolor/*/apps/kipi.png
@ -100,9 +102,15 @@ exit 0
%{_kde5_libdir}/libKF5Kipi.so
%dir %{_kde5_libdir}/cmake/KF5Kipi
%{_kde5_libdir}/cmake/KF5Kipi/*.cmake
%doc README
#%doc README
%changelog
* Mon Mar 25 2024 Automatic Build System <autodist@openmamba.org> 24.02.1-1mamba
- automatic version update by autodist
* Fri Mar 01 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