Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
890ea0df46 | ||
|
|
852f7f83e6 | ||
|
|
e2d3b90830 |
1 changed files with 4 additions and 11 deletions
15
vtk.spec
15
vtk.spec
|
|
@ -4,7 +4,7 @@
|
|||
%global _lto_cflags %{nil}
|
||||
|
||||
# There is a circular dep with opencascade
|
||||
%bcond bootstrap 0
|
||||
%bcond bootstrap 1
|
||||
|
||||
# OSMesa and X support are mutually exclusive.
|
||||
# TODO - buid separate OSMesa version if desired
|
||||
|
|
@ -115,7 +115,6 @@ BuildRequires: cgnslib-devel
|
|||
BuildRequires: cli11-devel
|
||||
BuildRequires: eigen3-devel
|
||||
BuildRequires: expat-devel
|
||||
BuildRequires: fast_float-devel
|
||||
BuildRequires: ffmpeg-free-devel
|
||||
%if %{with fmt}
|
||||
BuildRequires: fmt-devel >= 8.1.0
|
||||
|
|
@ -226,8 +225,6 @@ Requires: cli11-static \
|
|||
# eigen3 is noarch and header-only \
|
||||
Requires: eigen3-static \
|
||||
Requires: expat-devel%{?_isa} \
|
||||
# fast_float is noarch and header-only \
|
||||
Requires: fast_float-devel \
|
||||
Requires: ffmpeg-free-devel%{?_isa} \
|
||||
%if %{with fmt} \
|
||||
Requires: fmt-devel%{?_isa} \
|
||||
|
|
@ -310,6 +307,7 @@ Provides: bundled(kwsys-systemtools)
|
|||
Provides: bundled(diy2)
|
||||
Provides: bundled(exodusII) = 2.0.0
|
||||
Provides: bundled(exprtk) = 2.71
|
||||
Provides: bundled(fast_flot) = 8.0.2
|
||||
Provides: bundled(fides)
|
||||
%if !%{with fmt}
|
||||
Provides: bundled(fmt) = 8.1.0
|
||||
|
|
@ -600,7 +598,7 @@ programming languages.
|
|||
# TODO - VPIC - not yet packaged
|
||||
# TODO - xdmf2 - not yet packaged
|
||||
# TODO - xdmf3 - not yet packaged
|
||||
for x in vtk{cgns,cli11,eigen,expat,fast_float,%{?with_fmt:fmt,}freetype,%{?with_gl2ps:gl2ps,}hdf5,jpeg,jsoncpp,libharu,libproj,libxml2,lz4,lzma,mpi4py,netcdf,nlohmannjson,ogg,pegtl,png,pugixml,sqlite,theora,tiff,utf8,zlib}
|
||||
for x in vtk{cgns,cli11,eigen,expat,%{?with_fmt:fmt,}freetype,%{?with_gl2ps:gl2ps,}hdf5,jpeg,jsoncpp,libharu,libproj,libxml2,lz4,lzma,mpi4py,netcdf,nlohmannjson,ogg,pegtl,png,pugixml,sqlite,theora,tiff,utf8,zlib}
|
||||
do
|
||||
rm -r ThirdParty/*/${x}
|
||||
done
|
||||
|
|
@ -608,12 +606,6 @@ done
|
|||
rm -r ThirdParty/xdmf3
|
||||
%endif
|
||||
|
||||
# Remove version requirements
|
||||
sed -i -e '/VERSION *"/d' ThirdParty/fast_float/CMakeLists.txt
|
||||
|
||||
# Remove version requirements
|
||||
sed -i -e '/VERSION *"/d' ThirdParty/fast_float/CMakeLists.txt
|
||||
|
||||
# Remove unused KWSys items
|
||||
find Utilities/KWSys/vtksys/ -name \*.[ch]\* | grep -vE '^Utilities/KWSys/vtksys/([a-z].*|Configure|SharedForward|Status|String\.hxx|Base64|CommandLineArguments|Directory|DynamicLoader|Encoding|FStream|FundamentalType|Glob|MD5|Process|RegularExpression|System|SystemInformation|SystemTools)(C|CXX|UNIX)?\.' | xargs rm
|
||||
|
||||
|
|
@ -698,6 +690,7 @@ find vtk-examples -type f | xargs chmod -R a-x
|
|||
-DVTK_MODULE_ENABLE_VTK_FiltersOpenTURNS:STRING=NO \\\
|
||||
-DVTK_MODULE_ENABLE_VTK_IOADIOS2:STRING=NO \\\
|
||||
-DVTK_MODULE_ENABLE_VTK_IOOpenVDB:STRING=NO \\\
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_fast_float:BOOL=OFF \\\
|
||||
%if !%{with fmt} \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_fmt:BOOL=OFF \\\
|
||||
%endif \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue