compatibility with Qt4.4
[engrid.git] / src / OBS / engrid-1.2rc1-1.spec
blobc6a58eac62b30848ac119c5358817bb3c612a7e5
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.2rc1
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 netgen
16 BuildRequires: libqt4-devel vtk vtk-devel netgen netgen-devel
17 Source: http://files.engits.eu/engrid-1.2rc1.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