8.8.2; run vipsprofile with Python 3
This commit is contained in:
parent
cedc9c58b7
commit
94c71869af
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
/vips-8.6.5.tar.gz
|
||||
/vips-8.7.4.tar.gz
|
||||
/vips-8.8.2.tar.gz
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (vips-8.7.4.tar.gz) = ae55c59387d7108301878f096c21f88522359e3ecf314c3dda66c53b3e7f26ed231dadb8c01e73efea8c89970db032dd088c85be4bec1032a556f7211cd05c24
|
||||
SHA512 (vips-8.8.2.tar.gz) = 0a1623087a1441f0d15066a26053298b9d0184c85be7133da2144d40197d62dc8fceeb6468b013a3228b32c643b9906d5f051dce75308db049b409cd25984d25
|
||||
|
35
vips.spec
35
vips.spec
@ -1,10 +1,10 @@
|
||||
%global vips_version_base 8.7
|
||||
%global vips_version %{vips_version_base}.4
|
||||
%global vips_version_base 8.8
|
||||
%global vips_version %{vips_version_base}.2
|
||||
%global vips_soname_major 42
|
||||
|
||||
Name: vips
|
||||
Version: %{vips_version}
|
||||
Release: 5%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: C/C++ library for processing large images
|
||||
|
||||
License: LGPLv2+
|
||||
@ -13,7 +13,6 @@ Source0: https://github.com/libvips/libvips/releases/download/v%{version}/%{name
|
||||
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(pygobject-3.0)
|
||||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(fftw3)
|
||||
BuildRequires: pkgconfig(MagickWand)
|
||||
@ -42,6 +41,7 @@ BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig gettext
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: /usr/bin/pathfix.py
|
||||
|
||||
|
||||
%description
|
||||
@ -72,19 +72,6 @@ Requires: vips%{?_isa} = %{version}-%{release}
|
||||
The %{name}-tools package contains command-line tools for working with VIPS.
|
||||
|
||||
|
||||
%package -n python3-vips
|
||||
Summary: Python 3 support for %{name}
|
||||
Requires: vips%{?_isa} = %{version}-%{release}
|
||||
Requires: python3-gobject-base
|
||||
Provides: vips-python3 = %{version}-%{release}
|
||||
Provides: vips-python3%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: vips-python3 < 8.4.4-6
|
||||
%{?python_provide:%python_provide python3-vips}
|
||||
|
||||
%description -n python3-vips
|
||||
The %{name}-python3 package contains Python 3 support for VIPS.
|
||||
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Conflicts: %{name} < %{version}-%{release}, %{name} > %{version}-%{release}
|
||||
@ -101,13 +88,15 @@ HTML and PDF formats.
|
||||
# The DIE_RPATH_DIE trick breaks the build wrt gobject-introspection
|
||||
sed -i 's|sys_lib_dlsearch_path_spec="|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir} |' configure
|
||||
|
||||
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" tools/vipsprofile
|
||||
|
||||
|
||||
%build
|
||||
# Upstream recommends enabling auto-vectorization of inner loops:
|
||||
# https://github.com/libvips/libvips/pull/212#issuecomment-68177930
|
||||
export CFLAGS="%{optflags} -ftree-vectorize"
|
||||
export CXXFLAGS="%{optflags} -ftree-vectorize"
|
||||
%configure --disable-static --enable-gtk-doc --enable-cpp7 --enable-pyvips8 PYTHON=%{_bindir}/python3
|
||||
%configure --disable-static --enable-gtk-doc
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
@ -143,17 +132,17 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/vips
|
||||
%{_mandir}/man1/*
|
||||
|
||||
|
||||
%files -n python3-vips
|
||||
%{python3_sitearch}/gi/overrides/*.py
|
||||
%{python3_sitearch}/gi/overrides/__pycache__/*
|
||||
|
||||
|
||||
%files doc
|
||||
%doc doc/html
|
||||
%license COPYING
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Sep 01 2019 Benjamin Gilbert <bgilbert@backtick.net> - 8.8.2-1
|
||||
- New release
|
||||
- Drop libvipsCC.so and python3-vips subpackage, both removed upstream
|
||||
- Fix vipsprofile shebang to point to python3
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 8.7.4-5
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user