From 997e463117269cb2f99d11275464644b441d4055 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 20 Jun 2022 10:08:38 +0200 Subject: update to 8.13.0rc1 Enable openjpeg2 usage on RHEL >= 9 Increase minimum required version of libspng to 0.7 for PNG write support Remove libpng in favor of libspng (if possible) Remove dependency on deprecated gthread-2.0 open https://github.com/libvips/libvips/issues/2878 broken build on EL-7 open https://github.com/libvips/libvips/issues/2877 libniftiio detection open https://github.com/libvips/libvips/issues/2876 unusable archive open https://github.com/libvips/libvips/issues/2879 please keep autotools --- vips.spec | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-) (limited to 'vips.spec') diff --git a/vips.spec b/vips.spec index a63a459..4b0eeb0 100644 --- a/vips.spec +++ b/vips.spec @@ -7,10 +7,10 @@ # # Please preserve changelog entries # -%global vips_version_base 8.12 -%global vips_version %{vips_version_base}.2 +%global vips_version_base 8.13 +%global vips_version %{vips_version_base}.0 %global vips_soname_major 42 -#global vips_prever rc1 +%global vips_prever rc1 %global vips_tarver %{vips_version}%{?vips_prever:-%{vips_prever}} %if 0%{?fedora} || 0%{?rhel} >= 8 @@ -27,7 +27,7 @@ %bcond_with libcgif %endif -%if 0%{?fedora} >= 34 +%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9 %bcond_without openjpeg2 %else # disabled by default @@ -68,14 +68,19 @@ %endif Name: vips -Release: 2%{?dist} +Release: 1%{?dist} Version: %{vips_version}%{?vips_prever:~%{vips_prever}} Summary: C/C++ library for processing large images License: LGPLv2+ URL: https://libvips.github.io/libvips/ -Source0: https://github.com/libvips/libvips/releases/download/v%{vips_version}%{?vips_prever:-%{vips_prever}}/vips-%{vips_tarver}.tar.gz +Source0: https://github.com/libvips/libvips/releases/download/v%{vips_tarver}/vips-%{vips_tarver}.tar.gz +BuildRequires: make +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: gettext BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(fftw3) @@ -93,7 +98,6 @@ BuildRequires: pkgconfig(matio) BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(zlib) -BuildRequires: pkgconfig(libpng) >= 1.2.9 BuildRequires: pkgconfig(libtiff-4) # Ensure we use libwebp7 on EL-7 # upstream requires 0.6 @@ -103,7 +107,9 @@ BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.3 BuildRequires: pkgconfig(libjpeg) %if %{with libspng} -BuildRequires: pkgconfig(spng) >= 0.6 +BuildRequires: pkgconfig(spng) >= 0.7 +%else +BuildRequires: pkgconfig(libpng) >= 1.2.9 %endif %if %{with niftic} BuildRequires: nifticlib-devel @@ -118,10 +124,6 @@ BuildRequires: libimagequant-devel %if %{with libcgif} BuildRequires: pkgconfig(cgif) %endif -BuildRequires: pkgconfig(gthread-2.0) - -BuildRequires: gcc-c++ -BuildRequires: pkgconfig gettext # Not available as system library # and altered by vips upstream @@ -453,6 +455,17 @@ make check %changelog +* Mon Jun 20 2022 Remi Collet - 8.13.0~rc1-1 +- update to 8.13.0rc1 +- Enable openjpeg2 usage on RHEL >= 9 +- Increase minimum required version of libspng to 0.7 for PNG write support +- Remove libpng in favor of libspng (if possible) +- Remove dependency on deprecated gthread-2.0 +- open https://github.com/libvips/libvips/issues/2878 broken build on EL-7 +- open https://github.com/libvips/libvips/issues/2877 libniftiio detection +- open https://github.com/libvips/libvips/issues/2876 unusable archive +- open https://github.com/libvips/libvips/issues/2879 please keep autotools + * Mon Apr 25 2022 Remi Collet - 8.12.2-2 - rebuild using libheif -- cgit