|
|
8fe3486 |
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
|
|
|
8fe3486 |
%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl%{tcl_version}}
|
|
|
8fe3486 |
|
|
|
a712cc0 |
# Don't abort on compilation errors of the example python snippets
|
|
|
a712cc0 |
%global _python_bytecompile_errors_terminate_build 0
|
|
|
8fe3486 |
|
|
|
ee6db90 |
%if 0%{?el6}
|
|
|
ee6db90 |
%ifarch ppc64
|
|
|
ee6db90 |
%global build_mpich 0
|
|
|
ee6db90 |
%else
|
|
|
ee6db90 |
%global build_mpich 1
|
|
|
ee6db90 |
%endif
|
|
|
ee6db90 |
%else
|
|
|
ee6db90 |
%global build_mpich 1
|
|
|
ee6db90 |
%endif
|
|
|
ee6db90 |
|
|
|
a712cc0 |
# Upstream stopped releasing source tarballs, generating directly via snapshot at commit (see Source0)....
|
|
|
a712cc0 |
# Get commits for version at https://sourceforge.net/p/netgen-mesher/git/ci/master/tree/
|
|
|
a712cc0 |
%global commit 94fd57154f556450a04808b244eb8c83e7a95fb6
|
|
|
a712cc0 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%global togl_ver 2.1
|
|
|
a712cc0 |
|
|
|
8fe3486 |
Name: netgen-mesher
|
|
|
a712cc0 |
Version: 6.2
|
|
|
c447a70 |
Release: 0.5.git%{shortcommit}%{?dist}
|
|
|
8fe3486 |
Summary: Automatic mesh generation tool
|
|
|
8fe3486 |
|
|
|
8fe3486 |
License: LGPLv2
|
|
|
8fe3486 |
URL: http://sourceforge.net/projects/netgen-mesher/
|
|
|
a712cc0 |
Source0: https://sourceforge.net/code-snapshots/git/n/ne/netgen-mesher/git.git/netgen-mesher-git-%{commit}.zip
|
|
|
8fe3486 |
Source1: netgen-mesher.png
|
|
|
8fe3486 |
Source2: netgen-mesher.desktop
|
|
|
8fe3486 |
|
|
|
a712cc0 |
# Don't try to install pybind files
|
|
|
a712cc0 |
Patch1: 0001-Don-t-install-pybind-files.patch
|
|
|
a712cc0 |
# Rename shared libaries (the original names are often way too generic), add library version
|
|
|
a712cc0 |
Patch2: 0002-Rename-libraries-add-library-versions.patch
|
|
|
a712cc0 |
# Set a default NETGENDIR appropriate for the Fedora packaging
|
|
|
a712cc0 |
Patch3: 0003-Set-default-NETGENDIR.patch
|
|
|
a712cc0 |
# Make some includes relative (needed for when headers are in -private subpackage)
|
|
|
a712cc0 |
Patch4: 0004-Make-some-includes-relative.patch
|
|
|
a712cc0 |
# Make bin, lib and python sitearch installation directories configurable
|
|
|
a712cc0 |
Patch5: 0005-Make-bin-lib-and-pysitearch-dirs-configurable.patch
|
|
|
a712cc0 |
# Unbundle togl (see also %%prep)
|
|
|
a712cc0 |
Patch6: 0006-Unbundle-togl.patch
|
|
|
a712cc0 |
# SuperBuild.cmake fails to propagate USE_JPEG
|
|
|
a712cc0 |
Patch7: 0007-Add-missing-USE_JPEG-propagation.patch
|
|
|
a712cc0 |
# Add missing -ldl
|
|
|
a712cc0 |
Patch8: 0008-Add-missing-ldl.patch
|
|
|
a712cc0 |
# Only include immintrin.h on x86 arches
|
|
|
a712cc0 |
Patch9: 0009-immintrin.patch
|
|
|
a712cc0 |
|
|
|
a712cc0 |
# TODO Re-evaluate: Some fixes to the code (taken from salome netgen plugin)
|
|
|
a712cc0 |
# Patch10: netgen-5.3.0_fixes.patch
|
|
|
c447a70 |
# Rename binary in cmake so that exported modules work correctly
|
|
|
c447a70 |
Patch10: 0010-rename-netgen-binary.patch
|
|
|
a712cc0 |
|
|
|
a712cc0 |
|
|
|
a712cc0 |
BuildRequires: cmake
|
|
|
a712cc0 |
BuildRequires: gcc-c++
|
|
|
8fe3486 |
BuildRequires: tk-devel
|
|
|
8fe3486 |
BuildRequires: OCE-devel
|
|
|
8fe3486 |
BuildRequires: libjpeg-turbo-devel
|
|
|
a712cc0 |
BuildRequires: tcl-togl-devel = %{togl_ver}
|
|
|
8fe3486 |
BuildRequires: metis-devel
|
|
|
8fe3486 |
BuildRequires: mesa-libGLU-devel
|
|
|
8fe3486 |
BuildRequires: libXmu-devel
|
|
|
8fe3486 |
BuildRequires: desktop-file-utils
|
|
|
accac45 |
BuildRequires: dos2unix
|
|
|
ee6db90 |
%if %{build_mpich}
|
|
|
ee6db90 |
BuildRequires: mpich-devel
|
|
|
ee6db90 |
%endif
|
|
|
ee6db90 |
BuildRequires: openmpi-devel
|
|
|
a712cc0 |
BuildRequires: python3-devel
|
|
|
a712cc0 |
BuildRequires: pybind11-devel
|
|
|
a712cc0 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
8fe3486 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description
|
|
|
8fe3486 |
NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from
|
|
|
8fe3486 |
constructive solid geometry (CSG) or boundary representation (BRep) from STL
|
|
|
8fe3486 |
file format. The connection to a geometry kernel allows the handling of IGES
|
|
|
8fe3486 |
and STEP files. NETGEN contains modules for mesh optimization and hierarchical
|
|
|
8fe3486 |
mesh refinement.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package common
|
|
|
8fe3486 |
Summary: Common files for netgen
|
|
|
8fe3486 |
Requires: hicolor-icon-theme
|
|
|
8fe3486 |
Requires: tix
|
|
|
8fe3486 |
BuildArch: noarch
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description common
|
|
|
8fe3486 |
Common files for netgen.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package libs
|
|
|
8fe3486 |
Summary: Netgen libraries
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description libs
|
|
|
8fe3486 |
Netgen libraries.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package devel
|
|
|
8fe3486 |
Summary: Development files for netgen
|
|
|
8fe3486 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description devel
|
|
|
8fe3486 |
Development files for netgen.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package devel-private
|
|
|
8fe3486 |
Summary: Private headers of netgen
|
|
|
8fe3486 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description devel-private
|
|
|
8fe3486 |
Private headers of netgen, needed to build certain netgen based software
|
|
|
8fe3486 |
packages.
|
|
|
8fe3486 |
|
|
|
a712cc0 |
%package -n python3-%{name}
|
|
|
a712cc0 |
Summary: Python3 interface for netgen
|
|
|
a712cc0 |
%{?python_provide:%python_provide python3-netgen}
|
|
|
a712cc0 |
Requires: %{name}-openmpi-libs%{?_isa} = %{version}-%{release}
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%description -n python3-%{name}
|
|
|
a712cc0 |
Python3 interface for netgen.
|
|
|
a712cc0 |
|
|
|
8fe3486 |
###############################################################################
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package openmpi
|
|
|
8fe3486 |
Summary: Netgen compiled against openmpi
|
|
|
8fe3486 |
# Require explicitly for dir ownership and to guarantee the pickup of the right runtime
|
|
|
8fe3486 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
8fe3486 |
Requires: %{name}-openmpi-libs%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description openmpi
|
|
|
8fe3486 |
Netgen compiled against openmpi.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package openmpi-libs
|
|
|
8fe3486 |
Summary: Netgen libraries compiled against openmpi
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description openmpi-libs
|
|
|
8fe3486 |
Netgen libraries compiled against openmpi.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package openmpi-devel
|
|
|
8fe3486 |
Summary: Development files for Netgen compiled against openmpi
|
|
|
8fe3486 |
# Require explicitly for dir ownership
|
|
|
8fe3486 |
Requires: openmpi-devel
|
|
|
8fe3486 |
Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description openmpi-devel
|
|
|
8fe3486 |
Development files for Netgen compiled against openmpi.
|
|
|
8fe3486 |
|
|
|
a712cc0 |
%package -n python3-%{name}-openmpi
|
|
|
a712cc0 |
Summary: Python3 interface for netgen compiled against openmpi
|
|
|
a712cc0 |
%{?python_provide:%python_provide python3-netgen-openmpi}
|
|
|
a712cc0 |
Requires: %{name}-openmpi-libs%{?_isa} = %{version}-%{release}
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%description -n python3-%{name}-openmpi
|
|
|
a712cc0 |
Python3 interface for netgen compiled against openmpi.
|
|
|
a712cc0 |
|
|
|
8fe3486 |
###############################################################################
|
|
|
8fe3486 |
|
|
|
ee6db90 |
%if %{build_mpich}
|
|
|
8fe3486 |
%package mpich
|
|
|
8fe3486 |
Summary: Netgen compiled against mpich
|
|
|
8fe3486 |
# Require explicitly for dir ownership and to guarantee the pickup of the right runtime
|
|
|
8fe3486 |
Requires: %{name}-common = %{version}-%{release}
|
|
|
8fe3486 |
Requires: %{name}-mpich-libs%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description mpich
|
|
|
8fe3486 |
Netgen compiled against mpich.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package mpich-libs
|
|
|
8fe3486 |
Summary: Netgen libraries compiled against mpich
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description mpich-libs
|
|
|
8fe3486 |
Netgen libraries compiled against mpich.
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%package mpich-devel
|
|
|
8fe3486 |
Summary: Development files for Netgen compiled against mpich
|
|
|
8fe3486 |
# Require explicitly for dir ownership
|
|
|
8fe3486 |
Requires: mpich-devel
|
|
|
8fe3486 |
Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%description mpich-devel
|
|
|
8fe3486 |
Development files for Netgen compiled against mpich.
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%package -n python3-%{name}-mpich
|
|
|
a712cc0 |
Summary: Python3 interface for netgen compiled against mpich
|
|
|
a712cc0 |
%{?python_provide:%python_provide python3-netgen-mpich}
|
|
|
a712cc0 |
Requires: %{name}-openmpi-libs%{?_isa} = %{version}-%{release}
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%description -n python3-%{name}-mpich
|
|
|
a712cc0 |
Python3 interface for netgen compiled against mpich.
|
|
|
a712cc0 |
|
|
|
ee6db90 |
%endif
|
|
|
8fe3486 |
|
|
|
8fe3486 |
###############################################################################
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%prep
|
|
|
a712cc0 |
%autosetup -p1 -n netgen-mesher-git-%{commit}
|
|
|
accac45 |
|
|
|
a712cc0 |
# Remove bundled togl
|
|
|
a712cc0 |
rm -rf ng/Togl-1.7
|
|
|
a712cc0 |
rm -rf ng/Togl2.1
|
|
|
a712cc0 |
rm -f ng/togl_1_7.h
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%build
|
|
|
8fe3486 |
### serial version ###
|
|
|
8fe3486 |
mkdir serial
|
|
|
8fe3486 |
(cd serial
|
|
|
a712cc0 |
%cmake -DINSTALL_DIR=%{_prefix} \
|
|
|
a712cc0 |
-DUSE_NATIVE_ARCH=OFF \
|
|
|
a712cc0 |
-DINCDIR=%{_includedir}/%{name} \
|
|
|
a712cc0 |
-DUSE_JPEG=1 -DUSE_OCC=1 \
|
|
|
a712cc0 |
-DPYBIND_INCLUDE_DIR=%{_includedir} \
|
|
|
c447a70 |
-DLIBTOGL=%{_libdir}/libTogl%{togl_ver}.so \
|
|
|
c447a70 |
-DOpenGL_GL_PREFERENCE=GLVND \
|
|
|
c447a70 |
..
|
|
|
a712cc0 |
%make_build
|
|
|
8fe3486 |
)
|
|
|
8fe3486 |
|
|
|
8fe3486 |
### openmpi version ###
|
|
|
8fe3486 |
%{_openmpi_load}
|
|
|
8fe3486 |
export CXX=mpicxx
|
|
|
8fe3486 |
mkdir openmpi
|
|
|
8fe3486 |
(cd openmpi
|
|
|
a712cc0 |
%cmake -DINSTALL_DIR=%{_prefix} \
|
|
|
a712cc0 |
-DUSE_NATIVE_ARCH=OFF \
|
|
|
a712cc0 |
-DINCDIR=%{_includedir}/openmpi/%{name} \
|
|
|
a712cc0 |
-DBINDIR=%{_libdir}/openmpi/bin/ \
|
|
|
a712cc0 |
-DLIBDIR=%{_libdir}/openmpi/lib/ \
|
|
|
a712cc0 |
-DPYTHON_PACKAGES_INSTALL_DIR=%{_libdir}/openmpi/python%{python3_version}/site-packages \
|
|
|
a712cc0 |
-DUSE_JPEG=1 -DUSE_OCC=1 -DUSE_MPI=1 \
|
|
|
a712cc0 |
-DPYBIND_INCLUDE_DIR=%{_includedir} \
|
|
|
a712cc0 |
-DLIBTOGL=%{_libdir}/libTogl%{togl_ver}.so ..
|
|
|
a712cc0 |
%make_build
|
|
|
8fe3486 |
)
|
|
|
8fe3486 |
%{_openmpi_unload}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
### mpich version ###
|
|
|
ee6db90 |
%if %{build_mpich}
|
|
|
8fe3486 |
%{_mpich_load}
|
|
|
8fe3486 |
export CXX=mpicxx
|
|
|
8fe3486 |
mkdir mpich
|
|
|
8fe3486 |
(cd mpich
|
|
|
a712cc0 |
%cmake -DINSTALL_DIR=%{_prefix} \
|
|
|
a712cc0 |
-DUSE_NATIVE_ARCH=OFF \
|
|
|
a712cc0 |
-DINCDIR=%{_includedir}/mpich/%{name} \
|
|
|
a712cc0 |
-DBINDIR=%{_libdir}/mpich/bin/ \
|
|
|
a712cc0 |
-DLIBDIR=%{_libdir}/mpich/lib/ \
|
|
|
a712cc0 |
-DPYTHON_PACKAGES_INSTALL_DIR=%{_libdir}/mpich/python%{python3_version}/site-packages \
|
|
|
a712cc0 |
-DUSE_JPEG=1 -DUSE_OCC=1 -DUSE_MPI=1 \
|
|
|
a712cc0 |
-DPYBIND_INCLUDE_DIR=%{_includedir} \
|
|
|
a712cc0 |
-DLIBTOGL=%{_libdir}/libTogl%{togl_ver}.so ..
|
|
|
a712cc0 |
%make_build
|
|
|
8fe3486 |
)
|
|
|
8fe3486 |
%{_mpich_unload}
|
|
|
ee6db90 |
%endif
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%install
|
|
|
8fe3486 |
%define writepkgconfig() \
|
|
|
8fe3486 |
install -d -m 0755 %{buildroot}/$MPI_LIB/pkgconfig; \
|
|
|
8fe3486 |
cat > %{buildroot}/$MPI_LIB/pkgconfig/%{name}.pc << EOF\
|
|
|
8fe3486 |
prefix=%{_prefix}\
|
|
|
8fe3486 |
exec_prefix=${prefix}\
|
|
|
8fe3486 |
libdir=$MPI_LIB\
|
|
|
8fe3486 |
includedir=$MPI_INCLUDE/%{name}\
|
|
|
8fe3486 |
\
|
|
|
8fe3486 |
Name: %{name}\
|
|
|
8fe3486 |
Description: %{summary}\
|
|
|
8fe3486 |
Version: %{version}\
|
|
|
09745f5 |
Libs: -L\\\${libdir} -lnglib\
|
|
|
8fe3486 |
Libs.private: -lngcgs -lnggeom2d -lngmesh -lngocc -lngstl\
|
|
|
09745f5 |
Cflags: -I\\\${includedir}\
|
|
|
8fe3486 |
EOF\
|
|
|
8fe3486 |
%{nil}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
### openmpi version ###
|
|
|
8fe3486 |
%{_openmpi_load}
|
|
|
8fe3486 |
%make_install -C openmpi
|
|
|
8fe3486 |
%writepkgconfig
|
|
|
8fe3486 |
# Avoid conflicts with netgen, remove data files (are correctly installed below)
|
|
|
a712cc0 |
rm -f %{buildroot}/$MPI_BIN/*.tcl
|
|
|
a712cc0 |
rm -f %{buildroot}/$MPI_BIN/*.ocf
|
|
|
8fe3486 |
%{_openmpi_unload}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
### mpich version ###
|
|
|
ee6db90 |
%if %{build_mpich}
|
|
|
8fe3486 |
%{_mpich_load}
|
|
|
8fe3486 |
%make_install -C mpich
|
|
|
8fe3486 |
%writepkgconfig
|
|
|
8fe3486 |
# Avoid conflicts with netgen, remove data files (are correctly installed below)
|
|
|
a712cc0 |
rm -f %{buildroot}/$MPI_BIN/*.tcl
|
|
|
a712cc0 |
rm -f %{buildroot}/$MPI_BIN/*.ocf
|
|
|
8fe3486 |
%{_mpich_unload}
|
|
|
ee6db90 |
%endif
|
|
|
8fe3486 |
|
|
|
8fe3486 |
### serial version ###
|
|
|
8fe3486 |
%make_install -C serial
|
|
|
8fe3486 |
export MPI_LIB=%{_libdir}
|
|
|
8fe3486 |
export MPI_INCLUDE=%{_includedir}
|
|
|
8fe3486 |
%writepkgconfig
|
|
|
c447a70 |
# move data files to correct place
|
|
|
8fe3486 |
mv %{buildroot}%{_bindir}/*.tcl %{buildroot}%{_bindir}/*.ocf %{buildroot}%{_datadir}/%{name}
|
|
|
8fe3486 |
chmod -x %{buildroot}%{_datadir}/%{name}/*.tcl %{buildroot}%{_datadir}/%{name}/*.ocf
|
|
|
8fe3486 |
|
|
|
8fe3486 |
# Install icon and desktop file
|
|
|
8fe3486 |
install -Dpm 0644 %SOURCE1 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
8fe3486 |
desktop-file-install --dir %{buildroot}/%{_datadir}/applications/ %SOURCE2
|
|
|
8fe3486 |
|
|
|
8fe3486 |
# Delete the doc folder, the files are in %%doc below
|
|
|
a712cc0 |
rm -rf %{buildroot}/%{_prefix}/doc
|
|
|
8fe3486 |
|
|
|
8fe3486 |
# Install private headers
|
|
|
8fe3486 |
(
|
|
|
8fe3486 |
cd libsrc
|
|
|
8fe3486 |
find \( -name *.hpp -or -name *.hxx -or -name *.h -or -name *.ixx -or -name *.jxx \) -exec install -Dpm 0644 {} %{buildroot}%{_includedir}/%{name}/private/{} \;
|
|
|
8fe3486 |
)
|
|
|
8fe3486 |
|
|
|
2111588 |
# Install the nglib.h header
|
|
|
2111588 |
install -Dpm 0644 nglib/nglib.h %{buildroot}%{_includedir}/%{name}/nglib.h
|
|
|
2111588 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%post common
|
|
|
8fe3486 |
update-desktop-database &> /dev/null || :
|
|
|
8fe3486 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%postun common
|
|
|
8fe3486 |
update-desktop-database &> /dev/null || :
|
|
|
8fe3486 |
if [ $1 -eq 0 ] ; then
|
|
|
8fe3486 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
8fe3486 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8fe3486 |
fi
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%posttrans common
|
|
|
8fe3486 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%post libs -p /sbin/ldconfig
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%postun libs -p /sbin/ldconfig
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%post openmpi-libs -p /sbin/ldconfig
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%postun openmpi-libs -p /sbin/ldconfig
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
ee6db90 |
%if %{build_mpich}
|
|
|
8fe3486 |
%post mpich-libs -p /sbin/ldconfig
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%postun mpich-libs -p /sbin/ldconfig
|
|
|
ee6db90 |
%endif
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files common
|
|
|
8fe3486 |
%doc AUTHORS doc/ng4.pdf
|
|
|
a712cc0 |
%license LICENSE
|
|
|
8fe3486 |
%{_datadir}/%{name}/
|
|
|
8fe3486 |
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
8fe3486 |
%{_datadir}/applications/%{name}.desktop
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files
|
|
|
8fe3486 |
%{_bindir}/*
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files libs
|
|
|
8fe3486 |
%{_libdir}/*.so.*
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files devel
|
|
|
8fe3486 |
%{_includedir}/%{name}
|
|
|
8fe3486 |
%exclude %{_includedir}/%{name}/private
|
|
|
8fe3486 |
%{_libdir}/*.so
|
|
|
a712cc0 |
%exclude %{_libdir}/libngpy.so
|
|
|
8fe3486 |
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
a712cc0 |
%{_datadir}/cmake/*.cmake
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files devel-private
|
|
|
8fe3486 |
%{_includedir}/%{name}/private
|
|
|
8fe3486 |
|
|
|
a712cc0 |
%files -n python3-%{name}
|
|
|
a712cc0 |
%{python3_sitearch}/netgen/
|
|
|
a712cc0 |
%{_libdir}/libngpy.so
|
|
|
a712cc0 |
|
|
|
8fe3486 |
%files openmpi
|
|
|
8fe3486 |
%{_libdir}/openmpi/bin/*
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files openmpi-libs
|
|
|
8fe3486 |
%{_libdir}/openmpi/lib/*.so.*
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files openmpi-devel
|
|
|
8fe3486 |
%{_includedir}/openmpi*/%{name}
|
|
|
8fe3486 |
%{_libdir}/openmpi/lib/*.so
|
|
|
a712cc0 |
%exclude %{_libdir}/openmpi/lib/libngpy.so
|
|
|
8fe3486 |
%{_libdir}/openmpi/lib/pkgconfig/%{name}.pc
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%files -n python3-%{name}-openmpi
|
|
|
a712cc0 |
%{_libdir}/openmpi/python%{python3_version}/site-packages/netgen/
|
|
|
a712cc0 |
%{_libdir}/openmpi/lib/libngpy.so
|
|
|
8fe3486 |
|
|
|
ee6db90 |
%if %{build_mpich}
|
|
|
8fe3486 |
%files mpich
|
|
|
8fe3486 |
%{_libdir}/mpich/bin/*
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files mpich-libs
|
|
|
8fe3486 |
%{_libdir}/mpich/lib/*.so.*
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%files mpich-devel
|
|
|
8fe3486 |
%{_includedir}/mpich*/%{name}
|
|
|
8fe3486 |
%{_libdir}/mpich/lib/*.so
|
|
|
a712cc0 |
%exclude %{_libdir}/mpich/lib/libngpy.so
|
|
|
8fe3486 |
%{_libdir}/mpich/lib/pkgconfig/%{name}.pc
|
|
|
a712cc0 |
|
|
|
a712cc0 |
%files -n python3-%{name}-mpich
|
|
|
a712cc0 |
%{_libdir}/mpich/python%{python3_version}/site-packages/netgen/
|
|
|
a712cc0 |
%{_libdir}/mpich/lib/libngpy.so
|
|
|
ee6db90 |
%endif
|
|
|
8fe3486 |
|
|
|
8fe3486 |
|
|
|
8fe3486 |
%changelog
|
|
|
c447a70 |
* Wed May 02 2018 Sandro Mani <manisandro@gmail.com> - 6.2-0.5.git94fd571
|
|
|
c447a70 |
- Rename netgen binary at CMake level to prevent breaking cmake config module (#1573330)
|
|
|
c447a70 |
|
|
|
3f296b3 |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.2-0.4.git94fd571
|
|
|
3f296b3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
3f296b3 |
|
|
|
69865db |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.2-0.3.git94fd571
|
|
|
69865db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
69865db |
|
|
|
2111588 |
* Thu May 11 2017 Sandro Mani <manisandro@gmail.com> - 6.2.0-0.2.git94fd571
|
|
|
2111588 |
- Install the nglib.h header
|
|
|
2111588 |
|
|
|
2111588 |
* Thu May 11 2017 Sandro Mani <manisandro@gmail.com> - 6.2.0-0.1.git94fd571
|
|
|
2111588 |
- Update to 6.2.0 snapshot
|
|
|
a712cc0 |
|
|
|
394db49 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-13
|
|
|
394db49 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
394db49 |
|
|
Orion Poplawski |
d56fa9b |
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 5.3.1-12
|
|
Orion Poplawski |
d56fa9b |
- Rebuild for openmpi 2.0
|
|
Orion Poplawski |
d56fa9b |
|
|
|
2d5105f |
* Thu Apr 7 2016 Richard Shaw <hobbes1069@gmail.com> - 5.3.1-11
|
|
|
2d5105f |
- Rebuild for updated OCE.
|
|
|
2d5105f |
|
|
|
5dde4b4 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.1-10
|
|
|
5dde4b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5dde4b4 |
|
|
Orion Poplawski |
bf29ee6 |
* Tue Sep 15 2015 Orion Poplawski <orion@cora.nwra.com> - 5.3.1-9
|
|
Orion Poplawski |
bf29ee6 |
- Rebuild for openmpi 1.10.0
|
|
Orion Poplawski |
bf29ee6 |
|
|
|
4134b03 |
* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.3.1-8
|
|
|
4134b03 |
- Rebuild for MPI provides
|
|
|
4134b03 |
|
|
|
bcf3f99 |
* Sun Jul 26 2015 Sandro Mani <manisandro@gmail.com> - 5.3.1-7
|
|
|
bcf3f99 |
- Rebuild for RPM MPI Requires Provides Change
|
|
|
bcf3f99 |
|
|
|
236b8fb |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-6
|
|
|
236b8fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
236b8fb |
|
|
|
4908630 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 5.3.1-5
|
|
|
4908630 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
4908630 |
|
|
|
f7bd688 |
* Thu Mar 12 2015 Sandro Mani <manisandro@gmail.com> - 5.3.1-4
|
|
|
f7bd688 |
- Rebuild (GCC5 ABI change)
|
|
|
f7bd688 |
|
|
|
627faf1 |
* Sat Dec 13 2014 Sandro Mani <manisandro@gmail.com> - 5.3.1-3
|
|
|
627faf1 |
- Fix library in -devel package
|
|
|
627faf1 |
|
|
|
679c1a8 |
* Tue Oct 07 2014 Sandro Mani <manisandro@gmail.com> - 5.3.1-2
|
|
|
679c1a8 |
- Fix soname, use -release instead of -version-info
|
|
|
679c1a8 |
|
|
|
1acaccb |
* Mon Oct 06 2014 Sandro Mani <manisandro@gmail.com> - 5.3.1-1
|
|
|
1acaccb |
- Update to 5.3.1
|
|
|
1acaccb |
|
|
|
accac45 |
* Mon Sep 01 2014 Sandro Mani <manisandro@gmail.com> - 5.3.0-1
|
|
|
accac45 |
- Update to 5.3.0
|
|
|
accac45 |
|
|
|
7890d57 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1-11
|
|
|
7890d57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
7890d57 |
|
|
|
d714f69 |
* Tue Jul 29 2014 Sandro Mani <manisandro@gmail.com> - 5.1-10
|
|
|
d714f69 |
- Rebuild (OCE)
|
|
|
d714f69 |
|
|
|
86651b3 |
* Thu Jun 19 2014 Sandro Mani <manisandro@gmail.com> - 5.1-9
|
|
|
86651b3 |
- Add missing mpich-devel BR
|
|
|
86651b3 |
|
|
|
09745f5 |
* Thu Jun 19 2014 Sandro Mani <manisandro@gmail.com> - 5.1-8
|
|
|
09745f5 |
- Fix escaping of pkg-config variables
|
|
|
09745f5 |
|
|
|
8fe3486 |
* Sat Jun 14 2014 Sandro Mani <manisandro@gmail.com> - 5.1-7
|
|
|
8fe3486 |
- Rename subpackage private -> devel-private
|
|
|
8fe3486 |
|
|
|
8fe3486 |
* Sat Jun 14 2014 Sandro Mani <manisandro@gmail.com> - 5.1-6
|
|
|
8fe3486 |
- Add netgen-5.1_relative-includes.patch
|
|
|
8fe3486 |
|
|
|
8fe3486 |
* Sat Jun 14 2014 Sandro Mani <manisandro@gmail.com> - 5.1-5
|
|
|
8fe3486 |
- Add subpackage for private headers
|
|
|
8fe3486 |
- Add patches from salome
|
|
|
8fe3486 |
- Make common package noarch
|
|
|
8fe3486 |
- Add missing %%{?_isa}
|
|
|
8fe3486 |
|
|
|
8fe3486 |
* Fri Jun 13 2014 Sandro Mani <manisandro@gmail.com> - 5.1-4
|
|
|
8fe3486 |
- Update netgen-5.1_build.patch
|
|
|
8fe3486 |
- Add netgen-5.1_msc-ver.patch
|
|
|
8fe3486 |
|
|
|
8fe3486 |
* Thu Jun 12 2014 Sandro Mani <manisandro@gmail.com> - 5.1-3
|
|
|
8fe3486 |
- Fix libgnlib soname
|
|
|
8fe3486 |
|
|
|
8fe3486 |
* Thu Jun 12 2014 Sandro Mani <manisandro@gmail.com> - 5.1-2
|
|
|
8fe3486 |
- Split off libraries in libs subpackages
|
|
|
8fe3486 |
- Rename shared libraries to less generic names
|
|
|
8fe3486 |
|
|
|
8fe3486 |
* Thu Jun 12 2014 Sandro Mani <manisandro@gmail.com> - 5.1-1
|
|
|
8fe3486 |
- Initial package
|