| 1 | Summary: fast lexical analyzer generator
|
|---|
| 2 | Name: flex
|
|---|
| 3 | Version: 2.5.33
|
|---|
| 4 | Release: 0
|
|---|
| 5 | License: BSD style
|
|---|
| 6 | Group: Development/Tools
|
|---|
| 7 | Source: ftp://ftp.ee.lbl.gov/%{name}-%{version}.tar.gz
|
|---|
| 8 | Prefix: %{_prefix}
|
|---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}
|
|---|
| 10 | Prereq: /sbin/install-info
|
|---|
| 11 |
|
|---|
| 12 | %description
|
|---|
| 13 | The flex program generates scanners. Scanners are programs which can
|
|---|
| 14 | recognize lexical patterns in text. Flex takes pairs of regular
|
|---|
| 15 | expressions and C code as input and generates a C source file as
|
|---|
| 16 | output. The output file is compiled and linked with a library to
|
|---|
| 17 | produce an executable. The executable searches through its input for
|
|---|
| 18 | occurrences of the regular expressions. When a match is found, it
|
|---|
| 19 | executes the corresponding C code. Flex was designed to work with
|
|---|
| 20 | both Yacc and Bison, and is used by many programs as part of their
|
|---|
| 21 | build process.
|
|---|
| 22 |
|
|---|
| 23 | %prep
|
|---|
| 24 | %setup -q -n %{name}-%{version}
|
|---|
| 25 |
|
|---|
|
|---|