blob: 5a2a56ffa5d850d237fa47a5b37ccc0b5a359c96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
Name: ragel
Summary: Ragel State Machine Compiler
Version: 6.6
Release: 1
Group: System/Utilities
License: GPL-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: ragel.manifest
%description
compiles finite state machines into code in various languages
Ragel compiles finite state machines from regular languages into C, C++,
Objective-C, D, Ruby or Java code. Ragel allows the programmer to embed
actions at any point in a regular language. Non-determinism can be
controlled through the use of embedded priorities and guarded regular
language operators. Ragel also supports the construction of scanners and
the building of state machines using state-charts. Ragel can be used to
create robust recognizers and parsers which run very fast. It can work
with integer-sized alphabets and can compile large state machines.
The generated code has no dependencies.
%prep
%setup -q
cp %{SOURCE1001} .
%build
%autogen.sh
%configure --prefix=%{_prefix}
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%remove_docs
%files
%manifest %{name}.manifest
%license COPYING
%manifest ragel.manifest
%{_bindir}/ragel
|