Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e20962cbb7 | ||
|
|
d22c6d6356 |
1 changed files with 11 additions and 7 deletions
18
assimp.spec
18
assimp.spec
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue