From 530baaaffd2031648b85b7c2f34b8aa6f20f3d3d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 5 Jul 2021 06:53:33 +0200 Subject: only spaces + missing arch --- vips.spec | 110 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/vips.spec b/vips.spec index e756243..c5e5331 100644 --- a/vips.spec +++ b/vips.spec @@ -59,52 +59,52 @@ %bcond_with heif %endif -Name: vips -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 - -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(expat) -BuildRequires: pkgconfig(fftw3) -BuildRequires: pkgconfig(gobject-introspection-1.0) -BuildRequires: pkgconfig(orc-0.4) -BuildRequires: pkgconfig(lcms2) -BuildRequires: pkgconfig(OpenEXR) -BuildRequires: pkgconfig(matio) -BuildRequires: pkgconfig(cfitsio) -BuildRequires: pkgconfig(pangoft2) -BuildRequires: pkgconfig(zlib) -BuildRequires: pkgconfig(libpng) >= 1.2.9 -BuildRequires: pkgconfig(libtiff-4) +Name: vips +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 + +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(fftw3) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(orc-0.4) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(OpenEXR) +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 -BuildRequires: pkgconfig(libwebp) > 1 -BuildRequires: pkgconfig(libexif) -BuildRequires: pkgconfig(libgsf-1) -BuildRequires: pkgconfig(librsvg-2.0) >= 2.40.3 -BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libwebp) > 1 +BuildRequires: pkgconfig(libexif) +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.6 %endif %if %{with niftic} -BuildRequires: nifticlib-devel +BuildRequires: nifticlib-devel %endif %if %{with openjpeg2} -BuildRequires: pkgconfig(libopenjp2) >= 2.4 +BuildRequires: pkgconfig(libopenjp2) >= 2.4 %endif %if %{with libimagequant} -#BuildRequires: pkgconfig(imagequant) TODO only in 2.12+ -BuildRequires: libimagequant-devel +#BuildRequires: pkgconfig(imagequant) TODO only in 2.12+ +BuildRequires: libimagequant-devel %endif -BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(gthread-2.0) -BuildRequires: gcc-c++ -BuildRequires: pkgconfig gettext +BuildRequires: gcc-c++ +BuildRequires: pkgconfig gettext %if 0%{?fedora} >= 27 || 0%{?rhel} >= 8 Suggests: %{name}-heif @@ -138,9 +138,9 @@ Additional image formats are supported in additional optional packages: %package devel -Summary: Development files for %{name} -Requires: libjpeg-devel%{?_isa} libtiff-devel%{?_isa} zlib-devel%{?_isa} -Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: Development files for %{name} +Requires: libjpeg-devel%{?_isa} libtiff-devel%{?_isa} zlib-devel%{?_isa} +Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: vips-full-devel < 8.11 %description devel @@ -150,8 +150,8 @@ contains a C++ API and development documentation. %package tools -Summary: Command-line tools for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: Command-line tools for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: vips-full-tools < 8.11 %description tools @@ -160,9 +160,9 @@ The %{name}-tools package contains command-line tools for working with VIPS. %if %{with doc} %package doc -Summary: Documentation for %{name} +Summary: Documentation for %{name} BuildRequires: swig gtk-doc -Conflicts: %{name} < %{version}-%{release}, %{name} > %{version}-%{release} +Conflicts: %{name} < %{version}-%{release}, %{name} > %{version}-%{release} Obsoletes: vips-full-doc < 8.11 %description doc @@ -172,9 +172,9 @@ HTML and PDF formats. %if %{with heif} %package heif -Summary: heif support for %{name} +Summary: heif support for %{name} BuildRequires: pkgconfig(libheif) >= 1.3 -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Obsoletes: vips-full < 8.11 %description heif @@ -182,31 +182,31 @@ The %{name}-heif package contains the heif module. %endif %package openslide -Summary: openslide support for %{name} +Summary: openslide support for %{name} BuildRequires: pkgconfig(openslide) >= 3.3.0 -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description openslide The %{name}-openslide package contains the openslide module. %package poppler -Summary: poppler support for %{name} +Summary: poppler support for %{name} BuildRequires: pkgconfig(poppler-glib) -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description poppler The %{name}-poppler package contains the poppler module. %if %{with im6} %package magick-im6 -Summary: magick support for %{name} using ImageMagick6 +Summary: magick support for %{name} using ImageMagick6 %if 0%{?fedora} >= 99 || 0%{?rhel} >= 99 BuildRequires: ImageMagick-devel %else # Ensure we use version 6 (same as imagick ext). BuildRequires: ImageMagick6-devel %endif -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-magick = %{version}-%{release} Conflicts: %{name}-magick-im7 Conflicts: %{name}-magick-gm @@ -217,9 +217,9 @@ The %{name}-magick-im6 package contains the magick module using ImageMagick6. %if %{with im7} %package magick-im7 -Summary: magick support for %{name} using ImageMagick7 +Summary: magick support for %{name} using ImageMagick7 BuildRequires: ImageMagick7-devel -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-magick = %{version}-%{release} Conflicts: %{name}-magick-im6 Conflicts: %{name}-magick-gm @@ -230,9 +230,9 @@ The %{name}-magick-im7 package contains the magick module using ImageMagick7. %if %{with gm} %package magick-gm -Summary: magick support for %{name} using ImageMagick7 +Summary: magick support for %{name} using ImageMagick7 BuildRequires: GraphicsMagick-devel -Requires: %{name} = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} Provides: %{name}-magick = %{version}-%{release} Conflicts: %{name}-magick-im6 Conflicts: %{name}-magick-im7 @@ -248,7 +248,7 @@ The %{name}-magick-gm contains the magick module using GraphicsMagick. # make the version string consistent for multiarch export FAKE_BUILD_DATE=$(date -r %{SOURCE0}) sed -i "s/\\(VIPS_VERSION_STRING=\\)\$VIPS_VERSION-\`date\`/\\1\"\$VIPS_VERSION-$FAKE_BUILD_DATE\"/g" \ - configure + configure unset FAKE_BUILD_DATE # Avoid setting RPATH to /usr/lib64 on 64-bit builds -- cgit