use xsane plugin (un)install script if available
This commit is contained in:
parent
fd7304fda7
commit
e5dee461be
14
gimp.spec
14
gimp.spec
@ -16,7 +16,7 @@
|
||||
Summary: The GNU Image Manipulation Program
|
||||
Name: gimp
|
||||
Version: 2.2
|
||||
Release: %{?prever:0.0.%{prever}.}1
|
||||
Release: %{?prever:0.0.%{prever}.}2
|
||||
Epoch: 2
|
||||
License: GPL, LGPL
|
||||
Group: Applications/Multimedia
|
||||
@ -178,6 +178,15 @@ cat gimp-plugin-files gimp-all.lang > gimp.files
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
/usr/bin/update-desktop-database %{_datadir}/applications
|
||||
if [ -x %{_sbindir}/xsane-install-gimp-plugin ]; then
|
||||
%{_sbindir}/xsane-install-gimp-plugin --install %{interfacever}
|
||||
fi
|
||||
|
||||
%preun
|
||||
# Do this always, because interfacever could be different
|
||||
if [ -x %{_sbindir}/xsane-install-gimp-plugin ]; then
|
||||
%{_sbindir}/xsane-install-gimp-plugin --uninstall %{interfacever}
|
||||
fi
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
@ -295,6 +304,9 @@ fi
|
||||
%{_libdir}/pkgconfig/*
|
||||
|
||||
%changelog
|
||||
* Fri Dec 10 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||
- use xsane plugin (un)install script if available
|
||||
|
||||
* Mon Nov 22 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||
- version 2.2-pre2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user