|
|
@ -4,21 +4,29 @@
|
|
|
|
%global _hardened_build 1
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: sane-airscan
|
|
|
|
Name: sane-airscan
|
|
|
|
Version: 0.99.24
|
|
|
|
Version: 0.99.27
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 13%{?dist}
|
|
|
|
Summary: SANE backend for AirScan (eSCL) and WSD document scanners
|
|
|
|
Summary: SANE backend for AirScan (eSCL) and WSD document scanners
|
|
|
|
|
|
|
|
# SANE related source and header files - GPL 2.0+ with SANE exception
|
|
|
|
|
|
|
|
# http_parser.c/.h - MIT
|
|
|
|
# the exception is defined in LICENSE, meant for SANE project in most cases
|
|
|
|
# the exception is defined in LICENSE, meant for SANE project in most cases
|
|
|
|
License: GPLv2+ with exceptions
|
|
|
|
License: GPL-2.0-or-later WITH SANE-exception AND MIT
|
|
|
|
URL: https://github.com/alexpevzner/sane-airscan
|
|
|
|
URL: https://github.com/alexpevzner/sane-airscan
|
|
|
|
Source: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# backported from upstream
|
|
|
|
# backported from upstream
|
|
|
|
|
|
|
|
# https://github.com/alexpevzner/sane-airscan/commit/c042a6895 - missing stdlib
|
|
|
|
|
|
|
|
Patch001: 0001-Fixed-missed-include-stdlib.h-see-305.patch
|
|
|
|
|
|
|
|
# https://github.com/alexpevzner/sane-airscan/commit/144e7d4187 - fix warning by conversion
|
|
|
|
|
|
|
|
Patch002: 0002-Fixed-build-with-recent-versions-of-libxml2-fixes-30.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# needed for querying and getting mDNS messages from local network
|
|
|
|
# needed for querying and getting mDNS messages from local network
|
|
|
|
BuildRequires: avahi-devel
|
|
|
|
BuildRequires: avahi-devel
|
|
|
|
# project is written in C
|
|
|
|
# project is written in C
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
# fuzzer for testing is written in C++
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
# git is used during autosetup
|
|
|
|
# git is used during autosetup
|
|
|
|
BuildRequires: git-core
|
|
|
|
BuildRequires: git-core
|
|
|
|
# creating credentials and SHA256 for UUID
|
|
|
|
# creating credentials and SHA256 for UUID
|
|
|
@ -27,14 +35,18 @@ BuildRequires: gnutls-devel
|
|
|
|
BuildRequires: libjpeg-turbo-devel, libpng-devel
|
|
|
|
BuildRequires: libjpeg-turbo-devel, libpng-devel
|
|
|
|
# XML data are carried on HTTP protocol, we need to create them and parse them
|
|
|
|
# XML data are carried on HTTP protocol, we need to create them and parse them
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
# uses make
|
|
|
|
# uses meson
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: meson
|
|
|
|
# used in Makefile to get the correct compile and link flags
|
|
|
|
# used in Makefile to get the correct compile and link flags
|
|
|
|
BuildRequires: pkgconf-pkg-config
|
|
|
|
BuildRequires: pkgconf-pkg-config
|
|
|
|
# package is meant to be as one of SANE backends - it uses SANE API for handling
|
|
|
|
# package is meant to be as one of SANE backends - it uses SANE API for handling
|
|
|
|
# devices, strings, words (bytes) and backend itself
|
|
|
|
# devices, strings, words (bytes) and backend itself
|
|
|
|
BuildRequires: sane-backends-devel
|
|
|
|
BuildRequires: sane-backends-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 38 || 0%{?rhel} >= 9
|
|
|
|
|
|
|
|
Recommends: ipp-usb
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# needs shared library implementing the backend
|
|
|
|
# needs shared library implementing the backend
|
|
|
|
Requires: libsane-airscan%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: libsane-airscan%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -45,6 +57,11 @@ when automatic discovery fails - airscan-discover.
|
|
|
|
%package -n libsane-airscan
|
|
|
|
%package -n libsane-airscan
|
|
|
|
Summary: SANE backend for eSCL or WSD
|
|
|
|
Summary: SANE backend for eSCL or WSD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# USB scanners which support IPP-over-USB interface can communicate
|
|
|
|
|
|
|
|
# via sane-airscan once ipp-usb brings up an IPP interface for them
|
|
|
|
|
|
|
|
# remove for now until migration app is implemented
|
|
|
|
|
|
|
|
#Recommends: ipp-usb
|
|
|
|
|
|
|
|
|
|
|
|
%description -n libsane-airscan
|
|
|
|
%description -n libsane-airscan
|
|
|
|
This package contain a SANE backend for MFP and document scanners that
|
|
|
|
This package contain a SANE backend for MFP and document scanners that
|
|
|
|
implements either eSCL (AirScan/AirPrint scanning) or WSD "driverless"
|
|
|
|
implements either eSCL (AirScan/AirPrint scanning) or WSD "driverless"
|
|
|
@ -55,16 +72,16 @@ scanning protocol.
|
|
|
|
%autosetup -S git
|
|
|
|
%autosetup -S git
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# we need to set default CFLAGS, CPPFLAGS and LDFLAGS to get flags
|
|
|
|
%meson
|
|
|
|
# from build system into the build, otherwise project's default
|
|
|
|
%meson_build
|
|
|
|
# are used
|
|
|
|
|
|
|
|
%set_build_flags
|
|
|
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}/
|
|
|
|
%meson_install
|
|
|
|
%make_install STRIP=''
|
|
|
|
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/sane/libsane-airscan.so
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license COPYING LICENSE
|
|
|
|
%license COPYING LICENSE
|
|
|
@ -85,12 +102,53 @@ mkdir -p %{buildroot}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.24-3
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.99.27-13
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.99.27-13
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.27-12
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Dec 08 2023 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-11
|
|
|
|
|
|
|
|
- fix FTBFS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Aug 30 2023 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-10
|
|
|
|
|
|
|
|
- applied accepted license exception - SANE-exception
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.27-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-8
|
|
|
|
|
|
|
|
- move to meson
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 02 2023 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-7
|
|
|
|
|
|
|
|
- 2165612 - IPP-USB as a weak dependency of CUPS and sane-airscan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.27-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.27-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 31 2022 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-4
|
|
|
|
|
|
|
|
- remove ipp-usb for now until there is a migration path
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Mar 23 2022 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-3
|
|
|
|
|
|
|
|
- recommend ipp-usb in case of USB scanner capable of IPP-over-USB
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.27-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 11 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.27-1
|
|
|
|
|
|
|
|
- 2012253 - sane-airscan-0.99.27 is available
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.26-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.24-2
|
|
|
|
* Mon Apr 19 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.26-1
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
- 1949055 - sane-airscan-0.99.26 is available
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.24-1
|
|
|
|
* Thu Feb 04 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.24-1
|
|
|
|
- 1922563 - sane-airscan-0.99.24 is available
|
|
|
|
- 1922563 - sane-airscan-0.99.24 is available
|
|
|
|