Package freefemxx: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | %define mpiimpl openmpi %define mpidir %_libdir/%mpiimpl %define over 3.30 Name: freefemxx Version: 3.30 Release: alt1 Summary: Implementation of a language dedicated to the finite element method License: LGPL v2.1+ Group: Sciences/Mathematics Url: http://www.freefem.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Source: %name-%version.tar BuildPreReq: %mpiimpl-devel libarpack-devel BuildPreReq: liblapack-devel libfltk-devel libsuitesparse-devel BuildPreReq: libX11-devel libGL-devel libGLU-devel libgsl-devel BuildPreReq: libGLUT-devel flex libICE-devel libXpm-devel BuildPreReq: libfftw3-mpi-devel libtetgen-devel libmumps-devel BuildPreReq: libsuperlu-devel libblacs-devel libscalapack-devel BuildPreReq: libscotch-devel libparmetis-devel chrpath libXext-devel BuildPreReq: libsuperlu_dist-devel f2c libf2c-ng-devel libhypre-devel BuildPreReq: libparms-devel libpastix-devel libXxf86vm-devel BuildPreReq: mmg3d libmmg3d-devel libipopt-devel Conflicts: bamg %description FreeFem++ is an implementation of a language dedicated to the finite element method. It enables you to solve Partial Differential Equations (PDE) easily. Problems involving PDE from several branches of physics such as fluid-structure interactions require interpolations of data on several meshes and their manipulation within one program. FreeFem++ includes a fast quadtree-based interpolation algorithm and a language for the manipulation of data on multiple meshes (generated with bamg). %package examples Summary: Examples for FreeFem++ Group: Documentation BuildArch: noarch %description examples FreeFem++ is an implementation of a language dedicated to the finite element method. It enables you to solve Partial Differential Equations (PDE) easily. Problems involving PDE from several branches of physics such as fluid-structure interactions require interpolations of data on several meshes and their manipulation within one program. FreeFem++ includes a fast quadtree-based interpolation algorithm and a language for the manipulation of data on multiple meshes (generated with bamg). This package contains examples for FreeFem++. %package doc Summary: Documentation for FreeFem++ Group: Documentation BuildArch: noarch %description doc FreeFem++ is an implementation of a language dedicated to the finite element method. It enables you to solve Partial Differential Equations (PDE) easily. Problems involving PDE from several branches of physics such as fluid-structure interactions require interpolations of data on several meshes and their manipulation within one program. FreeFem++ includes a fast quadtree-based interpolation algorithm and a language for the manipulation of data on multiple meshes (generated with bamg). This package contains documentation for FreeFem++. %prep %setup for i in arpack blacs blas f2c fftw fltk hypre metis mumps parmetis \ parms pastix scalapack scotch superlu superludist tetgen umfpack do rm download/$i -fR done %build source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-rpath=%mpidir/lib -L%mpidir/lib" export MPIDIR=%mpidir INCS="-I%_includedir/suitesparse -I%mpidir/include" INCS="$INCS -I%mpidir/include/metis -I%_includedir/fftw3-mpi" INCS="$INCS -I%_includedir/openblas -I%_includedir/mmg3d" INCS="$INCS -include stdio.h -include mpi.h" %add_optflags $INCS -fno-strict-aliasing -fpermissive %autoreconf %configure \ %ifarch x86_64 --enable-m64 \ %else --enable-m32 \ %endif --enable-optim \ --with-x \ --enable-opengl \ --enable-default-fltk=yes \ --with-mpipath=%mpidir \ --with-mpi=openmpi \ --with-mpilibs="-L%mpidir/lib -lmpi_f90 -lmpi_cxx -lmpi -lopen-rte -lopen-pal -lutil" \ --with-mpilibsc="-L%mpidir/lib -lmpi -lopen-rte -lopen-pal -lutil" \ --with-mpiinc="-I%mpidir/include" \ --with-blas="-lopenblas" \ --with-lapack="-llapack" \ --with-arpack="-larpack_LINUX -L%mpidir/lib -lmpi_cxx" \ --with-amd="-lamd" \ --with-umfpack="-lumfpack" \ --without-cadna %make %install source %mpidir/bin/mpivars.sh export OMPI_LDFLAGS="-Wl,--as-needed,-rpath=%mpidir/lib -L%mpidir/lib" export MPIDIR=%mpidir %makeinstall_std #chrpath -r %mpidir/lib %buildroot%_bindir/FreeFem++-mpi %files %doc AUTHORS BUGS ChangeLog COPYING HISTORY* INNOVATION TODO NEWS README %_bindir/* %files examples %dir %_datadir/freefem++ %dir %_datadir/freefem++/%over %_datadir/freefem++/%over/examples* %_datadir/freefem++/%over/*.zip %files doc %doc DOC/*.pdf %changelog * Thu May 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.30-alt1 - Version 3.30 * Wed Nov 13 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.25-alt1 - Version 3.25 * Fri Jun 21 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.23-alt1 - Version 3.23 * Tue Oct 02 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.19_1-alt2 - Fixed build with gcc 4.7 * Wed Aug 15 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.19_1-alt1 - Version 3.19-1 * Thu Jul 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.18-alt2 - Rebuilt with OpenMPI 1.6 * Fri Jan 27 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.18-alt1 - Version 3.18 * Thu Dec 01 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.17-alt1 - Version 3.17 * Mon Sep 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.14-alt1 - Version 3.14 * Mon Apr 11 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.12-alt4 - Built with GotoBLAS2 instead of ATLAS * Fri Mar 18 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.12-alt3 - Rebuilt with shared libfftw3-mpi * Wed Mar 09 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.12-alt2 - Fixed build * Mon Feb 21 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.12-alt1 - Initial build for Sisyphus |