1 Summary: fast lexical analyzer generator
6 Group: Development
/Tools
7 Source: ftp
://ftp.ee.lbl.gov
/%{name}-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}
10 Prereq
: /sbin
/install-info
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
24 %setup -q
-n
%{name}-%{version}
31 rm -rf $RPM_BUILD_ROOT
33 rm -f $
{RPM_BUILD_ROOT
}/%{_infodir}/dir
36 rm -rf $
{RPM_BUILD_ROOT
}
39 /sbin
/install-info
%{_infodir}/flex.info.gz %{_infodir}/dir
43 /sbin
/install-info
--del
%{_infodir}/flex.info.gz %{_infodir}/dir
48 %doc COPYING NEWS README
52 %{_includedir}/FlexLexer.h
53 %{_infodir}/flex.info
*