summaryrefslogtreecommitdiffstats
path: root/vips.spec
diff options
context:
space:
mode:
Diffstat (limited to 'vips.spec')
-rw-r--r--vips.spec20
1 files changed, 14 insertions, 6 deletions
diff --git a/vips.spec b/vips.spec
index 9370c0e..4f28910 100644
--- a/vips.spec
+++ b/vips.spec
@@ -10,7 +10,7 @@
%global vips_version_base 8.11
%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
@@ -31,15 +31,20 @@
%bcond_with libspng
%endif
+# 3 builds needed to get the full stack
+# --with heif
+# --without im6 --with im7
+# --without im6 --with gm
+
%bcond_without im6
%bcond_with im7
%bcond_with gm
# from mock config, when rpmfusion enabled
%if 0%{?_with_rpmfusion:1}
-%bcond_without libheif
+%bcond_without heif
%else
-%bcond_with libheif
+%bcond_with heif
%endif
Name: vips
@@ -147,7 +152,7 @@ The %{name}-doc package contains extensive documentation about VIPS in both
HTML and PDF formats.
%endif
-%if %{with libheif}
+%if %{with heif}
%package heif
Summary: heif support for %{name}
BuildRequires: pkgconfig(libheif) >= 1.3
@@ -239,7 +244,7 @@ sed -i 's|sys_lib_dlsearch_path_spec="|sys_lib_dlsearch_path_spec="/%{_lib} %{_l
export CFLAGS="%{optflags} -ftree-vectorize"
export CXXFLAGS="%{optflags} -ftree-vectorize"
%configure \
-%if %{with libheif}
+%if %{with heif}
--with-heif=module \
%else
--without-heif \
@@ -319,7 +324,7 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr
%files poppler
%{_libdir}/vips-modules-%{vips_version_base}/vips-poppler.so
-%if %{with libheif}
+%if %{with heif}
%files heif
%{_libdir}/vips-modules-%{vips_version_base}/vips-heif.so
%endif
@@ -341,6 +346,9 @@ sed -e 's:/usr/bin/python:%{_bindir}/python3:' -i %{buildroot}/%{_bindir}/vipspr
%changelog
+* Thu Jun 10 2021 Remi Collet <remi@remirepo.net> - 8.11.0-1
+- update to 8.11.0
+
* Sat Jun 5 2021 Remi Collet <remi@remirepo.net> - 8.11.0~rc1-1
- update to 8.11.0rc1
- split modules in sub-packages