Name: xsane Summary: An X Window System front-end for the SANE scanner interface. Version: 0.77 Release: 3 Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz License: GPL URL: http://www.xsane.org/ Group: Applications/Multimedia Buildroot: %{_tmppath}/%{name}-buildroot Requires: sane-backends >= 1.0.5-3 BuildPrereq: sane-backends-devel gimp-devel ExcludeArch: s390 s390x %description XSane is an X based interface for the SANE (Scanner Access Now Easy) library, which provides access to scanners, digital cameras, and other capture devices. XSane is written in GTK+ and provides control for performing the scan and then manipulating the captured image. %package gimp Summary: A GIMP plug-in which provides the SANE scanner interface. Group: Applications/Multimedia Requires: sane-backends >= 1.0 Prereq: /usr/bin/gimp-config /usr/bin/awk sh-utils fileutils %description gimp This package provides the regular XSane frontend for the SANE scanner interface, but it works as a GIMP plug-in. You must have GIMP installed to use this package. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build %{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1} %configure --with-install-root=%{buildroot} make mv src/xsane src/xsane-gimp make clean %configure --with-install-root=%{buildroot} --disable-gimp make %install rm -rf $RPM_BUILD_ROOT %makeinstall install src/xsane-gimp %{buildroot}%{_bindir} mkdir -p %{buildroot}/etc/X11/applnk/Graphics cat > %{buildroot}/etc/X11/applnk/Graphics/xsane.desktop < 0.77-3 - add an icon to the desktop entry * Tue Jun 19 2001 Florian La Roche - add ExcludeArch: s390 s390x * Mon Jun 11 2001 Tim Waugh 0.77-1 - 0.77. * Sun Jun 3 2001 Tim Waugh 0.76-2 - Require sane-backends, not all of sane. * Wed May 23 2001 Tim Waugh 0.76-1 - 0.76. * Thu May 3 2001 Tim Waugh 0.75-1 - 0.75 - Fix summary/description to match specspo. * Mon Jan 8 2001 Matt Wilson - fix post script of gimp subpackage to install into the correct location * Mon Dec 25 2000 Matt Wilson - rebuilt against gimp 1.2.0 * Thu Dec 21 2000 Matt Wilson - rebuilt against gimp 1.1.32 - use -DGIMP_ENABLE_COMPAT_CRUFT=1 to build with compat macros * Thu Oct 12 2000 Than Ngo - 0.62 * Wed Aug 23 2000 Matt Wilson - rebuilt against gimp-1.1.25 * Mon Aug 07 2000 Than Ngo - added swedish translation (Bug #15316) * Fri Aug 4 2000 Than Ngo - fix, shows error dialogbox if no scanner exists (Bug #15445) - update to 0.61 * Wed Aug 2 2000 Matt Wilson - rebuilt against new libpng * Thu Jul 13 2000 Prospector - automatic rebuild * Mon Jul 3 2000 Matt Wilson - rebuilt against gimp 1.1.24 - make clean before building non gimp version * Fri Jun 30 2000 Preston Brown - made gimp subpkg * Wed Jun 14 2000 Preston Brown - desktop entry added * Tue Jun 13 2000 Preston Brown - fixed gimp link - FHS paths * Tue May 30 2000 Karsten Hopp - update to 0.59 * Sat Jan 29 2000 TIm Powers - fixed bug 8948 * Thu Dec 2 1999 Tim Powers - updated to 0.47 - gzip man pages * Mon Aug 30 1999 Tim Powers - changed group * Mon Jul 26 1999 Tim Powers - update to 0.30 - added %defattr - built for 6.1 * Thu Apr 22 1999 Preston Brown - initial RPM for PowerTools 6.0