Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15:Update
vips
vips.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vips.spec of Package vips
# # spec file for package vips # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _typelibdir %(pkg-config --variable=typelibdir gobject-introspection-1.0) %define _girdir %(pkg-config --variable=girdir gobject-introspection-1.0) %define libname lib%{name} %define short_version 8.5 %define short_version_ 8_5 %define somajor 42 Name: vips Version: 8.5.9 Release: 0 Summary: C/C++ library for processing large images License: LGPL-2.1 Group: Development/Libraries/C and C++ Url: http://jcupitt.github.io/libvips/ Source0: https://github.com/jcupitt/libvips/releases/download/v%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE libexif-header.patch -- set path to libexif header Patch1: vips-8.4.2_libexif-header.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: gtk-doc BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: orc >= 0.4 BuildRequires: pkgconfig BuildRequires: swig BuildRequires: pkgconfig(ImageMagick) BuildRequires: pkgconfig(OpenEXR) BuildRequires: pkgconfig(cfitsio) BuildRequires: pkgconfig(fftw3) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libgsf-1) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(matio) BuildRequires: pkgconfig(openslide) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(pygobject-3.0) BuildRequires: pkgconfig(python) BuildRequires: pkgconfig(zlib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description VIPS is an image processing system. It is good with large images (images larger than the amount of RAM you have available), with many CPUs, for working with colour, for scientific analysis and for general research and development. %package -n %{libname}%{somajor} Summary: C/C++ library for processing large images Group: System/Libraries %description -n %{libname}%{somajor} VIPS is an image processing system. It is good with large images (images larger than the amount of RAM you have available), with many CPUs, for working with colour, for scientific analysis and for general research and development. %package -n typelib-1_0-Vips-%{short_version_} Summary: C/C++ library for processing large images Group: System/Libraries %description -n typelib-1_0-Vips-%{short_version_} VIPS is an image processing system. It is good with large images (images larger than the amount of RAM you have available), with many CPUs, for working with colour, for scientific analysis and for general research and development. %package -n %{libname}-devel Summary: Development files for the VIPS library Group: Development/Libraries/C and C++ Requires: %{libname}%{somajor} = %{version} Requires: libjpeg-devel Requires: pkgconfig Requires: pkgconfig(libtiff-4) Requires: pkgconfig(zlib) %description -n %{libname}-devel This package contains the development files for developing applications that want to make use of the VIPS library. %package tools Summary: Command line tools for VIPS library Group: Productivity/Graphics/Other Requires: %{libname}%{somajor} = %{version} %description tools This package contains command line tools for processing large images using the VIPS library. %package -n python-%{name} Summary: Python bindings for VIPS image processing library Group: Development/Libraries/Python Requires: %{libname}%{somajor} = %{version} %description -n python-%{name} This package contains the Python bindings for the VIPS library. %package doc Summary: Documentation for VIPS library Group: Documentation/Other Requires: %{libname}%{somajor} = %{version} BuildArch: noarch %description doc This package contains documentation about the VIPS library in HTML and PDF formats. %prep %setup -q %patch1 -p1 sed -e 's/8\.0/%{short_version}/' \ -e 's/8_0/%{short_version_}/' \ -i $(grep -l '8\.0\|8_0' libvips/Makefile*) %build autoreconf -fi %configure \ --disable-static \ --disable-pyvips8 make %{?_smp_mflags} %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %find_lang vips%{short_version} %fdupes %{buildroot}%{python_sitearch}/ rm -rf %{buildroot}%{_datadir}/doc/vips %check %ifarch ppc64 ppc make check || echo "Warning: ignore make check error for ppc64" %else make check || { cat test/test-suite.log; exit 1; } %endif %post -n %{libname}%{somajor} -p /sbin/ldconfig %postun -n %{libname}%{somajor} -p /sbin/ldconfig %files -n %{libname}%{somajor} -f vips%{short_version}.lang %defattr(-,root,root) %{_libdir}/*.so.%{somajor}* %files -n typelib-1_0-Vips-%{short_version_} %defattr(-,root,root) %{_typelibdir}/Vips-%{short_version}.typelib %files -n %{libname}-devel %defattr(-,root,root) %{_libdir}/*.so %{_includedir}/%{name}/ %{_libdir}/pkgconfig/* %{_datadir}/gtk-doc/html/%{libname}/ %{_girdir}/Vips-%{short_version}.gir %files tools %defattr(-,root,root) %{_bindir}/* %{_mandir}/man1/* %files -n python-%{name} %defattr(-,root,root) %{python_sitearch}/* %files doc %defattr(-,root,root) %doc doc/html AUTHORS NEWS THANKS TODO COPYING ChangeLog %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor