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:
parent
495b643825
commit
b2c13cc116
19737
xsane-0.92_gimp2.0.patch
Normal file
19737
xsane-0.92_gimp2.0.patch
Normal file
File diff suppressed because it is too large
Load Diff
37
xsane.spec
37
xsane.spec
@ -1,10 +1,11 @@
|
||||
Name: xsane
|
||||
Summary: An X Window System front-end for the SANE scanner interface.
|
||||
Version: 0.92
|
||||
Release: 1
|
||||
Release: 7
|
||||
Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz
|
||||
Patch0: xsane-0.90-htmlview.patch
|
||||
Patch1: xsane-0.91-badcode.patch
|
||||
Patch2: xsane-0.92_gimp2.0.patch
|
||||
License: GPL
|
||||
URL: http://www.xsane.org/
|
||||
Group: Applications/Multimedia
|
||||
@ -34,9 +35,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%setup -q
|
||||
%patch0 -p1 -b .htmlview
|
||||
%patch1 -p1 -b .badcode
|
||||
%patch2 -p1 -b .gimp2.0
|
||||
|
||||
%build
|
||||
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
|
||||
aclocal
|
||||
autoconf
|
||||
%configure --with-install-root=%{buildroot}
|
||||
make LDFLAGS=
|
||||
|
||||
@ -58,7 +62,6 @@ cat > xsane.desktop <<EOF
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Scanning
|
||||
Name[sv]=XSane
|
||||
Comment=XSane
|
||||
Type=Application
|
||||
Description=A GIMP plugin which provides a scanner interface.
|
||||
@ -74,13 +77,14 @@ desktop-file-install --vendor net --delete-original \
|
||||
--add-category Application \
|
||||
xsane.desktop
|
||||
|
||||
%find_lang %{name}
|
||||
#%find_lang %{name}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.lang
|
||||
#%files -f %{name}.lang
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc xsane.[A-Z]*
|
||||
%{_datadir}/applications/*
|
||||
@ -95,9 +99,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%post gimp
|
||||
if [ -x /usr/bin/gimp-config ]; then
|
||||
GIMPPLUGINDIR=`/usr/bin/gimp-config --gimpplugindir`
|
||||
elif [ -x /usr/bin/gimptool-* ]; then
|
||||
GIMPPLUGINDIR=`/usr/bin/gimptool-* --gimpplugindir`
|
||||
fi
|
||||
if [ -z "$GIMPPLUGINDIR" ]; then
|
||||
GIMPPLUGINDIR=%{_libdir}/gimp/1.2
|
||||
GIMPPLUGINDIR=%{_libdir}/gimp/1.3
|
||||
fi
|
||||
RELPATH=`echo $GIMPPLUGINDIR | awk '
|
||||
BEGIN { FS="/"; i = 1} {while (i < NF) { printf("../"); i = i + 1} }'`
|
||||
@ -108,12 +114,33 @@ fi
|
||||
|
||||
%postun gimp
|
||||
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.1/plug-ins/xsane
|
||||
rm -f %{_libdir}/gimp/1.0/plug-ins/xsane
|
||||
fi
|
||||
|
||||
%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
|
||||
- 0.92.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user