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