diff --git a/assimp-3.3.1.tar.gz b/assimp-3.3.1.tar.gz new file mode 100644 index 0000000..729d85e --- /dev/null +++ b/assimp-3.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d385c3f90876241343f09e45f4e5033a6a05861b971c63d1f6d512371ffdc7bf +size 36428380 diff --git a/assimp.changes b/assimp.changes index 0422a87..f03321c 100644 --- a/assimp.changes +++ b/assimp.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Sep 5 10:38:19 UTC 2016 - rpm@fthiessen.de + +- Update to new upstream release 3.3.1 +* Fix BlenderTesselator: offsetof operator +* C++11 support +* OpenGEX: add support for cameras and lights +* Enable export by pyAssimp +* Add functionality to perform a singlepost-processing step +* Fix of many resource leaks in unittests and main lib + ------------------------------------------------------------------- Thu Jun 16 22:16:07 UTC 2016 - jengelh@inai.de diff --git a/assimp.spec b/assimp.spec index d442043..cc24442 100644 --- a/assimp.spec +++ b/assimp.spec @@ -18,22 +18,18 @@ %define soname 3 Name: assimp -Version: 3.2 +Version: 3.3.1 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/ -Source: https://github.com/assimp/assimp/archive/v%{version}.tar.gz +Url: http://assimp.org/ +Source: https://github.com/assimp/assimp/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: boost-devel -BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: dos2unix -BuildRequires: glibc-devel -BuildRequires: libstdc++-devel -BuildRequires: make -BuildRequires: pkg-config -BuildRequires: unzip +BuildRequires: gcc-c++ +BuildRequires: pkgconfig BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -50,7 +46,6 @@ Assimp is a library to load and process geometric scenes from various data forma %package devel Summary: Headers, docs and command-line utility for %{name} Group: Development/Libraries/C and C++ -BuildRequires: pkgconfig Requires: glibc-devel Requires: lib%{name}%{soname} = %{version} Requires: libstdc++-devel @@ -59,42 +54,41 @@ 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} +%setup -q + +dos2unix LICENSE CREDITS CHANGES README +find . -type f -name "*.lib" -delete %build -dos2unix LICENSE -dos2unix CREDITS -dos2unix CHANGES -dos2unix README -find . -type f -name "*.lib" -delete %cmake \ -DCMAKE_BUILD_TYPE="Release" \ - -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DASSIMP_LIB_INSTALL_DIR="%{_libdir}" -export CFLAGS="%{optflags}" -make %{?_smp_mflags} +CFLAGS="%{optflags}" make %{?_smp_mflags} %install rm -rf examples/.deps %cmake_install -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -n lib%{name}%{soname} -p /sbin/ldconfig - %postun -n lib%{name}%{soname} -p /sbin/ldconfig %files -n lib%{name}%{soname} %defattr(-,root,root) -%doc CREDITS README LICENSE +%if 0%{?suse_version} > 1320 +%license CREDITS LICENSE +%else +%doc CREDITS LICENSE +%endif %{_libdir}/libassimp.so.3* %files devel %defattr(-,root,root) -%doc CREDITS README LICENSE CHANGES samples/ +%doc README CHANGES %{_includedir}/assimp/ %{_bindir}/assimp %{_libdir}/libassimp.so -%{_libdir}/cmake/ +%{_libdir}/cmake/* %{_libdir}/pkgconfig/assimp.pc %changelog diff --git a/v3.2.tar.gz b/v3.2.tar.gz deleted file mode 100644 index f638975..0000000 --- a/v3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:187f825c563e84b1b17527a4da0351aa3d575dfd696a9d204ae4bb19ee7df94a -size 33756081