version 1.0.17 reenable gphoto2 backend
This commit is contained in:
parent
7c8ebf1e5d
commit
98c8050864
@ -1 +1 @@
|
|||||||
sane-backends-1.0.16.tar.gz
|
sane-backends-1.0.17.tar.gz
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
Summary: Scanner access software.
|
# Disable gphoto2 backend by using --without gphoto2
|
||||||
|
%define gphoto2_support 0%{!?_without_gphoto2:1}
|
||||||
|
|
||||||
|
Summary: Scanner access software
|
||||||
Name: sane-backends
|
Name: sane-backends
|
||||||
Version: 1.0.16
|
Version: 1.0.17
|
||||||
Release: 2.1
|
Release: 1
|
||||||
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
|
||||||
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -11,10 +14,8 @@ Patch1: sane-backends-1.0.11-rpath.patch
|
|||||||
Patch3: sane-backends-1.0.12-badcode.patch
|
Patch3: sane-backends-1.0.12-badcode.patch
|
||||||
Patch5: sane-backends-multilib.patch
|
Patch5: sane-backends-multilib.patch
|
||||||
URL: http://www.sane-project.org
|
URL: http://www.sane-project.org
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%__id_u -n)
|
||||||
BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel
|
BuildRequires: tetex-latex libusb-devel libieee1284-devel libjpeg-devel
|
||||||
# Backend maintainer says to leave gphoto2 disabled for now.
|
|
||||||
%define gphoto2_support 0
|
|
||||||
%if %{gphoto2_support}
|
%if %{gphoto2_support}
|
||||||
BuildRequires: gphoto2-devel
|
BuildRequires: gphoto2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -79,7 +80,7 @@ autoconf
|
|||||||
%build
|
%build
|
||||||
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
|
%{expand:%%define optflags %{optflags} -DGIMP_ENABLE_COMPAT_CRUFT=1}
|
||||||
%if %{gphoto2_support}
|
%if %{gphoto2_support}
|
||||||
%configure --with-gphoto2=/usr --with-docdir=%{_docdir}/%{name}-%{version}
|
%configure --with-gphoto2=%{_prefix} --with-docdir=%{_docdir}/%{name}-%{version}
|
||||||
%else
|
%else
|
||||||
%configure --without-gphoto2 --with-docdir=%{_docdir}/%{name}-%{version}
|
%configure --without-gphoto2 --with-docdir=%{_docdir}/%{name}-%{version}
|
||||||
%endif
|
%endif
|
||||||
@ -134,6 +135,10 @@ rm -rf %{buildroot}
|
|||||||
%{_libdir}/sane/*.so
|
%{_libdir}/sane/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 20 2005 Nils Philippsen <nphilipp@redhat.com> 1.0.17-1
|
||||||
|
- version 1.0.17
|
||||||
|
- reenable gphoto2 backend
|
||||||
|
|
||||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user