Browse Source

blender: rebuild with OpenImageIO-1.8.16

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11852 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
f683629bc3
1 changed files with 20 additions and 12 deletions
  1. 20 12
      b/blender/blender-vl.spec

+ 20 - 12
b/blender/blender-vl.spec

@@ -9,12 +9,13 @@ Summary:       3D modeling, animation, rendering and post-production.
 Summary(ja):   3D モデリング、アニメーション、レンダリング、ポストプロダクション
 Name:           blender
 Version:        %{blender_api}b
-Release:        2%{?_dist_release}
+Release:        3%{?_dist_release}
 Group:          Applications/Multimedia
 License:        GPL
 URL:            http://www.blender.org/
-Source0:        http://download.blender.org/source/blender-%{version}.tar.gz
-Source5:        blender.xml
+
+Source0:  http://download.blender.org/source/blender-%{version}.tar.gz
+Source5:  blender.xml
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  desktop-file-utils
@@ -32,7 +33,7 @@ BuildRequires:  SDL-devel
 BuildRequires:  libsndfile-devel
 BuildRequires:  jack-audio-connection-kit-devel
 BuildRequires:  libuuid-devel
-BuildRequires:  openssl-devel
+# BuildRequires:  openssl-devel
 BuildRequires:  python3-devel
 BuildRequires:  cmake
 BuildRequires:  SDL-devel
@@ -95,9 +96,11 @@ find -name '.svn' -print | xargs rm -rf
 
 %build
 mkdir cmake-make
-cd cmake-make
+pushd cmake-make
+
 export CFLAGS="$RPM_OPT_FLAGS -fPIC -funsigned-char -fno-strict-aliasing"
-export CXXFLAGS="$CFLAGS"
+export CXXFLAGS="$CFLAGS -std=c++11"
+
 cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
 %ifnarch %{ix86} x86_64
   -DWITH_RAYOPTIMIZATION=OFF \
@@ -124,14 +127,13 @@ cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix} \
   -DBOOST_ROOT=%{_prefix}
 
 make VERBOSE=1 # %{?_smp_mflags}
-
-
+popd
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-cd cmake-make
+pushd cmake-make
 make install DESTDIR=${RPM_BUILD_ROOT}
-cd ..
+popd
 
 #
 # Create empty %%{_libdir}/blender/scripts to claim ownership
@@ -193,7 +195,6 @@ cp -p release/datafiles/fonts/*.ttf.gz \
   ${RPM_BUILD_ROOT}%{blender_fontdir}/
 
 
-
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
@@ -231,7 +232,14 @@ update-mime-database %{_datadir}/mime > /dev/null || :
 
 
 %changelog
-* Sat Aug 25 2018 Toshiaki Ara <ara_t@384.jp> 2.77b-1
+* Tue Nov 06 2018 Toshiaki Ara <ara_t@384.jp> 2.79b-3
+- rebuild with OpenImageIO-1.8.16
+- drop BuildRequires: openssl-devel
+
+* Sat Aug 25 2018 Toshiaki Ara <ara_t@384.jp> 2.79b-2
+- new upstream release
+
+* Sat Aug 25 2018 Toshiaki Ara <ara_t@384.jp> 2.79b-1
 - new upstream release
 - add BuildRequires: pugixml-devel