SHA256
1
0
forked from pool/assimp

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
This commit is contained in:
Matthias Mailänder 2016-06-18 05:49:59 +00:00 committed by Git OBS Bridge
parent 4c5b7926ee
commit e5ddae9625
4 changed files with 32 additions and 24 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac29beb596db97df57451a5503afaf2d8b4366522842a6914da89644927a1423
size 4042147

View File

@ -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 Tue Sep 3 09:38:16 UTC 2013 - joop.boonen@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package assimp # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,13 @@
%define soname 3 %define soname 3
Name: assimp Name: assimp
Version: 3.0.1270 Version: 3.2
Release: 0 Release: 0
Summary: Library to load and process 3D scenes from various data formats Summary: Library to load and process 3D scenes from various data formats
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://assimp.sourceforge.net/ 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: boost-devel
BuildRequires: c++_compiler BuildRequires: c++_compiler
BuildRequires: cmake 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} %package -n lib%{name}%{soname}
Summary: Headers, docs and command-line utility for %{name} Summary: Headers, docs and command-line utility for %{name}
Group: Development/Libraries/C and C++ Group: System/Libraries
%description -n lib%{name}%{soname} %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. 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. 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 %prep
%setup -q -n assimp--%{version}-source-only %setup -q -n assimp-%{version}
%build
dos2unix LICENSE dos2unix LICENSE
dos2unix CREDITS dos2unix CREDITS
dos2unix CHANGES dos2unix CHANGES
dos2unix README dos2unix README
find . -type f -name "*.lib" -delete
%build %cmake \
cmake . \
-DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-DLIB_INSTALL_DIR=%{_libdir} -DASSIMP_LIB_INSTALL_DIR="%{_libdir}"
export CFLAGS="%{optflags}" export CFLAGS="%{optflags}"
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf examples/.deps rm -rf examples/.deps
make DESTDIR=%{buildroot} install %cmake_install
rm -f %{buildroot}%{_libdir}/*.la rm -f %{buildroot}%{_libdir}/*.la
%post -n lib%{name}%{soname} -p /sbin/ldconfig %post -n lib%{name}%{soname} -p /sbin/ldconfig
@ -89,18 +90,11 @@ rm -f %{buildroot}%{_libdir}/*.la
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc CREDITS README LICENSE CHANGES Documentation.chm CommandLine.chm samples/ %doc CREDITS README LICENSE CHANGES samples/
%dir %{_includedir}/assimp %{_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
%{_bindir}/assimp %{_bindir}/assimp
%{_libdir}/libassimp.so %{_libdir}/libassimp.so
%{_libdir}/cmake/assimp-3.0/assimp-config.cmake %{_libdir}/cmake/
%{_libdir}/cmake/assimp-3.0/assimp-config-version.cmake
%{_libdir}/pkgconfig/assimp.pc %{_libdir}/pkgconfig/assimp.pc
%changelog %changelog

3
v3.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:187f825c563e84b1b17527a4da0351aa3d575dfd696a9d204ae4bb19ee7df94a
size 33756081