this one compiled on OBS
[engrid.git] / src / OBS / engrid-1.2rc2.spec
blobef7eb82fbc66d6d99abecba83f5886f3a1a8d153
2 # This file and all modifications and additions to the pristine
3 # package are under the same license as the package itself.
6 # norootforbuild
8 Name: engrid
9 Version: 1.2rc2
10 Release: 1
11 Summary: open-source mesh generator for CFD
12 Group: Applications/Engineering
13 License: GPL
14 Url: http://engits.eu/engrid
15 Requires: libqt4 vtk vtk-qt netgen
16 BuildRequires: libqt4-devel vtk vtk-qt vtk-devel netgen netgen-devel
17 Source: http://files.engits.eu/engrid-1.2rc2.tar.gz
18 BuildRoot: %{_tmppath}/%{name}-%{version}-build
20 %description
22 %prep
23 %setup
25 %build
26 cd src
27 export CXXFLAGS="$RPM_OPT_FLAGS"
28 export VTKINCDIR=%_includedir/vtk
29 export VTKLIBDIR=%_libdir
30 qmake
31 make
33 %install
34 mkdir -p %buildroot/%_bindir
35 %__cp src/engrid %buildroot/%_bindir
37 %clean
38 rm -fr %buildroot
40 %files
41 %defattr(-,root,root)
42 %_bindir/engrid
44 %changelog