Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Rotkraut:Attic
netgen
netgen.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File netgen.spec of Package netgen
%define _includedir %_prefix/include/netgen Name: netgen Summary: An automatic 3d tetrahedral mesh generator Version: 4.9.13 Release: 1 License: LGPL Group: Productivity/Scientific/Math URL: http://sourceforge.net/projects/netgen-mesher/ Source0: http://downloads.sourceforge.net/project/netgen-mesher/netgen-mesher/4.9.13/netgen-4.9.13.tar.gz Patch0: netgen-ngdirfix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++ BuildRequires: togl tix tcl-devel tk-devel BuildRequires: Mesa-devel libjpeg-devel BuildRequires: OpenCASCADE-devel %description NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement. Authors: -------- Joachim Schöberl %package devel Summary: An automatic 3d tetrahedral mesh generator Requires: %name Requires: gcc-c++ Requires: togl tix tcl-devel tk-devel Requires: Mesa-devel libjpeg-devel Requires: OpenCASCADE-devel Group: Development/Libraries/C and C++ %description devel NETGEN is an automatic 3d tetrahedral mesh generator. It accepts input from constructive solid geometry (CSG) or boundary representation (BRep) from STL file format. The connection to a geometry kernel allows the handling of IGES and STEP files. NETGEN contains modules for mesh optimization and hierarchical mesh refinement. This package contains the header file and the static library as needed for development. Authors: -------- Joachim Schöberl %prep %setup -q %patch0 %build export CFLAGS="$RPM_OPT_FLAGS -DNGDIR=\\\"%{tclscriptdir}/netgen\\\"" export CXXFLAGS="$RPM_OPT_FLAGS -DNGDIR=\\\"%{tclscriptdir}/netgen\\\"" export LDFLAGS="-L/opt/OpenCASCADE/%_lib/opencas" %configure \ --enable-static \ --enable-shared \ --enable-occ \ --with-occ=/opt/OpenCASCADE \ --enable-nglib \ --enable-jpeglib %__make %{?_smp_mflags} %install %makeinstall %__mkdir_p %{buildroot}%{tclscriptdir}/netgen %__mv %{buildroot}%{_bindir}/*.tcl %{buildroot}%{tclscriptdir}/netgen %__mv %{buildroot}%{_bindir}/*.ocf %{buildroot}%{tclscriptdir}/netgen %__chmod -x %{buildroot}%{tclscriptdir}/netgen/* %__rm -f %{buildroot}%{_datadir}/doc/netgen/ng4.pdf %__rm -f %{buildroot}%{_libdir}/*.la %clean %__rm -rf %buildroot %files %defattr(-,root,root) %doc doc/ng4.pdf %_bindir/* %_libdir/libnglib.so %{tclscriptdir}/netgen %{_datadir}/netgen %files devel %defattr(-,root,root) %_includedir %_libdir/libnglib.a %changelog * Tue Nov 16 2010 rolf@rotkraut.de - Initial package (4.9.13)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor