%global checkout 20111215git27294ff Name: HeeksCNC Version: 0.18.0 Release: 0.1.%{checkout}%{?dist} Summary: CAM add-on for HeeksCAD Group: Applications/Engineering License: BSD URL: https://github.com/Heeks/heekscnc #fedora-getsvn HeeksCNC https://github.com/Heeks/heekscnc.git/trunk HEAD Source0: %{name}-svnHEAD.tar.bz2 BuildRequires: cmake BuildRequires: HeeksCAD-devel %description Written in C++, HeeksCNC is an add-on for HeeksCAD. The user can add machining operations. These can then be output to NC code. The NC code is then shown as red and green lines on the screen. The NC code is generated using Python script, so it can be configured for different machines. HeeksCNC uses OpenCAMLib for the "Zig Zag" operation HeeksCNC uses libarea for the "Pocket" operation %prep %setup -q -n %{name} %build %{cmake} -DHeeksCadDir=%{_includedir}/HeeksCAD/ . make %{?_smp_mflags} CFLAGS="%{optflags}" %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm -f %{buildroot}/usr/lib/heekscnc/nc/iso_codes.py %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING README %{_datadir}/heekscnc /usr/lib/heekscnc /usr/lib/libheekscnc* %changelog * Mon Dec 19 2011 Chris Spike 0.18.0-0.1.20111215git27294ff - Initial version of the package