|
|
f70a02 |
# the package gets input from scanner devices from network
|
|
|
f70a02 |
# can be possibly dangerous if an attacker camouflages himself
|
|
|
f70a02 |
# as a scanner
|
|
|
f70a02 |
%global _hardened_build 1
|
|
|
f70a02 |
|
|
|
f70a02 |
Name: sane-airscan
|
|
|
f70a02 |
Version: 0.99.24
|
|
|
f70a02 |
Release: 3%{?dist}
|
|
|
f70a02 |
Summary: SANE backend for AirScan (eSCL) and WSD document scanners
|
|
|
f70a02 |
# the exception is defined in LICENSE, meant for SANE project in most cases
|
|
|
f70a02 |
License: GPLv2+ with exceptions
|
|
|
f70a02 |
URL: https://github.com/alexpevzner/sane-airscan
|
|
|
f70a02 |
Source: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
f70a02 |
|
|
|
f70a02 |
# backported from upstream
|
|
|
f70a02 |
|
|
|
f70a02 |
|
|
|
f70a02 |
# needed for querying and getting mDNS messages from local network
|
|
|
f70a02 |
BuildRequires: avahi-devel
|
|
|
f70a02 |
# project is written in C
|
|
|
f70a02 |
BuildRequires: gcc
|
|
|
f70a02 |
# git is used during autosetup
|
|
|
f70a02 |
BuildRequires: git-core
|
|
|
f70a02 |
# creating credentials and SHA256 for UUID
|
|
|
f70a02 |
BuildRequires: gnutls-devel
|
|
|
f70a02 |
# needed for creating output image
|
|
|
f70a02 |
BuildRequires: libjpeg-turbo-devel, libpng-devel
|
|
|
f70a02 |
# XML data are carried on HTTP protocol, we need to create them and parse them
|
|
|
f70a02 |
BuildRequires: libxml2-devel
|
|
|
f70a02 |
# uses make
|
|
|
f70a02 |
BuildRequires: make
|
|
|
f70a02 |
# used in Makefile to get the correct compile and link flags
|
|
|
f70a02 |
BuildRequires: pkgconf-pkg-config
|
|
|
f70a02 |
# package is meant to be as one of SANE backends - it uses SANE API for handling
|
|
|
f70a02 |
# devices, strings, words (bytes) and backend itself
|
|
|
f70a02 |
BuildRequires: sane-backends-devel
|
|
|
f70a02 |
|
|
|
f70a02 |
# needs shared library implementing the backend
|
|
|
f70a02 |
Requires: libsane-airscan%{?_isa} = %{version}-%{release}
|
|
|
f70a02 |
|
|
|
f70a02 |
%description
|
|
|
f70a02 |
This package contains a tool for discovering scanning devices in cases
|
|
|
f70a02 |
when automatic discovery fails - airscan-discover.
|
|
|
f70a02 |
|
|
|
f70a02 |
%package -n libsane-airscan
|
|
|
f70a02 |
Summary: SANE backend for eSCL or WSD
|
|
|
f70a02 |
|
|
|
f70a02 |
%description -n libsane-airscan
|
|
|
f70a02 |
This package contain a SANE backend for MFP and document scanners that
|
|
|
f70a02 |
implements either eSCL (AirScan/AirPrint scanning) or WSD "driverless"
|
|
|
f70a02 |
scanning protocol.
|
|
|
f70a02 |
|
|
|
f70a02 |
|
|
|
f70a02 |
%prep
|
|
|
f70a02 |
%autosetup -S git
|
|
|
f70a02 |
|
|
|
f70a02 |
%build
|
|
|
f70a02 |
# we need to set default CFLAGS, CPPFLAGS and LDFLAGS to get flags
|
|
|
f70a02 |
# from build system into the build, otherwise project's default
|
|
|
f70a02 |
# are used
|
|
|
f70a02 |
%set_build_flags
|
|
|
f70a02 |
%make_build
|
|
|
f70a02 |
|
|
|
f70a02 |
|
|
|
f70a02 |
%install
|
|
|
f70a02 |
mkdir -p %{buildroot}/
|
|
|
f70a02 |
%make_install STRIP=''
|
|
|
f70a02 |
|
|
|
f70a02 |
%files
|
|
|
f70a02 |
%license COPYING LICENSE
|
|
|
f70a02 |
%{_bindir}/airscan-discover
|
|
|
f70a02 |
# I'm not fond of wildcards in %%files, but FPG demands it for manpages
|
|
|
f70a02 |
%{_mandir}/man1/airscan-discover.1*
|
|
|
f70a02 |
|
|
|
f70a02 |
%files -n libsane-airscan
|
|
|
f70a02 |
%license COPYING LICENSE
|
|
|
f70a02 |
%dir %{_sysconfdir}/sane.d
|
|
|
f70a02 |
%config(noreplace) %{_sysconfdir}/sane.d/airscan.conf
|
|
|
f70a02 |
%dir %{_sysconfdir}/sane.d/dll.d
|
|
|
f70a02 |
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/airscan
|
|
|
f70a02 |
%dir %{_libdir}/sane
|
|
|
f70a02 |
%{_libdir}/sane/libsane-airscan.so.1
|
|
|
f70a02 |
# I'm not fond of wildcards in %%files, but FPG demands it for manpages
|
|
|
f70a02 |
%{_mandir}/man5/sane-airscan.5*
|
|
|
f70a02 |
|
|
|
f70a02 |
|
|
|
f70a02 |
%changelog
|
|
|
f70a02 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.24-3
|
|
|
f70a02 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
f70a02 |
Related: rhbz#1991688
|
|
|
f70a02 |
|
|
|
f70a02 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.99.24-2
|
|
|
f70a02 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
f70a02 |
|
|
|
f70a02 |
* Thu Feb 04 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.24-1
|
|
|
f70a02 |
- 1922563 - sane-airscan-0.99.24 is available
|
|
|
f70a02 |
|
|
|
f70a02 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.23-2
|
|
|
f70a02 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
f70a02 |
|
|
|
f70a02 |
* Mon Jan 11 2021 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.23-1
|
|
|
f70a02 |
- 1914565 - sane-airscan-0.99.23 is available
|
|
|
f70a02 |
|
|
|
f70a02 |
* Tue Dec 15 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.22-1
|
|
|
f70a02 |
- 1906510 - sane-airscan-0.99.22 is available
|
|
|
f70a02 |
|
|
|
f70a02 |
* Tue Nov 24 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.21-1
|
|
|
f70a02 |
- 0.99.21
|
|
|
f70a02 |
|
|
|
f70a02 |
* Mon Nov 23 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.20-1
|
|
|
f70a02 |
- 1900160 - sane-airscan-0.99.20 is available
|
|
|
f70a02 |
- 1897935 - Crash on libsane-airscan when trying to activate scanner
|
|
|
f70a02 |
|
|
|
f70a02 |
* Wed Nov 18 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.19-1
|
|
|
f70a02 |
- 1890866 - sane-airscan-0.99.19 is available
|
|
|
f70a02 |
|
|
|
f70a02 |
* Thu Nov 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.18-2
|
|
|
f70a02 |
- make is no longer in buildroot by default
|
|
|
f70a02 |
- use smaller git-core instead of git
|
|
|
f70a02 |
|
|
|
f70a02 |
* Tue Oct 20 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.18-1
|
|
|
f70a02 |
- 1887870 - sane-airscan-0.99.18 is available
|
|
|
f70a02 |
|
|
|
f70a02 |
* Fri Oct 09 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.17-1
|
|
|
f70a02 |
- 1886593 - sane-airscan-0.99.17 is available
|
|
|
f70a02 |
|
|
|
f70a02 |
* Mon Oct 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.16-2
|
|
|
f70a02 |
- 1882520 - Crash on libsane-airscan when trying to activate scanner
|
|
|
f70a02 |
|
|
|
f70a02 |
* Tue Sep 01 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.16-1
|
|
|
f70a02 |
- 0.99.16
|
|
|
f70a02 |
|
|
|
f70a02 |
* Mon Aug 24 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.15-1
|
|
|
f70a02 |
- 0.99.15
|
|
|
f70a02 |
|
|
|
f70a02 |
* Mon Aug 17 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.14-1
|
|
|
f70a02 |
- 0.99.14 - fixing 1867126
|
|
|
f70a02 |
|
|
|
f70a02 |
* Thu Aug 13 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.13-2
|
|
|
f70a02 |
- 1867692 - airscan driver crashes in mock during wsdd_cleanup()
|
|
|
f70a02 |
|
|
|
f70a02 |
* Mon Aug 10 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.13-1
|
|
|
f70a02 |
- 0.99.13
|
|
|
f70a02 |
|
|
|
f70a02 |
* Wed Aug 05 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.12-1
|
|
|
f70a02 |
- 0.99.12
|
|
|
f70a02 |
- removed dependency to glib and libsoup - HTTP parser is implemented inside,
|
|
|
f70a02 |
bringing gnutls dependency
|
|
|
f70a02 |
- sort buildrequires alphabetically
|
|
|
f70a02 |
|
|
|
f70a02 |
* Wed Jul 29 2020 Zdenek Dohnal <zdohnal@redhat.com> - 0.99.11-1
|
|
|
f70a02 |
- Initial import (#1859207)
|