sane-airscan.spec: move to meson
This commit is contained in:
parent
eb4efae2d2
commit
c22143ff39
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: sane-airscan
|
Name: sane-airscan
|
||||||
Version: 0.99.27
|
Version: 0.99.27
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: SANE backend for AirScan (eSCL) and WSD document scanners
|
Summary: SANE backend for AirScan (eSCL) and WSD document scanners
|
||||||
# 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: GPLv2+ with exceptions
|
||||||
@ -19,6 +19,8 @@ Source: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
|
|||||||
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,8 +29,8 @@ 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
|
||||||
@ -64,18 +66,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
|
%check
|
||||||
make 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
|
||||||
@ -96,6 +96,9 @@ mkdir -p %{buildroot}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* 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
|
- 2165612 - IPP-USB as a weak dependency of CUPS and sane-airscan
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user