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:
parent
e5ddae9625
commit
abbd879d40
3
assimp-3.3.1.tar.gz
Normal file
3
assimp-3.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d385c3f90876241343f09e45f4e5033a6a05861b971c63d1f6d512371ffdc7bf
|
||||||
|
size 36428380
|
@ -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
|
Thu Jun 16 22:16:07 UTC 2016 - jengelh@inai.de
|
||||||
|
|
||||||
|
42
assimp.spec
42
assimp.spec
@ -18,22 +18,18 @@
|
|||||||
|
|
||||||
%define soname 3
|
%define soname 3
|
||||||
Name: assimp
|
Name: assimp
|
||||||
Version: 3.2
|
Version: 3.3.1
|
||||||
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.org/
|
||||||
Source: https://github.com/assimp/assimp/archive/v%{version}.tar.gz
|
Source: https://github.com/assimp/assimp/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: boost-devel
|
BuildRequires: boost-devel
|
||||||
BuildRequires: c++_compiler
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: dos2unix
|
BuildRequires: dos2unix
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libstdc++-devel
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: pkg-config
|
|
||||||
BuildRequires: unzip
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%package devel
|
||||||
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: Development/Libraries/C and C++
|
||||||
BuildRequires: pkgconfig
|
|
||||||
Requires: glibc-devel
|
Requires: glibc-devel
|
||||||
Requires: lib%{name}%{soname} = %{version}
|
Requires: lib%{name}%{soname} = %{version}
|
||||||
Requires: libstdc++-devel
|
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.
|
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}
|
%setup -q
|
||||||
|
|
||||||
|
dos2unix LICENSE CREDITS CHANGES README
|
||||||
|
find . -type f -name "*.lib" -delete
|
||||||
|
|
||||||
%build
|
%build
|
||||||
dos2unix LICENSE
|
|
||||||
dos2unix CREDITS
|
|
||||||
dos2unix CHANGES
|
|
||||||
dos2unix README
|
|
||||||
find . -type f -name "*.lib" -delete
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-DCMAKE_BUILD_TYPE="Release" \
|
-DCMAKE_BUILD_TYPE="Release" \
|
||||||
-DCMAKE_INSTALL_PREFIX="%{_prefix}" \
|
|
||||||
-DASSIMP_LIB_INSTALL_DIR="%{_libdir}"
|
-DASSIMP_LIB_INSTALL_DIR="%{_libdir}"
|
||||||
export CFLAGS="%{optflags}"
|
CFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf examples/.deps
|
rm -rf examples/.deps
|
||||||
%cmake_install
|
%cmake_install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
%post -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
%postun -n lib%{name}%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name}%{soname}
|
%files -n lib%{name}%{soname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CREDITS README LICENSE
|
%if 0%{?suse_version} > 1320
|
||||||
|
%license CREDITS LICENSE
|
||||||
|
%else
|
||||||
|
%doc CREDITS LICENSE
|
||||||
|
%endif
|
||||||
%{_libdir}/libassimp.so.3*
|
%{_libdir}/libassimp.so.3*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CREDITS README LICENSE CHANGES samples/
|
%doc README CHANGES
|
||||||
%{_includedir}/assimp/
|
%{_includedir}/assimp/
|
||||||
%{_bindir}/assimp
|
%{_bindir}/assimp
|
||||||
%{_libdir}/libassimp.so
|
%{_libdir}/libassimp.so
|
||||||
%{_libdir}/cmake/
|
%{_libdir}/cmake/*
|
||||||
%{_libdir}/pkgconfig/assimp.pc
|
%{_libdir}/pkgconfig/assimp.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:187f825c563e84b1b17527a4da0351aa3d575dfd696a9d204ae4bb19ee7df94a
|
|
||||||
size 33756081
|
|
Loading…
Reference in New Issue
Block a user