%define LIBVIPS_VERSION_MINOR 8.17 %define LIBVIPS_VERSION %{LIBVIPS_VERSION_MINOR}.3 Name: libvips Version: %{LIBVIPS_VERSION} Release: 1%{?dist} License: LGPL-2.1-or-later Summary: A fast image processing library with low memory needs ExclusiveArch: x86_64 Source: https://github.com/libvips/libvips/releases/download/v%{LIBVIPS_VERSION}/vips-%{LIBVIPS_VERSION}.tar.xz URL: https://www.libvips.org/ Requires: cairo Requires: expat Requires: openexr Requires: openjpeg2 BuildRequires: cmake BuildRequires: expat-devel BuildRequires: fftw-devel BuildRequires: fontconfig-devel BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: glib2-devel BuildRequires: ImageMagick-devel BuildRequires: libarchive-devel BuildRequires: libexif-devel BuildRequires: libheif-devel BuildRequires: libimagequant-devel BuildRequires: libjpeg-turbo-devel BuildRequires: libjxl-devel BuildRequires: libpng-devel BuildRequires: LibRaw-devel BuildRequires: librsvg2-devel BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: ninja-build BuildRequires: openexr-devel BuildRequires: openjpeg2-devel BuildRequires: openslide-devel BuildRequires: poppler-devel BuildRequires: python3-pip %description libvips is a demand-driven, horizontally threaded image processing library. Compared to similar libraries, libvips runs quickly and uses little memory. libvips is licensed under the LGPL-2.1-or-later. It has around 300 operations covering arithmetic, histograms, convolution, morphological operations, frequency filtering, colour, resampling, statistics and others. It supports a large range of numeric types, from 8-bit int to 128-bit complex. Images can have any number of bands. It supports a good range of image formats, including JPEG, JPEG 2000, JPEG XL, TIFF, PNG, WebP, HEIC, AVIF, FITS, Matlab, OpenEXR, PDF, SVG, HDR, PPM / PGM / PFM, CSV, GIF, Analyze, NIfTI, DeepZoom, and OpenSlide. It can also load images via ImageMagick or GraphicsMagick, letting it work with formats like DICOM. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel Header files and development documentation for %{name}. %prep %setup -q -n vips-%{LIBVIPS_VERSION} pip3 install meson %conf meson setup build --prefix=/usr %build meson compile -C build %check meson test -C build %install meson install -C build --destdir %{buildroot} %files /usr/share/locale/* /usr/share/man/* %{_bindir}/vips* %{_libdir}/libvips-cpp.so.* %{_libdir}/libvips.so.* %{_libdir}/vips-modules-%{LIBVIPS_VERSION_MINOR}/* %files devel %{_includedir}/vips %{_libdir}/libvips-cpp.so %{_libdir}/libvips.so %{_libdir}/pkgconfig/* %%changelog * Wed Jun 03 2026 Marko Zivanovic - 8.17.3-1 - Initial package.