auto-import sane-backends-1.0.7-5 from sane-backends-1.0.7-5.src.rpm
This commit is contained in:
parent
0731e8bc64
commit
2f4b2a26ed
@ -1 +1 @@
|
|||||||
sane-backends-1.0.5.tar.gz
|
sane-backends-1.0.7.tar.gz
|
||||||
|
@ -1,29 +1,23 @@
|
|||||||
Summary: Scanner access software.
|
Summary: Scanner access software.
|
||||||
Name: sane-backends
|
Name: sane-backends
|
||||||
Version: 1.0.5
|
Version: 1.0.7
|
||||||
Release: 4.3
|
Release: 5
|
||||||
License: GPL (programs), relaxed LGPL (libraries), and public domain (docs)
|
License: GPL (programs), relaxed LGPL (libraries), and public domain (docs)
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
#Source: ftp://ftp.mostang.com/pub/sane/%{name}-%{version}.tar.gz
|
|
||||||
Source: ftp://ftp.mostang.com/pub/sane/sane-%{version}/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.mostang.com/pub/sane/sane-%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: sane.png
|
Source1: sane.png
|
||||||
Patch0: sane-sparc.patch
|
Patch0: sane-sparc.patch
|
||||||
Patch1: sane-backends-1.0.5-tmpfile-bh.patch
|
Patch1: sane-backends-1.0.7-defaultincl.patch
|
||||||
Patch2: sane-backends-1.0.5-tmpfile-dc25.patch
|
Patch2: sane-backends-1.0.7-argv.patch
|
||||||
Patch3: sane-backends-1.0.5-tmpfile-qcam.patch
|
|
||||||
Patch4: sane-backends-1.0.5-tmpfile-snapscan.patch
|
|
||||||
Patch5: sane-backends-1.0.5-tmpfile-st400.patch
|
|
||||||
Patch6: sane-backends-1.0.5-saned.patch
|
|
||||||
URL: http://www.mostang.com/sane/
|
URL: http://www.mostang.com/sane/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
BuildRequires: tetex-latex
|
BuildRequires: tetex-latex libusb-devel
|
||||||
%ifnarch ia64 sparc64
|
# Backend maintainer says to leave gphoto2 disabled for now.
|
||||||
Provides: libsane.so.1
|
%define gphoto2_support 0
|
||||||
%else
|
%if %{gphoto2_support}
|
||||||
Provides: libsane.so.1()(64bit)
|
BuildRequires: gphoto2-devel
|
||||||
%endif
|
%endif
|
||||||
Prereq: /sbin/ldconfig, /bin/mktemp, /bin/grep, /bin/cat, /bin/rm
|
Prereq: /sbin/ldconfig, /bin/mktemp, /bin/grep, /bin/cat, /bin/rm
|
||||||
BuildPrereq: tetex-latex libtool
|
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -31,18 +25,17 @@ Scanner Access Now Easy (SANE) is a universal scanner interface. The
|
|||||||
SANE application programming interface (API) provides standardized
|
SANE application programming interface (API) provides standardized
|
||||||
access to any raster image scanner hardware (flatbed scanner,
|
access to any raster image scanner hardware (flatbed scanner,
|
||||||
hand-held scanner, video and still cameras, frame-grabbers, etc.). If
|
hand-held scanner, video and still cameras, frame-grabbers, etc.). If
|
||||||
they are using SANE, developers can write image-processing
|
they're using SANE, developers can write image-processing applications
|
||||||
applications without having to think about the peculiarities of
|
without having to think about the peculiarities of individual devices.
|
||||||
individual devices. SANE also makes it possible to write a device
|
SANE also makes it possible to write a device driver once, which can
|
||||||
driver once, which can then be used by any SANE-compliant
|
then be used by any SANE-compliant application. SANE currently
|
||||||
application. SANE currently includes drivers for some Epson SCSI
|
includes drivers for some Epson SCSI scanners, HP ScanJet SCSI
|
||||||
scanners, HP ScanJet SCSI scanners, Microtek SCSI scanners, Mustek
|
scanners, Microtek SCSI scanners, Mustek SCSI flatbed scanners, PINT
|
||||||
SCSI flatbed scanners, PINT devices, most UMAX SCSI scanners,
|
devices, most UMAX SCSI scanners, Connectix QuickCam, and other SANE
|
||||||
Connectix QuickCam, and other SANE devices via network. Note that this
|
devices via network. Note that this package does not enable network
|
||||||
package does not enable network scanning by default. If you wish to
|
scanning by default. If you wish to enable network scanning, read the
|
||||||
enable network scanning, read the saned(1) manpage. If you would like
|
saned(1) manpage. If you'd like to develop SANE modules, you should
|
||||||
to develop SANE modules, you should also install the
|
also install the sane-backends-devel package.
|
||||||
sane-backends-devel package.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: The SANE (a universal scanner interface) development toolkit.
|
Summary: The SANE (a universal scanner interface) development toolkit.
|
||||||
@ -59,24 +52,22 @@ included in the sane-backends package.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .sparc
|
%patch0 -p1 -b .sparc
|
||||||
|
%patch1 -p1 -b .defaultincl
|
||||||
# Fix temporary file handling
|
%patch2 -p1 -b .argv
|
||||||
%patch1 -p1 -b .bh
|
|
||||||
%patch2 -p1 -b .dc25
|
|
||||||
%patch3 -p1 -b .qcam
|
|
||||||
%patch4 -p1 -b .snapscan
|
|
||||||
%patch5 -p3 -b .st400
|
|
||||||
%patch6 -p1 -b .saned
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
|
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
|
||||||
%configure
|
%if %{gphoto2_support}
|
||||||
make LIBTOOL=/usr/bin/libtool
|
%configure --with-gphoto2=/usr
|
||||||
|
%else
|
||||||
|
%configure --without-gphoto2
|
||||||
|
%endif
|
||||||
|
make
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
%{makeinstall} LIBTOOL=/usr/bin/libtool
|
%{makeinstall}
|
||||||
perl -pi -e "s/installed.*/installed=yes/g" $RPM_BUILD_ROOT%{_libdir}/libsane.la
|
perl -pi -e "s/installed.*/installed=yes/g" $RPM_BUILD_ROOT%{_libdir}/libsane.la
|
||||||
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/sane
|
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/sane
|
||||||
|
|
||||||
@ -134,16 +125,43 @@ fi
|
|||||||
%{_libdir}/sane/*.so
|
%{_libdir}/sane/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 6 2003 Tim Waugh <twaugh@redhat.com> 1.0.5-4.3
|
* Mon Mar 4 2002 Tim Powers <timp@redhat.com>
|
||||||
- Build with installed libtool.
|
- bump release number, wasn't bumped last time
|
||||||
|
|
||||||
* Thu Sep 11 2003 Tim Waugh <twaugh@redhat.com> 1.0.5-4.2
|
* Mon Mar 3 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-4
|
||||||
- Fix saned security issues.
|
- Update sparc patch (Tom "spot" Callaway).
|
||||||
|
|
||||||
* Wed Dec 19 2001 Tim Waugh <twaugh@redhat.com> 1.0.5-4.1
|
* Thu Feb 21 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-3
|
||||||
- Fix temporary file handling.
|
- Rebuild in new environment.
|
||||||
|
- Disable bad stdarg code in scanimage so that alpha builds succeed.
|
||||||
|
|
||||||
* Fri Jul 20 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
* Mon Feb 11 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-2
|
||||||
|
- Make sure sane-config doesn't specify the default include path
|
||||||
|
(bug #59507).
|
||||||
|
|
||||||
|
* Mon Feb 4 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-1
|
||||||
|
- 1.0.7.
|
||||||
|
|
||||||
|
* Sun Jan 27 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-0.beta2.1
|
||||||
|
- 1.0.7-beta2.
|
||||||
|
|
||||||
|
* Wed Jan 23 2002 Tim Waugh <twaugh@redhat.com> 1.0.7-0.beta1.1
|
||||||
|
- 1.0.7-beta1.
|
||||||
|
- Patches no longer needed: scsi, microtek2, format.
|
||||||
|
|
||||||
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com> 1.0.6-4
|
||||||
|
- automated rebuild
|
||||||
|
|
||||||
|
* Wed Nov 21 2001 Tim Waugh <twaugh@redhat.com> 1.0.6-3
|
||||||
|
- Fix default file names format in batch scans (bug #56542).
|
||||||
|
|
||||||
|
* Tue Nov 20 2001 Tim Waugh <twaugh@redhat.com> 1.0.6-2
|
||||||
|
- Apply Maurice Hilarius's patch to avoid kill(-1,SIGTERM) (bug #56540).
|
||||||
|
|
||||||
|
* Mon Nov 5 2001 Tim Waugh <twaugh@redhat.com> 1.0.6-1
|
||||||
|
- 1.0.6.
|
||||||
|
|
||||||
|
* Fri Jul 20 2001 Florian La Roche <Florian.LaRoche@redhat.de> 1.0.5-4
|
||||||
- exclude s390, s390x
|
- exclude s390, s390x
|
||||||
|
|
||||||
* Tue Jul 17 2001 Preston Brown <pbrown@redhat.com> 1.0.5-3
|
* Tue Jul 17 2001 Preston Brown <pbrown@redhat.com> 1.0.5-3
|
||||||
|
Loading…
Reference in New Issue
Block a user