|
|
|
@ -1,33 +1,50 @@
|
|
|
|
|
# let -devel require drivers to make them available as multilib
|
|
|
|
|
%global needs_multilib_quirk 1
|
|
|
|
|
|
|
|
|
|
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 16 || 0%{?rhel} >= 7
|
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
|
|
|
|
%global udevdir %{_prefix}/lib/udev
|
|
|
|
|
%else
|
|
|
|
|
%global udevdir /lib/udev
|
|
|
|
|
%endif
|
|
|
|
|
%global udevrulesdir %{udevdir}/rules.d
|
|
|
|
|
%global udevhwdbdir %{udevdir}/hwdb.d
|
|
|
|
|
|
|
|
|
|
%if !0%{?fedora}%{?rhel} || 0%{?fedora} >= 18 || 0%{?rhel} >= 7
|
|
|
|
|
%global libusb1 1
|
|
|
|
|
%else
|
|
|
|
|
%global libusb1 0
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global __provides_exclude_from ^%{_libdir}/sane/.*\.so.*$
|
|
|
|
|
%global __requires_exclude ^libsane-.*\.so\.[0-9]*(\(\).*)?+$
|
|
|
|
|
|
|
|
|
|
%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} >= 8
|
|
|
|
|
%global _maindocdir %{_docdir}/%{name}
|
|
|
|
|
%global _docdocdir %{_docdir}/%{name}-doc
|
|
|
|
|
%else
|
|
|
|
|
%global _maindocdir %{_docdir}/%{name}-%{version}
|
|
|
|
|
%global _docdocdir %{_docdir}/%{name}-doc-%{version}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Summary: Scanner access software
|
|
|
|
|
Name: sane-backends
|
|
|
|
|
Version: 1.0.32
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 1.0.27
|
|
|
|
|
Release: 22%{?dist}
|
|
|
|
|
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions
|
|
|
|
|
# Tools are GPLv2+, docs are public domain
|
|
|
|
|
# see LICENSE for details
|
|
|
|
|
License: GPLv2+ and GPLv2+ with exceptions and Public Domain and IJG and LGPLv2+ and MIT
|
|
|
|
|
# GitLab Download URLs are amazing. But the source code link has different name and doesnt have generated autotools stuff
|
|
|
|
|
Source0: https://gitlab.com/sane-project/backends/uploads/104f09c07d35519cc8e72e604f11643f/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
# Alioth Download URLs are amazing.
|
|
|
|
|
Source0: https://gitlab.com/sane-project/backends/uploads/a3ba9fff29253a94e84074917bff581a/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: sane.png
|
|
|
|
|
Source2: saned.socket
|
|
|
|
|
Source3: saned@.service.in
|
|
|
|
|
Source4: README.Fedora
|
|
|
|
|
Source5: 66-saned.rules
|
|
|
|
|
Source6: sane-backends.sysusers
|
|
|
|
|
|
|
|
|
|
# Fedora-specific, probably not generally applicable:
|
|
|
|
|
Patch0: sane-backends-1.0.25-udev.patch
|
|
|
|
@ -36,49 +53,50 @@ Patch0: sane-backends-1.0.25-udev.patch
|
|
|
|
|
Patch1: sane-backends-1.0.23-soname.patch
|
|
|
|
|
# Fedora-specific (for now): make installed sane-config multi-lib aware again
|
|
|
|
|
Patch2: sane-backends-1.0.23-sane-config-multilib.patch
|
|
|
|
|
# 1934308 - Several Epson devices cannot scan because they fail to set focus
|
|
|
|
|
Patch3: sane-epson2-disable-focus.patch
|
|
|
|
|
# saned manpage incomplete and exists when saned is not installed (#1515762)
|
|
|
|
|
Patch3: sane-backends-saned-manpage.patch
|
|
|
|
|
# Black vertical band in color and gray images with Canon LIDE 100 scanner (bug #1540370)
|
|
|
|
|
Patch4: sane-backends-canon-lide-100.patch
|
|
|
|
|
# Revert samsung patch from upstream (upstream tracker https://alioth.debian.org/tracker/index.php?func=detail&aid=315876&group_id=30186&atid=410366)
|
|
|
|
|
Patch5: sane-backends-revert-samsung-patch.patch
|
|
|
|
|
# 1852468, 1852467, 1852466, 1852465 - prevent buffer overflow in esci2_img
|
|
|
|
|
Patch6: 0001-epsonds-Prevent-possible-buffer-overflow-when-readin.patch
|
|
|
|
|
# 1852663, 1848097 - NULL pointer dereference in sanei_epson_net_read function
|
|
|
|
|
Patch7: 0001-epson2-Rewrite-network-I-O.patch
|
|
|
|
|
|
|
|
|
|
URL: http://www.sane-project.org
|
|
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
# gcc is no longer in buildroot by default
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
# genesys backend is not written in C++, so it is needed as buildrequire
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: gphoto2-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: %{_bindir}/latex
|
|
|
|
|
BuildRequires: libieee1284-devel
|
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
%if %libusb1
|
|
|
|
|
BuildRequires: libusbx-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: libieee1284-devel
|
|
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
|
BuildRequires: libv4l-devel
|
|
|
|
|
# uses make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
# pixma backend generates header files during build via python script
|
|
|
|
|
BuildRequires: python3
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: gphoto2-devel
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
# needed by macros in rpm scriptlets
|
|
|
|
|
BuildRequires: systemd-rpm-macros
|
|
|
|
|
|
|
|
|
|
Requires: libpng
|
|
|
|
|
%if 0%{?fedora} >= 32 || 0%{?rhel} > 8
|
|
|
|
|
Requires: sane-airscan
|
|
|
|
|
%endif
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: systemd >= 196
|
|
|
|
|
Requires: systemd-udev >= 196
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
# Don't drag around obsoletes forever
|
|
|
|
|
%if ! (0%{?fedora} >= 27 || 0%{?rhel} >= 8)
|
|
|
|
|
Obsoletes: sane-backends < 1.0.25-3
|
|
|
|
|
Conflicts: sane-backends < 1.0.25-3
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# workaround for Brother scanners, which drivers are built with old libnsl
|
|
|
|
|
# it is ignored by DNF, but it seems GUI installation apps should offer it
|
|
|
|
|
# if it is not installed, it leads to crashes like #1778425
|
|
|
|
|
Suggests: libnsl
|
|
|
|
|
# fix for 1852668, 1852667, 1852666, 1852665 - autodiscovery is not supported in epsonds
|
|
|
|
|
# backend, so disable it during post scriptlet (grep and sed are needed for the scriptlet)
|
|
|
|
|
Requires: grep, sed
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Scanner Access Now Easy (SANE) is a universal scanner interface. The
|
|
|
|
@ -90,6 +108,10 @@ hand-held scanner, video and still cameras, frame-grabbers, etc.).
|
|
|
|
|
Summary: SANE backends documentation
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Don't drag around obsoletes forever
|
|
|
|
|
%if 0%{?fedora}%{?rhel} && (0%{?fedora} < 25 || 0%{?rhel} <= 8)
|
|
|
|
|
Obsoletes: sane-backends < 1.0.23-10
|
|
|
|
|
Conflicts: sane-backends < 1.0.23-10
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
This package contains documentation for SANE backends.
|
|
|
|
@ -105,21 +127,21 @@ want to access scanners.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: SANE development toolkit
|
|
|
|
|
Requires: libieee1284-devel
|
|
|
|
|
Requires: libjpeg-devel
|
|
|
|
|
Requires: libtiff-devel
|
|
|
|
|
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
%if %needs_multilib_quirk
|
|
|
|
|
Requires: sane-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: sane-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
%if %libusb1
|
|
|
|
|
Requires: libusbx-devel
|
|
|
|
|
%else
|
|
|
|
|
Requires: libusb-devel
|
|
|
|
|
%endif
|
|
|
|
|
Requires: libieee1284-devel
|
|
|
|
|
Requires: libjpeg-devel
|
|
|
|
|
Requires: libtiff-devel
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
%if %needs_multilib_quirk
|
|
|
|
|
Requires: sane-backends-drivers-scanners%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: sane-backends-drivers-cameras%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
This package contains libraries and header files for writing Scanner Access Now
|
|
|
|
@ -127,10 +149,15 @@ Easy (SANE) modules.
|
|
|
|
|
|
|
|
|
|
%package drivers-scanners
|
|
|
|
|
Summary: SANE backend drivers for scanners
|
|
|
|
|
# pixma backend now requires libxml2
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
# Don't drag around obsoletes forever
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
|
|
|
|
Obsoletes: sane-backends < 1.0.22-4
|
|
|
|
|
Obsoletes: sane-backends-libs < 1.0.22-4
|
|
|
|
|
Conflicts: sane-backends < 1.0.22-4
|
|
|
|
|
Conflicts: sane-backends-libs < 1.0.22-4
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description drivers-scanners
|
|
|
|
|
This package contains backend drivers to access scanner hardware through SANE.
|
|
|
|
@ -139,6 +166,13 @@ This package contains backend drivers to access scanner hardware through SANE.
|
|
|
|
|
Summary: Scanner backend drivers for digital cameras
|
|
|
|
|
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
# Don't drag around obsoletes forever
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8
|
|
|
|
|
Obsoletes: sane-backends-libs-gphoto2 < 1.0.22-4
|
|
|
|
|
Conflicts: sane-backends-libs-gphoto2 < 1.0.22-4
|
|
|
|
|
Provides: sane-libs-gphoto2 = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Provides: sane-libs-gphoto2%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description drivers-cameras
|
|
|
|
|
This package contains backend drivers to access digital cameras through SANE.
|
|
|
|
@ -147,6 +181,13 @@ This package contains backend drivers to access digital cameras through SANE.
|
|
|
|
|
Summary: Scanner network daemon
|
|
|
|
|
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires(pre): shadow-utils
|
|
|
|
|
%{?systemd_requires}
|
|
|
|
|
# Split off saned from 1.0.25-3 on, don't drag around obsoletes forever
|
|
|
|
|
%if ! (0%{?fedora} >= 27 || 0%{?rhel} >= 8)
|
|
|
|
|
Obsoletes: sane-backends < 1.0.25-3
|
|
|
|
|
Conflicts: sane-backends < 1.0.25-3
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description daemon
|
|
|
|
|
This package contains saned which is the daemon that allows remote clients to
|
|
|
|
@ -158,7 +199,11 @@ access image acquisition devices available on the local host.
|
|
|
|
|
%patch0 -p1 -b .udev
|
|
|
|
|
%patch1 -p1 -b .soname
|
|
|
|
|
%patch2 -p1 -b .sane-config-multilib
|
|
|
|
|
%patch3 -p1 -b .disable-focus
|
|
|
|
|
%patch3 -p1 -b .saned-manpage
|
|
|
|
|
%patch4 -p1 -b .canon-lide-100
|
|
|
|
|
%patch5 -p1 -b .revert-samsung-patch
|
|
|
|
|
%patch6 -p1 -b .prevent-buffer-overflow
|
|
|
|
|
%patch7 -p1 -b .rework-epsonds-io
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS="%optflags -fno-strict-aliasing"
|
|
|
|
@ -177,7 +222,7 @@ LDFLAGS="-pie"
|
|
|
|
|
--with-usb \
|
|
|
|
|
%endif
|
|
|
|
|
--enable-pthread
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
# Write udev/hwdb files
|
|
|
|
|
_topdir="$PWD"
|
|
|
|
@ -188,9 +233,7 @@ pushd tools
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
install -p -D -m 0644 %{SOURCE6} %{buildroot}%{_sysusersdir}/sane-backends.conf
|
|
|
|
|
make DESTDIR="%{buildroot}" install
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
|
|
|
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps
|
|
|
|
@ -199,11 +242,11 @@ rm -f %{buildroot}%{_mandir}/man1/gamma4scanimage.1*
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/sane/*.a %{buildroot}%{_libdir}/*.a
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/libsane*.la %{buildroot}%{_libdir}/sane/*.la
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_udevrulesdir}
|
|
|
|
|
mkdir -p %{buildroot}%{_udevhwdbdir}
|
|
|
|
|
install -m 0644 tools/udev/sane-backends.rules %{buildroot}%{_udevrulesdir}/65-sane-backends.rules
|
|
|
|
|
install -m 0644 tools/udev/sane-backends.hwdb %{buildroot}%{_udevhwdbdir}/20-sane-backends.hwdb
|
|
|
|
|
install -m 0644 %{SOURCE5} %{buildroot}%{_udevrulesdir}/66-saned.rules
|
|
|
|
|
mkdir -p %{buildroot}%{udevrulesdir}
|
|
|
|
|
mkdir -p %{buildroot}%{udevhwdbdir}
|
|
|
|
|
install -m 0644 tools/udev/sane-backends.rules %{buildroot}%{udevrulesdir}/65-sane-backends.rules
|
|
|
|
|
install -m 0644 tools/udev/sane-backends.hwdb %{buildroot}%{udevhwdbdir}/20-sane-backends.hwdb
|
|
|
|
|
install -m 0644 %{SOURCE5} %{buildroot}%{udevrulesdir}/66-saned.rules
|
|
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
|
|
|
|
install -m 0644 tools/sane-backends.pc %{buildroot}%{_libdir}/pkgconfig/
|
|
|
|
@ -235,10 +278,6 @@ install -m 644 %{SOURCE2} %{buildroot}%{_unitdir}
|
|
|
|
|
sed 's|@CONFIGDIR@|%{_sysconfdir}/sane.d|g' < %{SOURCE3} > saned@.service
|
|
|
|
|
install -m 644 saned@.service %{buildroot}%{_unitdir}
|
|
|
|
|
|
|
|
|
|
%ifarch armv7hl
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/sane/libsane-qcam.so
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%find_lang %name
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
@ -258,7 +297,11 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|
|
|
|
%ldconfig_scriptlets libs
|
|
|
|
|
|
|
|
|
|
%pre daemon
|
|
|
|
|
%sysusers_create_compat %{SOURCE6}
|
|
|
|
|
getent group saned >/dev/null || groupadd -r saned
|
|
|
|
|
getent passwd saned >/dev/null || \
|
|
|
|
|
useradd -r -g saned -d %{_datadir}/sane -s /sbin/nologin \
|
|
|
|
|
-c "SANE scanner daemon user" saned
|
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
|
|
%post daemon
|
|
|
|
|
%systemd_post saned.socket
|
|
|
|
@ -267,7 +310,7 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|
|
|
|
%systemd_preun saned.socket
|
|
|
|
|
|
|
|
|
|
%postun daemon
|
|
|
|
|
%systemd_postun_with_restart saned.socket
|
|
|
|
|
%systemd_postun saned.socket
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%dir %{_maindocdir}
|
|
|
|
@ -281,8 +324,8 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|
|
|
|
%dir /etc/sane.d
|
|
|
|
|
%dir /etc/sane.d/dll.d
|
|
|
|
|
%config(noreplace) /etc/sane.d/*.conf
|
|
|
|
|
%{_udevrulesdir}/65-sane-backends.rules
|
|
|
|
|
%{_udevhwdbdir}/20-sane-backends.hwdb
|
|
|
|
|
%{udevrulesdir}/65-sane-backends.rules
|
|
|
|
|
%{udevhwdbdir}/20-sane-backends.hwdb
|
|
|
|
|
%{_datadir}/pixmaps/sane.png
|
|
|
|
|
|
|
|
|
|
%{_bindir}/sane-find-scanner
|
|
|
|
@ -301,7 +344,7 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
|
%{_libdir}/libsane.so.1
|
|
|
|
|
%{_libdir}/libsane.so.1.0.32
|
|
|
|
|
%{_libdir}/libsane.so.1.0.27
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_bindir}/sane-config
|
|
|
|
@ -311,252 +354,44 @@ udevadm hwdb --update >/dev/null 2>&1 || :
|
|
|
|
|
%{_libdir}/pkgconfig/sane-backends.pc
|
|
|
|
|
|
|
|
|
|
%files drivers-scanners
|
|
|
|
|
# we need to specify all .so files for available backends because something like
|
|
|
|
|
# #1761145 can happen - genesys did not compile because of lack gcc-c++ in buildroot
|
|
|
|
|
# and configure printed only warning. So now we can figure out missing backend support
|
|
|
|
|
# during build
|
|
|
|
|
%{_libdir}/sane/libsane-abaton.so
|
|
|
|
|
%{_libdir}/sane/libsane-agfafocus.so
|
|
|
|
|
%{_libdir}/sane/libsane-apple.so
|
|
|
|
|
%{_libdir}/sane/libsane-artec.so
|
|
|
|
|
%{_libdir}/sane/libsane-artec_eplus48u.so
|
|
|
|
|
%{_libdir}/sane/libsane-as6e.so
|
|
|
|
|
%{_libdir}/sane/libsane-avision.so
|
|
|
|
|
%{_libdir}/sane/libsane-bh.so
|
|
|
|
|
%{_libdir}/sane/libsane-canon.so
|
|
|
|
|
%{_libdir}/sane/libsane-canon630u.so
|
|
|
|
|
%{_libdir}/sane/libsane-canon_dr.so
|
|
|
|
|
%{_libdir}/sane/libsane-canon_lide70.so
|
|
|
|
|
%{_libdir}/sane/libsane-canon_pp.so
|
|
|
|
|
%{_libdir}/sane/libsane-cardscan.so
|
|
|
|
|
%{_libdir}/sane/libsane-coolscan.so
|
|
|
|
|
%{_libdir}/sane/libsane-coolscan2.so
|
|
|
|
|
%{_libdir}/sane/libsane-coolscan3.so
|
|
|
|
|
%{_libdir}/sane/libsane-dc210.so
|
|
|
|
|
%{_libdir}/sane/libsane-dc240.so
|
|
|
|
|
%{_libdir}/sane/libsane-dc25.so
|
|
|
|
|
%{_libdir}/sane/libsane-dell1600n_net.so
|
|
|
|
|
%{_libdir}/sane/libsane-dll.so
|
|
|
|
|
%{_libdir}/sane/libsane-dmc.so
|
|
|
|
|
%{_libdir}/sane/libsane-epjitsu.so
|
|
|
|
|
%{_libdir}/sane/libsane-epson.so
|
|
|
|
|
%{_libdir}/sane/libsane-epson2.so
|
|
|
|
|
%{_libdir}/sane/libsane-epsonds.so
|
|
|
|
|
%{_libdir}/sane/libsane-fujitsu.so
|
|
|
|
|
%{_libdir}/sane/libsane-genesys.so
|
|
|
|
|
%{_libdir}/sane/libsane-gt68xx.so
|
|
|
|
|
%{_libdir}/sane/libsane-hp.so
|
|
|
|
|
%{_libdir}/sane/libsane-hp3500.so
|
|
|
|
|
%{_libdir}/sane/libsane-hp3900.so
|
|
|
|
|
%{_libdir}/sane/libsane-hp4200.so
|
|
|
|
|
%{_libdir}/sane/libsane-hp5400.so
|
|
|
|
|
%{_libdir}/sane/libsane-hp5590.so
|
|
|
|
|
%{_libdir}/sane/libsane-hpljm1005.so
|
|
|
|
|
%{_libdir}/sane/libsane-hpsj5s.so
|
|
|
|
|
%{_libdir}/sane/libsane-hs2p.so
|
|
|
|
|
%{_libdir}/sane/libsane-ibm.so
|
|
|
|
|
%{_libdir}/sane/libsane-kodak.so
|
|
|
|
|
%{_libdir}/sane/libsane-kodakaio.so
|
|
|
|
|
%{_libdir}/sane/libsane-kvs1025.so
|
|
|
|
|
%{_libdir}/sane/libsane-kvs20xx.so
|
|
|
|
|
%{_libdir}/sane/libsane-kvs40xx.so
|
|
|
|
|
%{_libdir}/sane/libsane-leo.so
|
|
|
|
|
%{_libdir}/sane/libsane-lexmark.so
|
|
|
|
|
%{_libdir}/sane/libsane-ma1509.so
|
|
|
|
|
%{_libdir}/sane/libsane-magicolor.so
|
|
|
|
|
%{_libdir}/sane/libsane-matsushita.so
|
|
|
|
|
%{_libdir}/sane/libsane-microtek.so
|
|
|
|
|
%{_libdir}/sane/libsane-microtek2.so
|
|
|
|
|
%{_libdir}/sane/libsane-mustek.so
|
|
|
|
|
%{_libdir}/sane/libsane-mustek_pp.so
|
|
|
|
|
%{_libdir}/sane/libsane-mustek_usb.so
|
|
|
|
|
%{_libdir}/sane/libsane-mustek_usb2.so
|
|
|
|
|
%{_libdir}/sane/libsane-nec.so
|
|
|
|
|
%{_libdir}/sane/libsane-net.so
|
|
|
|
|
%{_libdir}/sane/libsane-niash.so
|
|
|
|
|
%{_libdir}/sane/libsane-p5.so
|
|
|
|
|
%{_libdir}/sane/libsane-pie.so
|
|
|
|
|
%{_libdir}/sane/libsane-pieusb.so
|
|
|
|
|
%{_libdir}/sane/libsane-pixma.so
|
|
|
|
|
%{_libdir}/sane/libsane-plustek.so
|
|
|
|
|
%{_libdir}/sane/libsane-plustek_pp.so
|
|
|
|
|
# qcam is not on aarch64, ppc64le and s390x. SANE needs
|
|
|
|
|
# ioperm, inb and outb functions or portaccess function
|
|
|
|
|
# to support qcam backend. Those functions are only in
|
|
|
|
|
# armv7hl (until F30), i686 and x86_64 architectures.
|
|
|
|
|
# Because qcam is missing on some archs and releases,
|
|
|
|
|
# I'll leave here a wildcard record
|
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
|
%{_libdir}/sane/libsane-qcam.so
|
|
|
|
|
%endif
|
|
|
|
|
%{_libdir}/sane/libsane-ricoh.so
|
|
|
|
|
%{_libdir}/sane/libsane-ricoh2.so
|
|
|
|
|
%{_libdir}/sane/libsane-rts8891.so
|
|
|
|
|
%{_libdir}/sane/libsane-s9036.so
|
|
|
|
|
%{_libdir}/sane/libsane-sceptre.so
|
|
|
|
|
%{_libdir}/sane/libsane-sharp.so
|
|
|
|
|
%{_libdir}/sane/libsane-sm3600.so
|
|
|
|
|
%{_libdir}/sane/libsane-sm3840.so
|
|
|
|
|
%{_libdir}/sane/libsane-snapscan.so
|
|
|
|
|
%{_libdir}/sane/libsane-sp15c.so
|
|
|
|
|
%{_libdir}/sane/libsane-st400.so
|
|
|
|
|
%{_libdir}/sane/libsane-stv680.so
|
|
|
|
|
%{_libdir}/sane/libsane-tamarack.so
|
|
|
|
|
%{_libdir}/sane/libsane-teco1.so
|
|
|
|
|
%{_libdir}/sane/libsane-teco2.so
|
|
|
|
|
%{_libdir}/sane/libsane-teco3.so
|
|
|
|
|
%{_libdir}/sane/libsane-test.so
|
|
|
|
|
%{_libdir}/sane/libsane-u12.so
|
|
|
|
|
%{_libdir}/sane/libsane-umax.so
|
|
|
|
|
%{_libdir}/sane/libsane-umax1220u.so
|
|
|
|
|
%{_libdir}/sane/libsane-umax_pp.so
|
|
|
|
|
%{_libdir}/sane/libsane-v4l.so
|
|
|
|
|
%{_libdir}/sane/libsane-xerox_mfp.so
|
|
|
|
|
%{_libdir}/sane/*.so
|
|
|
|
|
%{_libdir}/sane/*.so.1
|
|
|
|
|
%{_libdir}/sane/*.so.1.0.32
|
|
|
|
|
%{_libdir}/sane/*.so.1.0.27
|
|
|
|
|
|
|
|
|
|
%exclude %{_libdir}/sane/*gphoto2.so*
|
|
|
|
|
|
|
|
|
|
%files drivers-cameras
|
|
|
|
|
%{_libdir}/sane/libsane-gphoto2.so
|
|
|
|
|
%{_libdir}/sane/libsane-gphoto2.so.1
|
|
|
|
|
%{_libdir}/sane/libsane-gphoto2.so.1.0.32
|
|
|
|
|
%{_libdir}/sane/libsane-gphoto2.so.1.0.27
|
|
|
|
|
|
|
|
|
|
%files daemon
|
|
|
|
|
%{_sbindir}/saned
|
|
|
|
|
%{_mandir}/man8/saned*
|
|
|
|
|
%{_sysusersdir}/sane-backends.conf
|
|
|
|
|
%{_udevrulesdir}/66-saned.rules
|
|
|
|
|
%{udevrulesdir}/66-saned.rules
|
|
|
|
|
%{_unitdir}/saned.socket
|
|
|
|
|
%{_unitdir}/saned@.service
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jul 21 2022 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.32-7
|
|
|
|
|
- 2095461 - [RFE] sane-backends use systems-sysusers
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.32-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.0.32-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Mar 09 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.32-4
|
|
|
|
|
- 1934308 - Several Epson devices cannot scan because they fail to set focus
|
|
|
|
|
|
|
|
|
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.32-3
|
|
|
|
|
- Rebuilt for updated systemd-rpm-macros
|
|
|
|
|
See https://pagure.io/fesco/issue/2583.
|
|
|
|
|
|
|
|
|
|
* Thu Feb 18 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.32-2
|
|
|
|
|
- python3 is now needed for building pixma backend
|
|
|
|
|
|
|
|
|
|
* Tue Feb 16 2021 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.32-1
|
|
|
|
|
- 1928484 - sane-backends-1.0.32 is available
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.31-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Nov 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.31-4
|
|
|
|
|
- make is no longer in buildroot by default
|
|
|
|
|
|
|
|
|
|
* Fri Oct 09 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.31-3
|
|
|
|
|
- 1750899 - CANOSCAN N650U scanner device not correctly detected via USB
|
|
|
|
|
|
|
|
|
|
* Mon Sep 14 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.31-2
|
|
|
|
|
- make the base package depend on sane-airscan instead of libsane-airscan lib
|
|
|
|
|
|
|
|
|
|
* Mon Aug 24 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.31-1
|
|
|
|
|
- 1.0.31, backend cannon_lide70 added
|
|
|
|
|
|
|
|
|
|
* Mon Aug 03 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.30-4
|
|
|
|
|
- get libsane-airscan backend as one of backends
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.30-3
|
|
|
|
|
- add a scriptlet to disable epsonds autodiscovery in case an user changed epsonds.conf
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.0.27-22
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Tue Jul 14 2020 Tom Stellard <tstellar@redhat.com> - 1.0.30-2
|
|
|
|
|
- Use make macros
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
* Tue Sep 08 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-22
|
|
|
|
|
- related 1852663 - needed to rebuild due infrastructure error
|
|
|
|
|
|
|
|
|
|
* Tue May 19 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.30-1
|
|
|
|
|
- 1.0.30
|
|
|
|
|
* Thu Sep 03 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-21
|
|
|
|
|
- 1852663, 1848097 - NULL pointer dereference in sanei_epson_net_read function
|
|
|
|
|
|
|
|
|
|
* Mon May 11 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-8
|
|
|
|
|
- 1778425 - scanimage segfaults for brother scan drivers due missing deprecated libnsl
|
|
|
|
|
- spec file fixes - add link to upstream issue, correct source url
|
|
|
|
|
* Wed Jul 01 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-20
|
|
|
|
|
- 1852468, 1852467, 1852466, 1852465 - prevent buffer overflow in esci2_img
|
|
|
|
|
- 1852668, 1852667, 1852666, 1852665 - disable autodiscovery for epsonds backend
|
|
|
|
|
|
|
|
|
|
* Thu Apr 02 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-7
|
|
|
|
|
- remove escl backend - will be merged into sane-airscan in the future, so stop shipping it
|
|
|
|
|
to prevent escl going into RHEL
|
|
|
|
|
|
|
|
|
|
* Mon Mar 23 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-6
|
|
|
|
|
- complete fix for #1807751
|
|
|
|
|
|
|
|
|
|
* Mon Mar 23 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-5
|
|
|
|
|
- 1807751 - [abrt] sane-backends: std::__replacement_assert(): scanimage killed by SIGABRT
|
|
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-4
|
|
|
|
|
- really fix it...
|
|
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-3
|
|
|
|
|
- typo in install phase...
|
|
|
|
|
|
|
|
|
|
* Mon Feb 10 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-2
|
|
|
|
|
- remove qcam from armv7hl
|
|
|
|
|
|
|
|
|
|
* Mon Feb 03 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.29-1
|
|
|
|
|
- 1.0.29
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.28-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 15 2020 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-6
|
|
|
|
|
- add buildrequires on systemd-rpm-macros
|
|
|
|
|
|
|
|
|
|
* Thu Oct 31 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-5
|
|
|
|
|
- 1761530 - apply upstream patch
|
|
|
|
|
|
|
|
|
|
* Fri Oct 18 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-4
|
|
|
|
|
- Ad 1761530 - actually apply the patch...
|
|
|
|
|
|
|
|
|
|
* Thu Oct 17 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-3
|
|
|
|
|
- qcam backend support is tricky among different Fedora releases and archs - let the wildcard cover it
|
|
|
|
|
|
|
|
|
|
* Thu Oct 17 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-2
|
|
|
|
|
- 1761145, 1761001, 1761051, 1761234 - genesys backend now needs gcc-c++, it is not built otherwise
|
|
|
|
|
- 1758886 - CanoScan LiDE scanners supported by genesys backend are not detected
|
|
|
|
|
- 1760916 - Samsung C460 does not have JPEG support
|
|
|
|
|
- 1761530 - genesys aborts when accessing invalid vector index and built with GLIBCXX_ASSERTIONS
|
|
|
|
|
- remove qcam from armvhl7 too
|
|
|
|
|
|
|
|
|
|
* Mon Sep 30 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.28-1
|
|
|
|
|
- 1.0.28
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.27-25
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-24
|
|
|
|
|
- 1730698 - add Canon CanonScan LiDE 300 support
|
|
|
|
|
|
|
|
|
|
* Wed Apr 03 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-23
|
|
|
|
|
- mustek backend crashed from stack smashing (upstream issue #71)
|
|
|
|
|
|
|
|
|
|
* Mon Feb 04 2019 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-22
|
|
|
|
|
- 1671510 - Incorrect udev rule in sane-backends
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.27-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-20
|
|
|
|
|
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-19
|
|
|
|
|
- corrected license
|
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-19
|
|
|
|
|
* Tue Jul 24 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-18
|
|
|
|
|
- changed URL
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.27-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Apr 19 2018 Zdenek Dohnal <zdohnal@redhat.com> - 1.0.27-17
|
|
|
|
|
- revert samsung patch
|
|
|
|
|
|
|
|
|
|