Skip to content
Snippets Groups Projects
Select Git revision
  • c4aadd6fe0be65a974c20ab9b7c86ea8212b6e4a
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

gmsh-gpl.spec

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    gmsh-gpl.spec 1.56 KiB
    Summary: A 3D mesh generator with pre- and post-processing facilities
    Name: gmsh
    # Version: 1.0
    Version: %{gmshversion}
    Source: gmsh-%{version}.tar.gz
    Release: 1
    Copyright: GPL
    Group: Applications/Engineering
    URL: http://www.geuz.org/gmsh/
    Packager: geuz@geuz.org
    Buildroot: /var/tmp/%{name}-buildroot
    Requires: Mesa >= 3.2
    Prefix: /usr
    
    %description 
    Gmsh is an automatic three-dimensional finite element mesh generator,
    primarily Delaunay, with built-in pre- and post-processing
    facilities. Its primal goal is to provide a simple meshing tool for
    academic test cases with parametric input and up to date visualization
    capabilities.  One of the strengths of Gmsh is its ability to respect
    a characteristic length field for the generation of adapted meshes on
    lines, surfaces and volumes. Gmsh requires OpenGL (or Mesa) to be
    installed on your system.
    
    Install Gmsh if you need a simple 3D finite element mesh generator
    and/or post-processor.
    
    %prep
    
    %setup -c -q
    
    %build
    make distrib-linux-gcc-2.95
    make utilities
    rm -rf CVS */CVS */*/CVS
    
    %install
    rm -rf $RPM_BUILD_ROOT
    mkdir -p $RPM_BUILD_ROOT/usr/bin
    mkdir -p $RPM_BUILD_ROOT/usr/man/man1
    
    install -m 755 bin/gmsh $RPM_BUILD_ROOT/usr/bin/gmsh
    install -m 755 bin/gmsh-batch $RPM_BUILD_ROOT/usr/bin/gmsh-batch
    install -m 755 bin/dxf2geo $RPM_BUILD_ROOT/usr/bin/dxf2geo
    install -m 644 doc/gmsh.1 $RPM_BUILD_ROOT/usr/man/man1/gmsh.1
    
    %clean
    rm -rf $RPM_BUILD_ROOT
    
    %files
    %defattr(-,root,root)
    %doc doc/COPYING doc/FORMATS doc/VERSIONS doc/FAQ doc/CONTRIBUTORS demos tutorial
    /usr/bin/gmsh
    /usr/bin/gmsh-batch
    /usr/bin/dxf2geo
    /usr/man/man1/gmsh*