Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:sergioOpenCFD
scotch
scotch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scotch.spec of Package scotch
%define scotch_version 6.0.0 %define release_option 1 %define arch_option 64 Name: OpenFOAM-scotch Version: %{scotch_version} Release: %{release_option} Summary: Scotch package for openfoam License: CeCILL-C URL: http://www.openfoam.org Source0: scotch_%{scotch_version}.tar.gz Source1: Scotch_Makefile_%{arch_option}.inc BuildRequires: flex BuildRequires: bison BuildRequires: zlib-devel BuildRequires: openmpi-devel #Requires: %global _optdir /opt %define debug_package %{nil} %description Scotch package for OpenFOAM The CeCILL-C Free Software License can be found at: http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html %prep %setup -q -n scotch_%{scotch_version} cp ../../SOURCES/Scotch_Makefile_%{arch_option}.inc src/Makefile.inc %build cd %{_builddir}/scotch_%{scotch_version}/src # Fedora only! %if 0%{?fedora} module load mpi %endif make make ptscotch %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_optdir}/%{name}-%{version} mkdir -p %{buildroot}%{_optdir}/%{name}-%{version}/lib mkdir -p %{buildroot}%{_optdir}/%{name}-%{version}/include cp -p -r %{_builddir}/scotch_%{scotch_version}/lib/lib* %{buildroot}%{_optdir}/%{name}-%{version}/lib/ cp -p %{_builddir}/scotch_%{scotch_version}/include/* %{buildroot}%{_optdir}/%{name}-%{version}/include %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_optdir}/ %changelog * Wed May 23 2012 OpenFOAM Foundation %{scotch_version}-%{release} - Add 32-bit Makefile * Sat Dec 10 2011 OpenFOAM Foundation %{scotch_version}-1 - Initial version of the package
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