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
|
Summary: The GNU Image Manipulation Program
|
||||||
Name: gimp
|
Name: gimp
|
||||||
Version: 2.2
|
Version: 2.2
|
||||||
Release: %{?prever:0.0.%{prever}.}1
|
Release: %{?prever:0.0.%{prever}.}2
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPL, LGPL
|
License: GPL, LGPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -178,6 +178,15 @@ cat gimp-plugin-files gimp-all.lang > gimp.files
|
|||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/usr/bin/update-desktop-database %{_datadir}/applications
|
/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
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -295,6 +304,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Mon Nov 22 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||||
- version 2.2-pre2
|
- version 2.2-pre2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user