File elmerfem-meshgen2d.spec of Package elmerfem-meshgen2d
#
# spec file for package simri (Version 0.1a)
#
# Copyright (c) 2008 SuSE Linux AG, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bug fixes or comments via http://www.suse.de/feedback/
#
#
# rpm spec file for elmerfem
#
#
# WARNING WARNING WARNING!!! ElmerGUI is not included in this release
# but is an important part of upcoming work in
# Elmer!!!
#norootforbuild
BuildRequires: gcc-fortran gcc-c++
Summary: Finite Element Software for Multiphysical Problems
Name: elmerfem-meshgen2d
Version: svn.2009.01.06
#5.4.1
Release: 0.1a
License: GPL
Group: Science
Source: svnSnapShot.tar.gz
#5.4.1.tar.gz
URL: http://www.csc.fi/english/pages/elmer
Vendor: CSC
Packager: Karl Edler
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#Patch: 5.4.1.patch
%description
This includes the source code of the 2D Delaunay mesher.
#################################################
%prep
%setup -n svnSnapShot
#5.4.1
#%patch -p1
#chmod a+x -R *
#################################################
%build
export CC=gcc
export CXX=g++
export FC=gfortran
export F77=gfortran
cd meshgen2d
#./configure --prefix=%{buildroot}/usr/elmer
#make
chmod +x configure
%configure
%__make
cd ..
#################################################
%install
cd meshgen2d
#make install
%makeinstall
cd ..
#################################################
%files
%defattr(-,root,root)
/usr/bin/ElmerMesh2D
/usr/bin/Mesh2D