rn gtk-pixbuf-query-loaders with default directory [release 2.30.8-6mamba;Mon Jun 01 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 04:21:14 +01:00
parent 1b3cb88b70
commit 2caaeb64dc

View File

@ -9,7 +9,7 @@
Name: libgdk-pixbuf
Epoch: 1
Version: 2.30.8
Release: 5mamba
Release: 6mamba
Summary: An image loading library
Group: System/Libraries
Vendor: openmamba
@ -106,8 +106,6 @@ This package contains %{name} API documentation.
touch %{buildroot}%{_libdir}/gdk-pixbuf-2.0/2.10.0/loaders.cache
mkdir -p %{buildroot}%{_sysconfdir}/gtk-3.0/%{_target_platform}
%find_lang gdk-pixbuf
#%ifarch x86_64
@ -149,18 +147,14 @@ if [ $1 -ge 1 ]; then
fi
%endif
%{_bindir}/gdk-pixbuf-query-loaders%{arch_suffix} --update-cache || :
[ -e %{_sysconfdir}/gtk-3.0 ] && {
mkdir -p %{_sysconfdir}/gtk-3.0/%{_target_platform}
%{_bindir}/gdk-pixbuf-query-loaders%{arch_suffix} > %{_sysconfdir}/gtk-3.0/%{_target_platform}/gdk-pixbuf.loaders || :
}
[ -e %{_sysconfdir}/gtk-2.0 ] && {
mkdir -p %{_sysconfdir}/gtk-2.0/%{_target_platform}
%{_bindir}/gdk-pixbuf-query-loaders%{arch_suffix} > %{_sysconfdir}/gtk-2.0/%{_target_platform}/gdk-pixbuf.loaders || :
}
fi
# legacy cleanups
rm -f /etc/gtk-2.0/gdk-pixbuf.loaders
rm -f /etc/gtk-3.0/gdk-pixbuf.loaders
rm -f /etc/gtk-2.0/%{_target_platform}/gdk-pixbuf.loaders
rm -f /etc/gtk-3.0/%{_target_platform}/gdk-pixbuf.loaders
rmdir /etc/gtk-2.0/%{_target_platform} 2>/dev/null || true
rmdir /etc/gtk-3.0/%{_target_platform} 2>/dev/null || true
fi
:
%posttrans devel
@ -238,6 +232,9 @@ fi
#%endif
%changelog
* Mon Jun 01 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.8-6mamba
- rn gtk-pixbuf-query-loaders with default directory
* Thu May 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.8-5mamba
- multiarch cohexistence of gdk-pixbuf.loaders