File HeeksCAD.spec of Package HeeksCAD

#
# spec file for HeeksCAD
#
# 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.

# norootforbuild

Name:           HeeksCAD
Summary:        HeeksCAD is a free, open source, CAD application
Version:        0.7.0svn401
Release:        1
License:        New BSD License
Group:          Productivity/Graphics/3D Editors
Url:            http://code.google.com/p/heekscad/
Vendor:         openSUSE-Education
BuildRequires:  make gcc gcc-c++
BuildRequires:  OpenCASCADE-devel wxGTK-devel gtkglext-devel
%if 0%{?suse_version}
BuildRequires:  fdupes
%endif
#Requires:
Source0:        heekscad.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
HeeksCAD is a free, open source
Functionality: Import solid models from STEP and IGES files.
Draw construction geomtery and lines and arcs.
Create new primitive solids, or make solids by extruding a sketch
or by making a lofted solid between sketches. Modify solids using
blending, or boolean operations. Save IGES, STEP and STL.
Printer plot the 2D geometry. Import and export dxf files;
only lines and arcs at the moment

The solid modelling is provided by OpenCASCADE.
The graphical user interface is made using wxWidgets.

It is possible to make Add-In modules, see HeeksCNC project.

Authors:  
--------  
   Dan Heeks <danheeks@gmail.com> 

%prep
%setup -q -n heekscad

%build
cd src
%__make %{?jobs:-j%{jobs}}

%install
# we have to check how to install it
# patches may be needed, because the
# binary file search any png files in
# a directory in the root folder and
# we do not want direcotries in %_bindir

%if 0%{?suse_version}
%fdupes -s %{buildroot}
%endif

%clean
rm -fr %buildroot

%files
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by