diff --git a/v5.2.5.tar.gz b/assimp-5.3.1-free.tar.xz similarity index 63% rename from v5.2.5.tar.gz rename to assimp-5.3.1-free.tar.xz index 9080d11958bb3a73224a8243d7df66f01bb2bbb4..81687a33f48f96dc2f183f051f2273c62e4dc221 100644 Binary files a/v5.2.5.tar.gz and b/assimp-5.3.1-free.tar.xz differ diff --git a/assimp.spec b/assimp.spec index bbfdafa5fb102e0739f59a13c58821988e985d8b..6f03414d66a885c1a269c2ee6cb0320a46bfa956 100644 --- a/assimp.spec +++ b/assimp.spec @@ -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 - 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