Hello community, here is the log from the commit of package OpenImageIO for openSUSE:Factory checked in at 2017-12-14 11:00:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenImageIO (Old) and /work/SRC/openSUSE:Factory/.OpenImageIO.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenImageIO" Thu Dec 14 11:00:20 2017 rev:13 rq:556522 version:1.8.6 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenImageIO/OpenImageIO.changes 2017-12-07 13:54:45.623274726 +0100 +++ /work/SRC/openSUSE:Factory/.OpenImageIO.new/OpenImageIO.changes 2017-12-14 11:01:05.113181822 +0100 @@ -1,0 +2,5 @@ +Tue Dec 12 15:13:07 UTC 2017 - [email protected] + +- Change to pkgconfig() type build requirements. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenImageIO.spec ++++++ --- /var/tmp/diff_new_pack.dzXaA2/_old 2017-12-14 11:01:07.873048591 +0100 +++ /var/tmp/diff_new_pack.dzXaA2/_new 2017-12-14 11:01:07.873048591 +0100 @@ -1,7 +1,7 @@ # # spec file for package OpenImageIO # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define so_ver 1_8 %global gccv %(gcc -dumpversion) Name: OpenImageIO @@ -29,46 +30,55 @@ Patch1: oiio-detectplatform-others.patch Patch2: oiio_gcc6_missleading_indentation.patch Patch3: oiio-add-libdl-for-plugin.patch -# NOTE: Please don't uncomment a build requirement unless you have submitted the package to factory and it exists -#BuildRequires: Field3D-devel -BuildRequires: OpenColorIO-devel -%if 0%{?suse_version} > 1325 -BuildRequires: libboost_filesystem-devel -BuildRequires: libboost_python-devel -BuildRequires: libboost_regex-devel -BuildRequires: libboost_thread-devel -%else -BuildRequires: boost-devel -%endif BuildRequires: cmake BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: freetype2-devel BuildRequires: gcc-c++ BuildRequires: giflib-devel -BuildRequires: glew-devel BuildRequires: hdf5-devel BuildRequires: libjpeg-devel -BuildRequires: libopenssl-devel BuildRequires: libpng-devel +BuildRequires: pkgconfig +BuildRequires: pugixml-devel +BuildRequires: txt2man +BuildRequires: pkgconfig(IlmBase) +# NOTE: Please don't uncomment a build requirement unless you have submitted the package to factory and it exists +#BuildRequires: Field3D-devel +BuildRequires: pkgconfig(OpenColorIO) +BuildRequires: pkgconfig(OpenEXR) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(glew) +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libopenjp2) +BuildRequires: pkgconfig(libopenjpeg) +BuildRequires: pkgconfig(libopenjpeg1) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5OpenGL) BuildRequires: cmake(Qt5Widgets) -BuildRequires: libraw-devel -BuildRequires: libtiff-devel -BuildRequires: libwebp-devel -BuildRequires: opencv-devel -BuildRequires: openjpeg-devel -BuildRequires: openjpeg2-devel -BuildRequires: pugixml-devel -BuildRequires: python-devel -BuildRequires: txt2man -BuildRequires: zlib-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ilmbase-devel -BuildRequires: openexr-devel +BuildRequires: pkgconfig(libraw) +BuildRequires: pkgconfig(libraw_r) +BuildRequires: pkgconfig(libssl) +BuildRequires: pkgconfig(libtiff-4) +BuildRequires: pkgconfig(libwebp) +BuildRequires: pkgconfig(libwebpdecoder) +BuildRequires: pkgconfig(libwebpdemux) +BuildRequires: pkgconfig(libwebpmux) +BuildRequires: pkgconfig(opencv) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(python-2.7) +BuildRequires: pkgconfig(python2) +BuildRequires: pkgconfig(zlib) Recommends: google-droid-fonts +%if 0%{?suse_version} > 1325 +BuildRequires: libboost_filesystem-devel +BuildRequires: libboost_python-devel +BuildRequires: libboost_regex-devel +BuildRequires: libboost_thread-devel +%else +BuildRequires: boost-devel +%endif %description OpenImageIO is a library for reading and writing images, and a bunch of related @@ -124,8 +134,8 @@ %setup -q -n oiio-Release-%{version} %patch0 %patch1 -%patch2 -p0 -%patch3 -p0 +%patch2 +%patch3 echo "gcc version %{gccv}" # Make sure that bundled libraries are not used @@ -139,16 +149,6 @@ %define pwd $OIIOINC %define oiioinclude %{pwd}/src/include echo %{pwd} -%if 1 == 0 -%define gcc_version 7 -export CC=gcc-7 -export CPP=cpp-7 -export CXX=g++-7 -%else -export CC=gcc -export CPP=cpp -export CXX=g++ -%endif export CFLAGS="%{optflags}" %if 0%{?gcc_version} >= 7 #This host of flags to allow oiio to build with gcc7 are the result of oiio being built with -Werror" @@ -197,35 +197,27 @@ %fdupes -s %{buildroot} %post -n libOpenImageIO%{so_ver} -p /sbin/ldconfig - %postun -n libOpenImageIO%{so_ver} -p /sbin/ldconfig - %post -n libOpenImageIO_Util%{so_ver} -p /sbin/ldconfig - %postun -n libOpenImageIO_Util%{so_ver} -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc CHANGES.md CREDITS.md LICENSE README.md %{_bindir}/* %{_mandir}/man1/*.1%{ext_man} %files devel -%defattr(-,root,root,-) %doc %{_docdir}/%{name}-devel/ %{_includedir}/%{name}/ %{_libdir}/*.so %files -n lib%{name}%{so_ver} -%defattr(-,root,root,-) %{_libdir}/lib%{name}.so.* %files -n lib%{name}_Util%{so_ver} -%defattr(-,root,root,-) %{_libdir}/lib%{name}_Util.so.* %files -n python-%{name} -%defattr(-,root,root,-) %{python_sitearch}/%{name}.so %changelog
