From e5ddae9625379f812629d2340cb15224a0e1276c520c7fba0b43f407c907e047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 18 Jun 2016 05:49:59 +0000 Subject: [PATCH] Accepting request 403136 from home:jengelh:branches:games - Update to new upstream release 3.2 OBS-URL: https://build.opensuse.org/request/show/403136 OBS-URL: https://build.opensuse.org/package/show/games/assimp?expand=0&rev=3 --- assimp--3.0.1270-source-only.zip | 3 --- assimp.changes | 14 +++++++++++++ assimp.spec | 36 +++++++++++++------------------- v3.2.tar.gz | 3 +++ 4 files changed, 32 insertions(+), 24 deletions(-) delete mode 100644 assimp--3.0.1270-source-only.zip create mode 100644 v3.2.tar.gz diff --git a/assimp--3.0.1270-source-only.zip b/assimp--3.0.1270-source-only.zip deleted file mode 100644 index ded723d..0000000 --- a/assimp--3.0.1270-source-only.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac29beb596db97df57451a5503afaf2d8b4366522842a6914da89644927a1423 -size 4042147 diff --git a/assimp.changes b/assimp.changes index b023309..0422a87 100644 --- a/assimp.changes +++ b/assimp.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Jun 16 22:16:07 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.2 +* Support for FBX 2013 and newer, binary and ASCII +* Support for OGRE binary mesh and skeleton format +* Updated BLEND support for newer Blender versions +* Support for arbitrary meta data, used to hold FBX and DAE metadata +* OBJ Export now produces smaller files +* Meshes can now have names, this is supported by the major importers +* Improved IFC geometry generation +* M3 support has been removed +* Experimental OpenGEX support + ------------------------------------------------------------------- Tue Sep 3 09:38:16 UTC 2013 - joop.boonen@opensuse.org diff --git a/assimp.spec b/assimp.spec index d7e5a3c..d442043 100644 --- a/assimp.spec +++ b/assimp.spec @@ -1,7 +1,7 @@ # # spec file for package assimp # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -18,13 +18,13 @@ %define soname 3 Name: assimp -Version: 3.0.1270 +Version: 3.2 Release: 0 Summary: Library to load and process 3D scenes from various data formats License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://assimp.sourceforge.net/ -Source0: http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp--%{version}-source-only.zip +Source: https://github.com/assimp/assimp/archive/v%{version}.tar.gz BuildRequires: boost-devel BuildRequires: c++_compiler BuildRequires: cmake @@ -42,7 +42,7 @@ Assimp is a library to load and process geometric scenes from various data forma %package -n lib%{name}%{soname} Summary: Headers, docs and command-line utility for %{name} -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n lib%{name}%{soname} Assimp is a library to load and process geometric scenes from various data formats. It is tailored at typical game scenarios by supporting a node hierarchy, static or skinned meshes, materials, bone animations and potential texture data. The library is not designed for speed, it is primarily useful for importing assets from various sources once and storing it in a engine-specific format for easy and fast every-day-loading. @@ -59,23 +59,24 @@ Requires: libstdc++-devel Assimp is a library to load and process geometric scenes from various data formats. It is tailored at typical game scenarios by supporting a node hierarchy, static or skinned meshes, materials, bone animations and potential texture data. The library is not designed for speed, it is primarily useful for importing assets from various sources once and storing it in a engine-specific format for easy and fast every-day-loading. %prep -%setup -q -n assimp--%{version}-source-only +%setup -q -n assimp-%{version} + +%build dos2unix LICENSE dos2unix CREDITS dos2unix CHANGES dos2unix README - -%build -cmake . \ +find . -type f -name "*.lib" -delete +%cmake \ -DCMAKE_BUILD_TYPE="Release" \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DLIB_INSTALL_DIR=%{_libdir} + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DASSIMP_LIB_INSTALL_DIR="%{_libdir}" export CFLAGS="%{optflags}" make %{?_smp_mflags} %install rm -rf examples/.deps -make DESTDIR=%{buildroot} install +%cmake_install rm -f %{buildroot}%{_libdir}/*.la %post -n lib%{name}%{soname} -p /sbin/ldconfig @@ -89,18 +90,11 @@ rm -f %{buildroot}%{_libdir}/*.la %files devel %defattr(-,root,root) -%doc CREDITS README LICENSE CHANGES Documentation.chm CommandLine.chm samples/ -%dir %{_includedir}/assimp -%dir %{_includedir}/assimp/Compiler -%dir %{_libdir}/cmake/assimp-3.0 -%{_includedir}/assimp/Compiler/*.h -%{_includedir}/assimp/*.h -%{_includedir}/assimp/*.inl -%{_includedir}/assimp/*.hpp +%doc CREDITS README LICENSE CHANGES samples/ +%{_includedir}/assimp/ %{_bindir}/assimp %{_libdir}/libassimp.so -%{_libdir}/cmake/assimp-3.0/assimp-config.cmake -%{_libdir}/cmake/assimp-3.0/assimp-config-version.cmake +%{_libdir}/cmake/ %{_libdir}/pkgconfig/assimp.pc %changelog diff --git a/v3.2.tar.gz b/v3.2.tar.gz new file mode 100644 index 0000000..f638975 --- /dev/null +++ b/v3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:187f825c563e84b1b17527a4da0351aa3d575dfd696a9d204ae4bb19ee7df94a +size 33756081