]>
Commit | Line | Data |
---|---|---|
34be8232 AM |
1 | Summary: Enhanced Machine Controller |
2 | Name: emc | |
3 | Version: 2.0.5 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Networking/Utilities | |
7 | Source0: http://dl.sourceforge.net/emc/%{name}%{version}.tar.gz | |
8 | # Source0-md5: 73810d60e7293e2f9dc8cef3925e1359 | |
9 | URL: http://www.linuxcnc.org/ | |
10 | BuildRequires: gtk+2-devel | |
11 | BuildRequires: tcl-devel | |
12 | BuildRequires: tk-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | EMC (the Enhanced Machine Control) is a software system for computer | |
17 | control of machine tools such as milling machines. It provides: | |
18 | - a user interface (actually several interfaces to chose from), | |
19 | - an interpreter for "G-code" (the RS-274 machine tool programming | |
20 | language), | |
21 | - and operates the actual electronic interfaces that control the motor | |
22 | drives on the machine tool. | |
23 | ||
24 | It provides the "computer" functions needed to actually run the | |
25 | machine's electronics. It does not provide drawing (CAD - Computer | |
26 | Aided Design) or G-code generation from the drawing (CAM - Computer | |
27 | Automated Manufacturing) functions. It can control up to 6 axes and | |
28 | supports a variety of interfaces. The motion control can operate true | |
29 | servos (usually analog) with the feedback loop closed by the EMC | |
30 | software at the computer, or open loop with "step-servos" or stepper | |
31 | motors. Motion planning includes cutter radius compensation, tool | |
32 | length offsets, and constant velocity control. Support for | |
33 | non-Cartesian motion systems is provided via kinematics. This includes | |
34 | hexapods (Stewart platforms and similar concepts) and systems with | |
35 | rotary joints to provide motion. | |
36 | ||
37 | ||
38 | %prep | |
39 | %setup -q -n %{name}2 | |
40 | ||
41 | %build | |
42 | cd src | |
43 | %configure \ | |
44 | --enable-simulator | |
45 | %{__make} | |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %{__make} -C src install \ | |
51 | DESTDIR=$RPM_BUILD_ROOT | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc README TODO docs/{*.pdf,NEWS,README} docs/help/*.* | |
59 | %attr(755,root,root) %{_bindir}/* |