Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Scott K Logan
e20962cbb7 Add pugixml and poly2tri devel dependencies to assimp-devel 2024-01-04 11:32:19 -06:00
Scott K Logan
d22c6d6356 RHEL 9 fixes: revert patch macros and GCC warning suppression 2023-12-13 13:58:51 -06:00

View file

@ -3,7 +3,7 @@
Name: assimp
Version: 5.2.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Library to import various 3D model formats into applications
# Assimp is BSD
@ -89,6 +89,8 @@ to these applications.
%package devel
Summary: Header files and libraries for assimp
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: poly2tri-devel
Requires: pugixml-devel
%description devel
This package contains the header files and libraries
@ -126,16 +128,15 @@ rm -r contrib/rapidjson
rm -r contrib/stb
rm -r contrib/utf8cpp
%patch 0 -p1 -b .unbundle
%patch 1 -p1 -b .pythonpath
%patch 2 -p1 -b .nozlib
%patch 3 -p1 -b .doxyfile
%patch 4 -p0 -b .tests
%patch0 -p1 -b .unbundle
%patch1 -p1 -b .pythonpath
%patch2 -p1 -b .nozlib
%patch3 -p1 -b .doxyfile
%patch4 -p0 -b .tests
mv contrib/openddlparser/LICENSE contrib/openddlparser/LICENSE.openddlparser
%build
%global optflags %(echo %{optflags} -Wno-error=dangling-reference)
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DASSIMP_LIB_INSTALL_DIR=%{_lib} \
@ -197,6 +198,9 @@ rm -f %{buildroot}%{_libdir}/libzlibstatic.a
%endif
%changelog
* Wed Jan 03 2024 Scott K Logan <logans@cottsay.net> - 5.2.5-2
- Add pugixml and poly2tri devel dependencies to assimp-devel
* Fri Nov 24 2023 Rich Mattes <richmattes@gmail.com> - 5.2.5-1
- Add check section and fix ctest configuration