move the camera backends into its subpackage

This commit is contained in:
Zdenek Dohnal 2022-03-23 14:07:58 +01:00
parent f254fc3fc2
commit 8403f40532

View File

@ -14,7 +14,7 @@
Summary: Scanner access software Summary: Scanner access software
Name: sane-backends Name: sane-backends
Version: 1.1.1 Version: 1.1.1
Release: 3%{?dist} Release: 4%{?dist}
# lib/ is LGPLv2+, backends are GPLv2+ with exceptions # lib/ is LGPLv2+, backends are GPLv2+ with exceptions
# Tools are GPLv2+, docs are public domain # Tools are GPLv2+, docs are public domain
# see LICENSE for details # see LICENSE for details
@ -130,6 +130,8 @@ Easy (SANE) modules.
Summary: SANE backend drivers for scanners Summary: SANE backend drivers for scanners
# pixma backend now requires libxml2 # pixma backend now requires libxml2
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
# due move of camera backends
Conflicts: %{name}-drivers-cameras < 1:1.1.1-4
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
@ -138,6 +140,8 @@ This package contains backend drivers to access scanner hardware through SANE.
%package drivers-cameras %package drivers-cameras
Summary: Scanner backend drivers for digital cameras Summary: Scanner backend drivers for digital cameras
# due move of camera backends
Conflicts: %{name}-drivers-scanners < 1:1.1.1-4
Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: sane-backends-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
@ -339,12 +343,8 @@ exit 0
%{_libdir}/sane/libsane-coolscan.so %{_libdir}/sane/libsane-coolscan.so
%{_libdir}/sane/libsane-coolscan2.so %{_libdir}/sane/libsane-coolscan2.so
%{_libdir}/sane/libsane-coolscan3.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-dell1600n_net.so
%{_libdir}/sane/libsane-dll.so %{_libdir}/sane/libsane-dll.so
%{_libdir}/sane/libsane-dmc.so
%{_libdir}/sane/libsane-epjitsu.so %{_libdir}/sane/libsane-epjitsu.so
%{_libdir}/sane/libsane-epson.so %{_libdir}/sane/libsane-epson.so
%{_libdir}/sane/libsane-epson2.so %{_libdir}/sane/libsane-epson2.so
@ -387,15 +387,6 @@ exit 0
%{_libdir}/sane/libsane-pixma.so %{_libdir}/sane/libsane-pixma.so
%{_libdir}/sane/libsane-plustek.so %{_libdir}/sane/libsane-plustek.so
%{_libdir}/sane/libsane-plustek_pp.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-ricoh.so
%{_libdir}/sane/libsane-ricoh2.so %{_libdir}/sane/libsane-ricoh2.so
%{_libdir}/sane/libsane-rts8891.so %{_libdir}/sane/libsane-rts8891.so
@ -407,7 +398,6 @@ exit 0
%{_libdir}/sane/libsane-snapscan.so %{_libdir}/sane/libsane-snapscan.so
%{_libdir}/sane/libsane-sp15c.so %{_libdir}/sane/libsane-sp15c.so
%{_libdir}/sane/libsane-st400.so %{_libdir}/sane/libsane-st400.so
%{_libdir}/sane/libsane-stv680.so
%{_libdir}/sane/libsane-tamarack.so %{_libdir}/sane/libsane-tamarack.so
%{_libdir}/sane/libsane-teco1.so %{_libdir}/sane/libsane-teco1.so
%{_libdir}/sane/libsane-teco2.so %{_libdir}/sane/libsane-teco2.so
@ -417,17 +407,40 @@ exit 0
%{_libdir}/sane/libsane-umax.so %{_libdir}/sane/libsane-umax.so
%{_libdir}/sane/libsane-umax1220u.so %{_libdir}/sane/libsane-umax1220u.so
%{_libdir}/sane/libsane-umax_pp.so %{_libdir}/sane/libsane-umax_pp.so
%{_libdir}/sane/libsane-v4l.so
%{_libdir}/sane/libsane-xerox_mfp.so %{_libdir}/sane/libsane-xerox_mfp.so
%{_libdir}/sane/*.so.1 %{_libdir}/sane/*.so.1
%{_libdir}/sane/*.so.1.1.1 %{_libdir}/sane/*.so.1.1.1
%exclude %{_libdir}/sane/*dc210.so*
%exclude %{_libdir}/sane/*dc240.so*
%exclude %{_libdir}/sane/*dc25.so*
%exclude %{_libdir}/sane/*dmc.so*
%exclude %{_libdir}/sane/*gphoto2.so* %exclude %{_libdir}/sane/*gphoto2.so*
%exclude %{_libdir}/sane/*qcam.so*
%exclude %{_libdir}/sane/*stv680.so*
%exclude %{_libdir}/sane/*v4l.so*
%files drivers-cameras %files drivers-cameras
%{_libdir}/sane/libsane-dc210.so
%{_libdir}/sane/libsane-dc240.so
%{_libdir}/sane/libsane-dc25.so
%{_libdir}/sane/libsane-dmc.so
%{_libdir}/sane/libsane-gphoto2.so %{_libdir}/sane/libsane-gphoto2.so
%{_libdir}/sane/libsane-gphoto2.so.1 %{_libdir}/sane/libsane-gphoto2.so.1
%{_libdir}/sane/libsane-gphoto2.so.1.1.1 %{_libdir}/sane/libsane-gphoto2.so.1.1.1
# 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-stv680.so
%{_libdir}/sane/libsane-v4l.so
%{_libdir}/sane/*.so.1
%{_libdir}/sane/*.so.1.1.1
%files daemon %files daemon
%{_sbindir}/saned %{_sbindir}/saned
@ -437,6 +450,9 @@ exit 0
%{_unitdir}/saned@.service %{_unitdir}/saned@.service
%changelog %changelog
* Wed Mar 23 2022 Zdenek Dohnal <zdohnal@redhat.com> - 1.1.1-4
- move the camera backends into its subpackage
* Sun Jan 30 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.1-3 * Sun Jan 30 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.1.1-3
- 2043092 - remove ldflags that only make sense during build from pkgconf file - 2043092 - remove ldflags that only make sense during build from pkgconf file