|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
Summary: DjVu viewers, encoders, and utilities
|
|
|
|
|
Name: djvulibre
|
|
|
|
|
Version: 3.5.27
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Group: Applications/Publishing
|
|
|
|
|
URL: http://djvu.sourceforge.net/
|
|
|
|
@ -119,8 +119,6 @@ popd
|
|
|
|
|
rm -f %{_datadir}/applications/djvulibre-djview3.desktop || :
|
|
|
|
|
rm -f %{_datadir}/icons/hicolor/32x32/apps/djvulibre-djview3.png || :
|
|
|
|
|
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
# This is the legacy script, not compliant with current packaging
|
|
|
|
@ -132,21 +130,7 @@ if [ $1 -eq 0 ]; then
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
|
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -185,6 +169,9 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.27-5
|
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.27-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|