diff --git a/8.18.2/Dockerfile b/8.18.2/Dockerfile index 4e1691d..2e2e7cd 100644 --- a/8.18.2/Dockerfile +++ b/8.18.2/Dockerfile @@ -25,6 +25,10 @@ RUN dnf update -y && dnf install -y \ RUN crb enable RUN dnf install -y \ + fftw-devel \ + fontconfig-devel \ + ImageMagick-devel \ + libexif-devel \ libheif-devel \ libimagequant-devel \ libjxl-devel \ @@ -32,6 +36,8 @@ RUN dnf install -y \ ninja-build \ openexr-devel \ openjpeg2-devel \ + openslide-devel \ + poppler-devel \ rpmlint \ && dnf clean all diff --git a/8.18.2/libvips-8.18.2.spec b/8.18.2/libvips-8.18.2.spec index 147867f..9765fa5 100644 --- a/8.18.2/libvips-8.18.2.spec +++ b/8.18.2/libvips-8.18.2.spec @@ -4,34 +4,27 @@ Name: libvips Version: %{LIBVIPS_VERSION} Release: 1%{?dist} -License: LGPL-2.1 -Summary: A fast image processing library with low memory needs. +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: libheif -Requires: libimagequant -Requires: openexr Requires: cairo Requires: expat -Requires: glib2 -Requires: libarchive -Requires: libpng -Requires: LibRaw -Requires: librsvg2 -Requires: libtiff -Requires: libwebp -Requires: openjpeg2 -Requires: libjpeg-turbo +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 @@ -44,6 +37,8 @@ BuildRequires: libwebp-devel BuildRequires: ninja-build BuildRequires: openexr-devel BuildRequires: openjpeg2-devel +BuildRequires: openslide-devel +BuildRequires: poppler-devel BuildRequires: python3-pip @@ -51,12 +46,22 @@ BuildRequires: python3-pip 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. +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 @@ -67,21 +72,26 @@ meson setup build --prefix=/usr %build meson compile -C build +%check +meson test -C build + %install meson install -C build --destdir %{buildroot} %files -%{_bindir}/vips* -%{_libdir}/libvips.so -%{_libdir}/libvips.so.* -%{_libdir}/libvips-cpp.so -%{_libdir}/libvips-cpp.so.* -%{_libdir}/pkgconfig/* -%{_libdir}/vips-modules-%{LIBVIPS_VERSION_MINOR}/* /usr/share/locale/* /usr/share/man/* -%{_includedir}/vips +%{_bindir}/vips* +%{_libdir}/libvips-cpp.so.* +%{_libdir}/libvips.so.* +%{_libdir}/vips-modules-%{LIBVIPS_VERSION_MINOR}/* -%changelog -* Wed Jun 03 2026 Marko Zivanovic - 8.18.2-1 +%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.