diff options
author | CoprDistGit <infra@openeuler.org> | 2025-08-06 12:05:58 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-08-06 12:05:58 +0000 |
commit | a1a70fa7778819a0aa01229619be2a819d1c958b (patch) | |
tree | 0ef14581362595ae85a7018bc872bac63b183f8a | |
parent | db08623c09b757b5b8027e89da572c117b2f3490 (diff) |
automatic import of cgnslibopeneuler25.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | cgnslib-cmake-install-dirs.patch | 254 | ||||
-rw-r--r-- | cgnslib.spec | 378 | ||||
-rw-r--r-- | sources | 1 |
4 files changed, 634 insertions, 0 deletions
@@ -0,0 +1 @@ +/cgnslib-4.3.0.tar.gz diff --git a/cgnslib-cmake-install-dirs.patch b/cgnslib-cmake-install-dirs.patch new file mode 100644 index 0000000..d2061ea --- /dev/null +++ b/cgnslib-cmake-install-dirs.patch @@ -0,0 +1,254 @@ +diff -rupN CGNS-4.3.0/CMakeLists.txt CGNS-4.3.0-new/CMakeLists.txt +--- CGNS-4.3.0/CMakeLists.txt 2022-03-21 13:43:17.860321889 +0100 ++++ CGNS-4.3.0-new/CMakeLists.txt 2022-03-21 11:40:19.595169803 +0100 +@@ -424,7 +424,7 @@ if (CGNS_BUILD_SHARED) + set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) + + # the RPATH to be used when installing +- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") ++ set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}") + + # add the automatically determined parts of the RPATH + # which point to directories outside the build tree to the install RPATH +diff -rupN CGNS-4.3.0/src/cgnstools/cgnscalc/CMakeLists.txt CGNS-4.3.0-new/src/cgnstools/cgnscalc/CMakeLists.txt +--- CGNS-4.3.0/src/cgnstools/cgnscalc/CMakeLists.txt 2022-03-21 13:43:17.861321883 +0100 ++++ CGNS-4.3.0-new/src/cgnstools/cgnscalc/CMakeLists.txt 2022-03-21 11:40:19.595169803 +0100 +@@ -59,11 +59,11 @@ endif () + if (WIN32) + install(TARGETS + calcwish +- RUNTIME DESTINATION bin) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}) + install(PROGRAMS + cgnscalc.bat + unitconv.bat +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + cgnscalc.tcl + unitconv.tcl +@@ -78,21 +78,21 @@ if (WIN32) + else () + install(TARGETS + calcwish +- RUNTIME DESTINATION bin/cgnstools) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}/cgnstools) + install(PROGRAMS + cgnscalc.sh +- DESTINATION bin ++ DESTINATION ${BIN_INSTALL_DIR} + RENAME cgnscalc) + install(PROGRAMS + cgnscalc.desktop +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(PROGRAMS + unitconv.sh +- DESTINATION bin ++ DESTINATION ${BIN_INSTALL_DIR} + RENAME unitconv) + install(PROGRAMS + unitconv.desktop +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + cgnscalc.tcl + unitconv.tcl +diff -rupN CGNS-4.3.0/src/cgnstools/cgnsplot/CMakeLists.txt CGNS-4.3.0-new/src/cgnstools/cgnsplot/CMakeLists.txt +--- CGNS-4.3.0/src/cgnstools/cgnsplot/CMakeLists.txt 2022-03-21 13:43:17.862321878 +0100 ++++ CGNS-4.3.0-new/src/cgnstools/cgnsplot/CMakeLists.txt 2022-03-21 11:40:19.595169803 +0100 +@@ -66,10 +66,10 @@ endif () + if (WIN32) + install(TARGETS + plotwish +- RUNTIME DESTINATION bin) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}) + install(PROGRAMS + cgnsplot.bat +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + cgnsplot.tcl + cgnsplot.ico +@@ -80,14 +80,14 @@ if (WIN32) + else () + install(TARGETS + plotwish +- RUNTIME DESTINATION bin/cgnstools) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}/cgnstools) + install(PROGRAMS + cgnsplot.sh +- DESTINATION bin ++ DESTINATION ${BIN_INSTALL_DIR} + RENAME cgnsplot) + install(PROGRAMS + cgnsplot.desktop +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + cgnsplot.tcl + cgnsplot.ico +diff -rupN CGNS-4.3.0/src/cgnstools/cgnsview/CMakeLists.txt CGNS-4.3.0-new/src/cgnstools/cgnsview/CMakeLists.txt +--- CGNS-4.3.0/src/cgnstools/cgnsview/CMakeLists.txt 2022-03-21 13:43:17.862321878 +0100 ++++ CGNS-4.3.0-new/src/cgnstools/cgnsview/CMakeLists.txt 2022-03-21 11:40:19.595169803 +0100 +@@ -63,11 +63,11 @@ endif () + if (WIN32) + install(TARGETS + cgiowish +- RUNTIME DESTINATION bin) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}) + install(PROGRAMS + cgnsview.bat + cgnsnodes.bat +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + cgnsview.tcl + cgns.tcl +@@ -79,21 +79,21 @@ if (WIN32) + else () + install(TARGETS + cgiowish +- RUNTIME DESTINATION bin/cgnstools) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}/cgnstools) + install(PROGRAMS + cgnsview.sh +- DESTINATION bin ++ DESTINATION ${BIN_INSTALL_DIR} + RENAME cgnsview) + install(PROGRAMS + cgnsview.desktop +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(PROGRAMS + cgnsnodes.sh +- DESTINATION bin ++ DESTINATION ${BIN_INSTALL_DIR} + RENAME cgnsnodes) + install(PROGRAMS + cgnsnodes.desktop +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + cgnsview.tcl + cgns.tcl +diff -rupN CGNS-4.3.0/src/cgnstools/CMakeLists.txt CGNS-4.3.0-new/src/cgnstools/CMakeLists.txt +--- CGNS-4.3.0/src/cgnstools/CMakeLists.txt 2022-03-21 13:43:17.863321872 +0100 ++++ CGNS-4.3.0-new/src/cgnstools/CMakeLists.txt 2022-03-21 11:40:19.596169823 +0100 +@@ -111,7 +111,7 @@ set CG_LIB_DIR=${WIN_INSTALL_DIR}\\share + + install(PROGRAMS + ${CMAKE_CURRENT_BINARY_DIR}/cgconfig.bat +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + else () + file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/cgconfig + "CG_BIN_DIR=${CMAKE_INSTALL_PREFIX}/bin; export CG_BIN_DIR +@@ -120,6 +120,6 @@ CG_LIB_DIR=${CMAKE_INSTALL_PREFIX}/share + + install(PROGRAMS + ${CMAKE_CURRENT_BINARY_DIR}/cgconfig +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + endif () + +diff -rupN CGNS-4.3.0/src/cgnstools/utilities/CMakeLists.txt CGNS-4.3.0-new/src/cgnstools/utilities/CMakeLists.txt +--- CGNS-4.3.0/src/cgnstools/utilities/CMakeLists.txt 2022-03-21 13:43:17.863321872 +0100 ++++ CGNS-4.3.0-new/src/cgnstools/utilities/CMakeLists.txt 2022-03-21 11:40:19.596169823 +0100 +@@ -243,7 +243,7 @@ if (WIN32) + interpolate_cgns + update_ngon + cgns_info +- RUNTIME DESTINATION bin) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}) + install(FILES + conserved.cnv + convert.tcl +@@ -281,7 +281,7 @@ else () + interpolate_cgns + update_ngon + cgns_info +- RUNTIME DESTINATION bin/cgnstools) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}/cgnstools) + install(FILES + conserved.cnv + convert.tcl +diff -rupN CGNS-4.3.0/src/CMakeLists.txt CGNS-4.3.0-new/src/CMakeLists.txt +--- CGNS-4.3.0/src/CMakeLists.txt 2022-03-21 13:43:17.864321867 +0100 ++++ CGNS-4.3.0-new/src/CMakeLists.txt 2022-03-21 13:44:28.804031877 +0100 +@@ -45,7 +45,7 @@ set(SYSCFLAGS "") + set(CFGFLAGS "") + set(LIBS "") + +-file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/lib LIBDIR) ++file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR} LIBDIR) + file(TO_NATIVE_PATH ${CMAKE_INSTALL_PREFIX}/include INCLUDEDIR) + file(TO_NATIVE_PATH ${CMAKE_C_COMPILER} CC) + if (WIN32) +@@ -682,10 +682,10 @@ endif () + # for windows, need to install both cgnsdll.dll and cgnsdll.lib + install (TARGETS ${install_targets} + EXPORT cgns-targets +- LIBRARY DESTINATION lib COMPONENT libraries +- ARCHIVE DESTINATION lib COMPONENT libraries +- RUNTIME DESTINATION bin COMPONENT libraries +- INCLUDES DESTINATION include) ++ LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT libraries ++ ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT libraries ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT libraries ++ INCLUDES DESTINATION ${INCLUDE_INSTALL_DIR}) + + # Set the install path of the header files + set(headers +@@ -724,13 +724,13 @@ endif () + + # Set the install path of the header files + install(FILES ${headers} +- DESTINATION include) ++ DESTINATION ${INCLUDE_INSTALL_DIR}) + + #if (NOT CGNS_EXTERNALLY_CONFIGURE) + install(EXPORT cgns-targets + FILE cgns-targets.cmake + NAMESPACE CGNS:: +- DESTINATION lib/cmake/cgns ++ DESTINATION ${LIB_INSTALL_DIR}/cmake/cgns + ) + #endif() + +diff -rupN CGNS-4.3.0/src/tools/CMakeLists.txt CGNS-4.3.0-new/src/tools/CMakeLists.txt +--- CGNS-4.3.0/src/tools/CMakeLists.txt 2022-03-21 13:43:17.865321861 +0100 ++++ CGNS-4.3.0-new/src/tools/CMakeLists.txt 2022-03-21 11:40:19.596169823 +0100 +@@ -72,27 +72,27 @@ install(TARGETS + cgnslist + cgnsnames + cgnscompress +- RUNTIME DESTINATION bin) ++ RUNTIME DESTINATION ${BIN_INSTALL_DIR}) + + if (WIN32) + install(PROGRAMS + cgnsupdate.bat +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + if (CGNS_ENABLE_HDF5) + install(PROGRAMS + adf2hdf.bat + hdf2adf.bat +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + endif () + else () + install(PROGRAMS + cgnsupdate +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + if (CGNS_ENABLE_HDF5) + install(PROGRAMS + adf2hdf + hdf2adf +- DESTINATION bin) ++ DESTINATION ${BIN_INSTALL_DIR}) + endif () + endif () + diff --git a/cgnslib.spec b/cgnslib.spec new file mode 100644 index 0000000..565934c --- /dev/null +++ b/cgnslib.spec @@ -0,0 +1,378 @@ +%bcond_with openmpi +%bcond_with mpich + +Name: cgnslib +Version: 4.3.0 +Release: 1 +Summary: Computational Fluid Dynamics General Notation System +License: zlib +URL: http://www.cgns.org/ +Source0: https://github.com/CGNS/CGNS/archive/v%{version}/%{name}-%{version}.tar.gz +# Allow overriding all BIN/LIB/INCLUDE install dirs +Patch0: cgnslib-cmake-install-dirs.patch + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-gfortran +BuildRequires: hdf5-devel +BuildRequires: libXmu-devel +BuildRequires: make +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: tcl-devel +BuildRequires: tk-devel +BuildRequires: zlib-devel +Requires: hdf5%{?_isa} = %{_hdf5_version} +Requires: %{name}-common = %{version}-%{release} + +%description +The Computational Fluid Dynamics General Notation System (CGNS) provides a +general, portable, and extensible standard for the storage and retrieval of +computational fluid dynamics (CFD) analysisdata. It consists of a collection +of conventions, and free and open software implementing those conventions. It +is self-descriptive, machine-independent, well-documented, and administered by +an international steering committee. + + +%package common +Summary: Common files for %{name} +BuildArch: noarch + +%description common +Common files for %{name}. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: hdf5-devel%{?_isa} +Requires: gcc-gfortran%{?_isa} + +%description devel +This package contains libraries and header files for +developing applications that use %{name} libraries. + + +############################################################################### + +%if %{with openmpi} +%package openmpi +Summary: %{name} compiled against openmpi +Requires: %{name}-common = %{version}-%{release} +BuildRequires: openmpi-devel +BuildRequires: hdf5-openmpi-devel + +%description openmpi +%{name} compiled against openmpi. + + +%package openmpi-devel +Summary: Development files for %{name} compiled against openmpi +# Require explicitly for dir ownership +Requires: openmpi-devel +Requires: %{name}-openmpi%{?_isa} = %{version}-%{release} + +%description openmpi-devel +Development files for %{name} compiled against openmpi. +%endif + +############################################################################### + +%if %{with mpich} +%package mpich +Summary: %{name} compiled against mpich +Requires: %{name}-common = %{version}-%{release} +BuildRequires: mpich-devel +BuildRequires: hdf5-mpich-devel + +%description mpich +%{name} compiled against mpich. + + +%package mpich-devel +Summary: Development files for %{name} compiled against mpich +# Require explicitly for dir ownership +Requires: mpich-devel +Requires: %{name}-mpich%{?_isa} = %{version}-%{release} + +%description mpich-devel +Development files for %{name} compiled against mpich. +%endif + +############################################################################### + +%prep +%autosetup -p1 -n CGNS-%{version} + +# Remove executable bit +chmod a-x src/cgnstools/utilities/cgns_to_vtk.c + + +%build +# This is needed for GCC10, whenever a new cgnslib release is published, check whether it is still needed +# export FCFLAGS+=-fallow-argument-mismatch +cgnslib_cmake_args="\ + -DCMAKE_SKIP_RPATH=ON \ + -DCGNS_ENABLE_TESTS=ON \ + -DCGNS_ENABLE_FORTRAN=ON \ + -DCGNS_BUILD_CGNSTOOLS=ON \ + -DCGNS_ENABLE_HDF5=ON" +# -DCMAKE_Fortran_FLAGS_RELEASE:STRING='$FCFLAGS -DNDEBUG $LDFLAGS -lhdf5 -fPIC'" + +### Serial version ### +%define _vpath_builddir %{_target_platform} +%cmake \ + -DBIN_INSTALL_DIR=%{_bindir} \ + -DLIB_INSTALL_DIR=%{_libdir} \ + -DINCLUDE_INSTALL_DIR=%{_includedir} \ + $cgnslib_cmake_args +%cmake_build + + +### openmpi version ### +%if %{with openmpi} +( +%{_openmpi_load} +%define _vpath_builddir %{_target_platform}-openmpi +export CXX=mpicxx +export FC=mpifort +%cmake \ + -DHDF5_NEED_MPI=ON -DCGNS_ENABLE_PARALLEL=ON \ + -DBIN_INSTALL_DIR=$MPI_BIN \ + -DLIB_INSTALL_DIR=$MPI_LIB \ + -DINCLUDE_INSTALL_DIR=$MPI_INCLUDE \ + -DCMAKE_Fortran_FLAGS_RELEASE="%{optflags} -I $MPI_FORTRAN_MOD_DIR" \ + $cgnslib_cmake_args + +%cmake_build +%{_openmpi_unload} +) +%endif + + +### mpich version ### +%if %{with mpich} +( +%{_mpich_load} +%define _vpath_builddir %{_target_platform}-mpich +export CXX=mpicxx +export FC=mpifort +%cmake \ + -DHDF5_NEED_MPI=ON -DCGNS_ENABLE_PARALLEL=ON \ + -DBIN_INSTALL_DIR=$MPI_BIN \ + -DLIB_INSTALL_DIR=$MPI_LIB \ + -DINCLUDE_INSTALL_DIR=$MPI_INCLUDE \ + -DCMAKE_Fortran_FLAGS_RELEASE="%{optflags} -I $MPI_FORTRAN_MOD_DIR" \ + $cgnslib_cmake_args + +%cmake_build +%{_mpich_unload} +) +%endif + + + +%install +### openmpi version ### +%if %{with openmpi} +( +%{_openmpi_load} +%define _vpath_builddir %{_target_platform}-openmpi +%cmake_install + +# Move fortran module to correct location +mkdir -p %{buildroot}$MPI_FORTRAN_MOD_DIR +mv %{buildroot}$MPI_INCLUDE/cgns.mod %{buildroot}$MPI_FORTRAN_MOD_DIR + +# Drop desktop files +rm -f %{buildroot}$MPI_BIN/*.desktop +%{_openmpi_unload} +) +%endif + +### mpich version ### +%if %{with mpich} +( +%{_mpich_load} +%define _vpath_builddir %{_target_platform}-mpich +%cmake_install + +# Move fortran module to correct location +mkdir -p %{buildroot}$MPI_FORTRAN_MOD_DIR +mv %{buildroot}$MPI_INCLUDE/cgns.mod %{buildroot}$MPI_FORTRAN_MOD_DIR + +# Drop desktop files +rm -f %{buildroot}$MPI_BIN/*.desktop +%{_mpich_unload} +) +%endif + +### Serial version ### +%define _vpath_builddir %{_target_platform} +%cmake_install + +# Move fortran module to correct location +mkdir -p %{buildroot}%{_libdir}/gfortran/modules +mv %{buildroot}%{_includedir}/cgns.mod %{buildroot}%{_libdir}/gfortran/modules + +# Move desktop files to correct location +mkdir -p %{buildroot}%{_datadir}/applications +mv %{buildroot}%{_bindir}/*.desktop %{buildroot}%{_datadir}/applications + + +find %{buildroot} -name '*.a' -delete -print + + +%check +### Serial version ### +( +%define _vpath_builddir %{_target_platform} +export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH +%ctest || : +) + +### openmpi version ### +%if %{with openmpi} +( +%{_openmpi_load} +%define _vpath_builddir %{_target_platform}-openmpi +export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$LD_LIBRARY_PATH +# parallel tests hang on i686,armv7hl +%ifnarch i686 armv7hl +%ctest || : +%endif +%{_mpich_unload} +) +%endif + +### mpich version ### +%if %{with mpich} +( +%{_mpich_load} +%define _vpath_builddir %{_target_platform}-mpich +export LD_LIBRARY_PATH=%{buildroot}$MPI_LIB:$LD_LIBRARY_PATH +# parallel tests hang on i686,armv7hl +%ifnarch i686 armv7hl +%ctest || : +%endif +%{_mpich_unload} +) +%endif + + +%files +%{_bindir}/adf2hdf +%{_bindir}/cgconfig +%{_bindir}/cgnscalc +%{_bindir}/cgnscheck +%{_bindir}/cgnscompress +%{_bindir}/cgnsconvert +%{_bindir}/cgnsdiff +%{_bindir}/cgnslist +%{_bindir}/cgnsplot +%{_bindir}/cgnsnodes +%{_bindir}/cgnsnames +%{_bindir}/cgnstools/ +%{_bindir}/cgnsupdate +%{_bindir}/cgnsview +%{_bindir}/hdf2adf +%{_bindir}/unitconv +%{_libdir}/libcgns.so.4.3 + +%files devel +%{_includedir}/cgnsBuild.defs +%{_includedir}/cgns_io.h +%{_includedir}/cgnslib.h +%{_includedir}/cgnstypes.h +%{_includedir}/cgnstypes_f.h +%{_includedir}/cgnstypes_f03.h +%{_includedir}/cgnswin_f.h +%{_includedir}/cgnsconfig.h +%{_libdir}/libcgns.so +%{_libdir}/cmake/cgns/ +%{_fmoddir}/cgns.mod + +%files common +%doc release_docs/RELEASE.txt README.md +%license license.txt +%{_datadir}/cgnstools/ +%{_datadir}/applications/cgnscalc.desktop +%{_datadir}/applications/cgnsnodes.desktop +%{_datadir}/applications/cgnsplot.desktop +%{_datadir}/applications/cgnsview.desktop +%{_datadir}/applications/unitconv.desktop + +%if %{with openmpi} +%files openmpi +%{_libdir}/openmpi/bin/adf2hdf +%{_libdir}/openmpi/bin/cgconfig +%{_libdir}/openmpi/bin/cgnscalc +%{_libdir}/openmpi/bin/cgnscheck +%{_libdir}/openmpi/bin/cgnscompress +%{_libdir}/openmpi/bin/cgnsconvert +%{_libdir}/openmpi/bin/cgnsdiff +%{_libdir}/openmpi/bin/cgnslist +%{_libdir}/openmpi/bin/cgnsplot +%{_libdir}/openmpi/bin/cgnsnodes +%{_libdir}/openmpi/bin/cgnsnames +%{_libdir}/openmpi/bin/cgnstools/ +%{_libdir}/openmpi/bin/cgnsupdate +%{_libdir}/openmpi/bin/cgnsview +%{_libdir}/openmpi/bin/hdf2adf +%{_libdir}/openmpi/bin/unitconv +%{_libdir}/openmpi/lib/libcgns.so.4.3 + +%files openmpi-devel +%{_includedir}/openmpi*/cgnsBuild.defs +%{_includedir}/openmpi*/cgns_io.h +%{_includedir}/openmpi*/cgnslib.h +%{_includedir}/openmpi*/cgnstypes.h +%{_includedir}/openmpi*/cgnstypes_f.h +%{_includedir}/openmpi*/cgnstypes_f03.h +%{_includedir}/openmpi*/cgnswin_f.h +%{_includedir}/openmpi*/cgnsconfig.h +%{_includedir}/openmpi*/pcgnslib.h +%{_libdir}/openmpi/lib/libcgns.so +%{_libdir}/openmpi/lib/cmake/cgns/ +%{_fmoddir}/openmpi/cgns.mod +%endif + +%if %{with mpich} +%files mpich +%{_libdir}/mpich/bin/adf2hdf +%{_libdir}/mpich/bin/cgconfig +%{_libdir}/mpich/bin/cgnscalc +%{_libdir}/mpich/bin/cgnscheck +%{_libdir}/mpich/bin/cgnscompress +%{_libdir}/mpich/bin/cgnsconvert +%{_libdir}/mpich/bin/cgnsdiff +%{_libdir}/mpich/bin/cgnslist +%{_libdir}/mpich/bin/cgnsplot +%{_libdir}/mpich/bin/cgnsnodes +%{_libdir}/mpich/bin/cgnsnames +%{_libdir}/mpich/bin/cgnstools/ +%{_libdir}/mpich/bin/cgnsupdate +%{_libdir}/mpich/bin/cgnsview +%{_libdir}/mpich/bin/hdf2adf +%{_libdir}/mpich/bin/unitconv +%{_libdir}/mpich/lib/libcgns.so.4.3 + +%files mpich-devel +%{_includedir}/mpich*/cgnsBuild.defs +%{_includedir}/mpich*/cgns_io.h +%{_includedir}/mpich*/cgnslib.h +%{_includedir}/mpich*/cgnstypes.h +%{_includedir}/mpich*/cgnstypes_f.h +%{_includedir}/mpich*/cgnstypes_f03.h +%{_includedir}/mpich*/cgnswin_f.h +%{_includedir}/mpich*/cgnsconfig.h +%{_includedir}/mpich*/pcgnslib.h +%{_libdir}/mpich/lib/libcgns.so +%{_libdir}/mpich/lib/cmake/cgns/ +%{_fmoddir}/mpich/cgns.mod +%endif + + +%changelog +* Tue Aug 5 2025 mimanchiok <mimanchiok@qq.com> - 4.3.0-1 +- project init @@ -0,0 +1 @@ +bce0461cd385ec5daeb04986093290d1 cgnslib-4.3.0.tar.gz |