Package getfemxx: 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 | %define rname getfem Name: getfemxx Version: 4.1 Release: alt1.2 %setup_python_module getfem Group: Development/C++ Summary: Generic and efficient C++ library for finite element methods Url: http://home.gna.org/getfem/ License: LGPLv2+ Packager: Sergey V Turchin <zerg at altlinux dot org> Requires: lib%name = %version-%release Provides: %rname = %version-%release Obsoletes: %rname < %version-%release Source0: http://download.gna.org/getfem/stable/getfem-%version.tar.gz Patch1: getfem++-3.1-alt-gcc44.patch # Automatically added by buildreq on Wed Aug 26 2009 (-bi) #BuildRequires: boost-devel gcc-c++ gcc-fortran glibc-devel-static libatlas-devel BuildRequires: boost-devel gcc-c++ gcc-fortran glibc-devel-static libnumpy-devel BuildPreReq: libqhull-devel libmuparser-devel libmumps-devel BuildPreReq: liblapack-devel %description The Getfem++ project focuses on the development of a generic and efficient C++ library for finite element methods. The goal is to provide a library allowing the computation of any elementary matrix (even for mixed finite element methods) on the largest class of methods and elements, and for arbitrary dimension (i.e. not only 2D and 3D problems). %package -n lib%name Group: System/Libraries Summary: %rname library %description -n lib%name %rname library %package -n python-module-getfem Summary: Python bindings to %name Group: Development/Python Requires: lib%name = %version-%release %description -n python-module-getfem Python bindings to %name %prep %setup -q -n %rname-%version #%patch1 -p1 %autoreconf %build %add_optflags -fno-strict-aliasing export CFLAGS="%optflags" CXXFLAGS="%optflags" %configure \ --disable-static \ --enable-shared \ --enable-boost \ --enable-mumps \ --enable-qhull \ --with-blas=goto2 \ --with-pic \ --with-matlab-toolbox-dir=%_datadir/getfem_toolbox CUT_CFLAGS=`grep "^CXXFLAGS" Makefile | head -n 1| sed "s|^CXXFLAGS[[:space:]][[:space:]]*=||"` %make CFLAGS="$CUT_CFLAGS" %install %make DESTDIR=%buildroot install %ifarch x86_64 mv %buildroot%python_sitelibdir_noarch/getfem/* \ %buildroot%python_sitelibdir/getfem/ %endif %files %doc README NEWS BUGS AUTHORS %_datadir/getfem_toolbox %_bindir/getfem-config %_includedir/getfem %_includedir/getfem_boost %_includedir/gmm %_libdir/*.so %files -n lib%name %_libdir/*.so.* %files -n python-module-getfem %python_sitelibdir/getfem %changelog * Thu May 05 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt1.2 - Rebuilt with qhull 2011.1 * Wed Apr 13 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt1.1 - Built with GotoBLAS2 instead of ATLAS * Thu Aug 26 2010 Sergey V Turchin <zerg@altlinux.org> 4.1-alt1 - new version * Fri Jul 16 2010 Sergey V Turchin <zerg@altlinux.org> 4.0.0-alt0.M51.1 - built for M51 * Mon Jan 18 2010 Sergey V Turchin <zerg@altlinux.org> 4.0.0-alt1 - new version * Wed Aug 26 2009 Sergey V Turchin <zerg@altlinux.org> 3.1-alt2 - fix compile with gcc-4.4 * Thu Oct 16 2008 Sergey V Turchin <zerg at altlinux dot org> 3.1-alt1 - initial specfile |