File libqcow.spec of Package failed_libqcow

Name:           libqcow
Version:        20231125
Release:        1.1
Summary:        QEMU QCOW file format library

Group:          System/Libraries
License:        GPL-2.0-or-later
URL:            https://example.org/libqcow
Source0:        libqcow-alpha-%{version}.tar.gz

BuildRequires:  gcc
BuildRequires:  make
BuildRequires:  libtool
BuildRequires:  automake
BuildRequires:  autoconf
BuildRequires:  pkg-config
BuildRequires:  zlib-devel
BuildRequires:  fuse-devel
BuildRequires:  libcaes-devel
BuildRequires:  libcdata-devel
BuildRequires:  libclocale-devel
BuildRequires:  libcerror-devel
BuildRequires:  libcsplit-devel
BuildRequires:  libfcache-devel
BuildRequires:  libfdata-devel
BuildRequires:  libbfio-devel

%description
Library and tools to work with QEMU's QCOW image files.

# We explicitly disable building of the Python bindings here to avoid
# libtool/install issues when the build environment chooses multiple
# python flavors (observed on some build systems).  The core library and
# tools are still built and packaged.
%prep
%setup -q -n libqcow-%{version}

%build
# Disable python bindings (pyqcow) to avoid libtool installation error
# in environments where the python site-packages dir is resolved oddly.
%configure --disable-python \
    --host=%{_target_cpu}-%{_target_vendor}-%{_target_os} \
    --build=%{_target_cpu}-%{_target_vendor}-%{_target_os} \
    --disable-static \
    --prefix=/usr \
    LDFLAGS="-Wl,--version-script=%{_builddir}/libqcow-%{version}/v.sym"

%make_build

%install
rm -rf %{buildroot}
%make_install DESTDIR=%{buildroot}
openSUSE Build Service is sponsored by