Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MadCAD:salome
opencascade
opencascade.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opencascade.spec of Package opencascade
Name: opencascade URL: http://www.opencascade.org/ Version: 6.2.0 Release: 1 License: LGPL-like, see http://www.opencascade.org/occ/license/ Source: CAS-6.2.tar.gz Group: Productivity/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: automake BuildRequires: Mesa-devel BuildRequires: compat BuildRequires: bison BuildRequires: java-1_5_0-gcj-compat-devel BuildRequires: xorg-x11-devel BuildRequires: libtool BuildRequires: xorg-x11-libXmu-devel BuildRequires: tcl-devel BuildRequires: tk-devel Summary: OpenCASCADE CAE platform %description OpenCASCADE is a suite for 3D surface and solid modeling, visualization, data exchange and rapid application development. It is an excellent platform for development of numerical simulation software including CAD/CAM/CAE, AEC and GIS, as well as PDM applications. %prep %setup -n CAS-6.2 %build export DISTRIBUTIVE_DIR=/usr/src/packages/BUILD/CAS-6.2/ export INSTALL_DIR=%buildroot/opt/OpenCASCADE export CFLAGS="${CFLAGS} -ffriend-injection" export CXXFLAGS="$CXXFLAGS -ffriend-injection -fpermissive" flags="--with-gl-include=/usr/include --with-gl-library=/usr/lib" flags="$flags --with-xmu-include=/usr/include/X11" flags="$flags --with-xmu-library=/usr/lib" flags="$flags LDFLAGS=-lpthread" flags="$flags --disable-debug --enable-production" %configure $flags --prefix=${INSTALL_DIR} make %install %makeinstall #Coping includes step cd ${DISTRIBUTIVE_DIR} cp -fr inc ${INSTALL_DIR} cp -f config.h ${INSTALL_DIR} cd ${INSTALL_DIR}/inc; ln -fs ../config.h config.h #Coping resources step mkdir ${INSTALL_DIR}/src cp -rp src/UnitsAPI ${INSTALL_DIR}/src cp -rp src/SHMessage ${INSTALL_DIR}/src cp -rp src/FontMFT ${INSTALL_DIR}/src cp -rp src/Textures ${INSTALL_DIR}/src cp -rp src/XSMessage ${INSTALL_DIR}/src cp -rp src/DrawResources ${INSTALL_DIR}/src cp -rp src/OS ${INSTALL_DIR}/src cp -rp src/StdResource ${INSTALL_DIR}/src cp -rp src/WOKBuilderDef ${INSTALL_DIR}/src cp -rp src/WOKEntityDef ${INSTALL_DIR}/src cp -rp src/WOKStepsDef ${INSTALL_DIR}/src cp -rp src/WOKTclLib ${INSTALL_DIR}/src cp -rp src/WOKsite ${INSTALL_DIR}/src cp -rp src/XSTEPResource ${INSTALL_DIR}/src #Creation of folder structure cd ${INSTALL_DIR}; mkdir -p Linux; cd Linux; ln -fs ../lib lib; ln -fs ../bin bin cd ${INSTALL_DIR}; mkdir -p lin; cd lin; ln -fs ../lib lib; ln -fs ../bin bin #Coping of environment file for Open CASCADE Draw Test Harness launching cd ${DISTRIBUTIVE_DIR} cp -f env_DRAW.sh ${INSTALL_DIR} # Write a proper %%files section and remove these two commands and # the '-f filelist' option to %%files echo '%%defattr(-,root,root)' >filelist find %buildroot -type f -printf '/%%P*\n' >>filelist %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean #rm -rf %buildroot %files -f filelist %defattr(-,root,root) # This is a place for a proper filelist: # /usr/bin/salome-kernel # You can also use shell wildcards: # /usr/share/salome-kernel/* # This installs documentation files from the top build directory # into /usr/share/doc/... # %doc README COPYING # The advantage of using a real filelist instead of the '-f filelist' trick is # that rpmbuild will detect if the install section forgets to install # something that is listed here %changelog * Wed Aug 06 2008 Vasiliy Astanin <v.astanin@gmail.com> - packaged opencascade version 6.2 using the buildservice
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