auto-import changelog data from xsane-0.92-7.src.rpm

Tue Mar 09 2004 Tim Waugh <twaugh@redhat.com> 0.92-7
- Fix desktop file Name (bug #117370).
Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
Fri Feb 13 2004 Tim Waugh <twaugh@redhat.com> 0.92-5
- Fixed %post scriptlet.
Sun Jan 25 2004 Tim Waugh <twaugh@redhat.com> 0.92-4
- Gimp patch updated.
Fri Jan 23 2004 Tim Waugh <twaugh@redhat.com> 0.92-3
- Translations are broken -- turn them off for the time being.
- Really apply the patch this time.
- Fix up post/postun scriptlets.
Fri Jan 23 2004 Tim Waugh <twaugh@redhat.com> 0.92-2
- Apply patch for building against new gimp.
This commit is contained in:
cvsdist 2004-09-09 15:10:23 +00:00
parent 495b643825
commit b2c13cc116
2 changed files with 19769 additions and 5 deletions

19737
xsane-0.92_gimp2.0.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +1,11 @@
Name: xsane Name: xsane
Summary: An X Window System front-end for the SANE scanner interface. Summary: An X Window System front-end for the SANE scanner interface.
Version: 0.92 Version: 0.92
Release: 1 Release: 7
Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz
Patch0: xsane-0.90-htmlview.patch Patch0: xsane-0.90-htmlview.patch
Patch1: xsane-0.91-badcode.patch Patch1: xsane-0.91-badcode.patch
Patch2: xsane-0.92_gimp2.0.patch
License: GPL License: GPL
URL: http://www.xsane.org/ URL: http://www.xsane.org/
Group: Applications/Multimedia Group: Applications/Multimedia
@ -34,9 +35,12 @@ rm -rf $RPM_BUILD_ROOT
%setup -q %setup -q
%patch0 -p1 -b .htmlview %patch0 -p1 -b .htmlview
%patch1 -p1 -b .badcode %patch1 -p1 -b .badcode
%patch2 -p1 -b .gimp2.0
%build %build
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1} %{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
aclocal
autoconf
%configure --with-install-root=%{buildroot} %configure --with-install-root=%{buildroot}
make LDFLAGS= make LDFLAGS=
@ -58,7 +62,6 @@ cat > xsane.desktop <<EOF
[Desktop Entry] [Desktop Entry]
Encoding=UTF-8 Encoding=UTF-8
Name=Scanning Name=Scanning
Name[sv]=XSane
Comment=XSane Comment=XSane
Type=Application Type=Application
Description=A GIMP plugin which provides a scanner interface. Description=A GIMP plugin which provides a scanner interface.
@ -74,13 +77,14 @@ desktop-file-install --vendor net --delete-original \
--add-category Application \ --add-category Application \
xsane.desktop xsane.desktop
%find_lang %{name} #%find_lang %{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang #%files -f %{name}.lang
%files
%defattr(-,root,root) %defattr(-,root,root)
%doc xsane.[A-Z]* %doc xsane.[A-Z]*
%{_datadir}/applications/* %{_datadir}/applications/*
@ -95,9 +99,11 @@ rm -rf $RPM_BUILD_ROOT
%post gimp %post gimp
if [ -x /usr/bin/gimp-config ]; then if [ -x /usr/bin/gimp-config ]; then
GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir` GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir`
elif [ -x /usr/bin/gimptool-* ]; then
GIMPPLUGINDIR=`/usr/bin/gimptool-* --gimpplugindir`
fi fi
if [ -z "$GIMPPLUGINDIR" ]; then if [ -z "$GIMPPLUGINDIR" ]; then
GIMPPLUGINDIR=%{_libdir}/gimp/1.2 GIMPPLUGINDIR=%{_libdir}/gimp/1.3
fi fi
RELPATH=`echo $GIMPPLUGINDIR | awk ' RELPATH=`echo $GIMPPLUGINDIR | awk '
BEGIN { FS="/"; i = 1} {while (i < NF) { printf("../"); i = i + 1} }'` BEGIN { FS="/"; i = 1} {while (i < NF) { printf("../"); i = i + 1} }'`
@ -108,12 +114,33 @@ fi
%postun gimp %postun gimp
if [ $1 = 0 ]; then if [ $1 = 0 ]; then
rm -f %{_libdir}/gimp/1.3/plug-ins/xsane
rm -f %{_libdir}/gimp/1.2/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.1/plug-ins/xsane
rm -f %{_libdir}/gimp/1.0/plug-ins/xsane rm -f %{_libdir}/gimp/1.0/plug-ins/xsane
fi fi
%changelog %changelog
* Tue Mar 9 2004 Tim Waugh <twaugh@redhat.com> 0.92-7
- Fix desktop file Name (bug #117370).
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Tim Waugh <twaugh@redhat.com> 0.92-5
- Fixed %%post scriptlet.
* Sun Jan 25 2004 Tim Waugh <twaugh@redhat.com> 0.92-4
- Gimp patch updated.
* Fri Jan 23 2004 Tim Waugh <twaugh@redhat.com> 0.92-3
- Translations are broken -- turn them off for the time being.
- Really apply the patch this time.
- Fix up post/postun scriptlets.
* Fri Jan 23 2004 Tim Waugh <twaugh@redhat.com> 0.92-2
- Apply patch for building against new gimp.
* Mon Dec 15 2003 Tim Waugh <twaugh@redhat.com> 0.92-1 * Mon Dec 15 2003 Tim Waugh <twaugh@redhat.com> 0.92-1
- 0.92. - 0.92.