update to 5.3.1

This commit is contained in:
yaqiangchen 2023-10-23 17:48:32 +08:00
parent be92267e89
commit f5457f96c4
2 changed files with 13 additions and 4 deletions

View File

@ -1,10 +1,16 @@
Name: assimp
Version: 5.2.5
Version: 5.3.1
Release: 1
Summary: Library to load and process various 3D model formats into applications.
License: BSD and MIT and LGPL-2.1 and LGPL-2.0 and GPL-2.0 and LGPL-3.0 and GPL-3.0
URL: http://www.assimp.org/
Source0: https://github.com/assimp/assimp/archive/v%{version}.tar.gz
#wget https://github.com/assimp/assimp/archive/v%{version}.tar.gz
#tar xf v%{version}.tar.gz
#cd assimp-%{version}
#rm -rf test/models-nonbsd
#cd ..
#tar czf assimp-%{version}-free.tar.xz assimp-%{version}
Source0: assimp-%{version}-free.tar.xz
BuildRequires: gcc-c++ boost-devel cmake dos2unix irrlicht-devel irrXML-devel
BuildRequires: doxygen poly2tri-devel gtest-devel pkgconfig(zziplib)
BuildRequires: pkgconfig(zlib) pkgconfig(minizip) gmock-devel make
@ -46,10 +52,10 @@ Assimp help doc.
%prep
%autosetup -n assimp-%{version} -p1
sed -i '/Werror/d' code/CMakeLists.txt
%build
%cmake
%cmake -DASSIMP_BUILD_ZLIB=OFF
%make_build
%install
@ -81,6 +87,9 @@ install -m 0644 port/PyAssimp/pyassimp/*.py %{buildroot}%{python3_sitelib}/pyass
%{python3_sitelib}/pyassimp
%changelog
* Wed Oct 18 2023 chenyaqiang <chengyaqiang@huawei.com> - 5.3.1-1
- update to 5.3.1
* Sat Feb 04 2023 wenchaofan <349464272@qq.com> - 5.2.5-1
- Update to 5.2.5 version