diff --git a/.cvsignore b/.cvsignore index 1a7b07e..6c47ade 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -xsane-0.84.tar.gz +xsane-0.89.tar.gz diff --git a/sources b/sources index fd870e8..d19577e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c0a65d4bc552ae8d82375fc2e584ba2a xsane-0.84.tar.gz +b8cee4abda9b0fc8e2d533b11f37fac4 xsane-0.89.tar.gz diff --git a/xsane.spec b/xsane.spec index 566e983..0b2da90 100644 --- a/xsane.spec +++ b/xsane.spec @@ -1,7 +1,7 @@ Name: xsane Summary: An X Window System front-end for the SANE scanner interface. -Version: 0.84 -Release: 8 +Version: 0.89 +Release: 3 Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz License: GPL URL: http://www.xsane.org/ @@ -70,11 +70,13 @@ desktop-file-install --vendor net --delete-original \ --add-category Application \ xsane.desktop +%find_lang %{name} + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(-,root,root) %doc xsane.[A-Z]* %{_datadir}/applications/* @@ -91,7 +93,7 @@ if [ -x /usr/bin/gimp-config ]; then GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir` fi if [ -z "$GIMPPLUGINDIR" ]; then - GIMPPLUGINDIR=/usr/lib/gimp/1.2 + GIMPPLUGINDIR=%{_libdir}/gimp/1.2 fi RELPATH=`echo $GIMPPLUGINDIR | awk ' BEGIN { FS="/"; i = 1} {while (i < NF) { printf("../"); i = i + 1} }'` @@ -102,12 +104,22 @@ fi %postun gimp if [ $1 = 0 ]; then - rm -f /usr/lib/gimp/1.2/plug-ins/xsane - rm -f /usr/lib/gimp/1.1/plug-ins/xsane - rm -f /usr/lib/gimp/1.0/plug-ins/xsane + rm -f %{_libdir}/gimp/1.2/plug-ins/xsane + rm -f %{_libdir}/gimp/1.1/plug-ins/xsane + rm -f %{_libdir}/gimp/1.0/plug-ins/xsane fi %changelog +* Sat Feb 1 2003 Matt Wilson 0.89-3 +- use %%{_libdir} for gimp plugin path + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Fri Oct 25 2002 Tim Waugh 0.89-1 +- 0.89. +- Use %%find_lang. + * Fri Aug 30 2002 Tim Waugh 0.84-8 - Don't require gimp-devel (cf. bug #70754).