Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
mmg3d
mmg3d.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mmg3d.spec of Package mmg3d
# # spec file for package mmg3d # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mmg3d Version: 4.0 Release: 0 Summary: Anisotropic Tetrahedral Remesher/Moving Mesh Generation License: GPL-3.0 Group: Development/Libraries/C and C++ Url: http://www.math.u-bordeaux1.fr/~cdobrzyn/logiciels/mmg3d.php Source0: %{name}%{version}.tgz Patch0: mmg3d-4.0-soname.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: scotch-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description mmg3d is an anisotropic tetrahedral remesher/moving mesh generation library. Anisotropic mesh adaptation methods are revealed very efficient for CFD simulations. These methods allow to control the accuracy of numerical solution while simultaneously reducting the number of mesh vertices to a minimum. %package -n libmmg3dlib4 Summary: The Common Geometry Module Group: System/Libraries %description -n libmmg3dlib4 mmg3d is an anisotropic tetrahedral remesher/moving mesh generation library. Anisotropic mesh adaptation methods are revealed very efficient for CFD simulations. These methods allow to control the accuracy of numerical solution while simultaneously reducting the number of mesh vertices to a minimum. %package devel Summary: Development and header files for %{name} Group: Development/Libraries/C and C++ Requires: libmmg3dlib4 = %{version} Requires: scotch-devel %description devel The %{name}-devel package contains header files for developing applications that use %{name}. %prep %setup -q -n mmg3d4 %patch0 -p1 %build cd build cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DCOMPIL_SHARED_LIBRARY="ON" \ -DUSE_SCOTCH="ON" \ -DINCLUDE_SCOTCH=%{_includedir} -DLIBS_SCOTCH=-lscotch \ -DLIBS_SCOTCHERR=-lscotcherr \ . make %{?_smp_mflags} %install cd build mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_includedir} install -m755 mmg3d %{buildroot}%{_bindir}/mmg3d install -m755 libmmg3dlib.so.%{version} %{buildroot}%{_libdir} ln -s %{_libdir}/libmmg3dlib.so.%{version} %{buildroot}%{_libdir}/libmmg3dlib.so.4 ln -s %{_libdir}/libmmg3dlib.so.%{version} %{buildroot}%{_libdir}/libmmg3dlib.so install -m644 sources/*.h %{buildroot}%{_includedir} %clean rm -rf %{buildroot} %post -n libmmg3dlib4 -p /sbin/ldconfig %postun -n libmmg3dlib4 -p /sbin/ldconfig %files %defattr(-,root,root) %doc LICENCE.txt README.txt %{_bindir}/* %files -n libmmg3dlib4 %defattr(-,root,root) %doc LICENCE.txt README.txt %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so %changelog
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