Accepting request 424819 from home:susnux:branches:games

Update

OBS-URL: https://build.opensuse.org/request/show/424819
OBS-URL: https://build.opensuse.org/package/show/games/assimp?expand=0&rev=4
This commit is contained in:
Dmitriy Perlow 2016-09-05 17:57:29 +00:00 committed by Git OBS Bridge
parent e5ddae9625
commit abbd879d40
4 changed files with 32 additions and 27 deletions

3
assimp-3.3.1.tar.gz Normal file
View File

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

View File

@ -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

View File

@ -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

View File

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