diff options
-rw-r--r-- | .cvsignore | 1 | ||||
-rw-r--r-- | flex.spec.in | 54 |
2 files changed, 0 insertions, 55 deletions
@@ -19,7 +19,6 @@ configure depcomp flex flex-* -flex.spec install-sh missing mkinstalldirs diff --git a/flex.spec.in b/flex.spec.in deleted file mode 100644 index 026f021..0000000 --- a/flex.spec.in +++ /dev/null @@ -1,54 +0,0 @@ -Summary: fast lexical analyzer generator -Name: flex -Version: @VERSION@ -Release: 0 -License: BSD style -Group: Development/Tools -Source: ftp://ftp.ee.lbl.gov/%{name}-%{version}.tar.gz -Prefix: %{_prefix} -BuildRoot: %{_tmppath}/%{name}-%{version} -Prereq: /sbin/install-info - -%description -The flex program generates scanners. Scanners are programs which can -recognize lexical patterns in text. Flex takes pairs of regular -expressions and C code as input and generates a C source file as -output. The output file is compiled and linked with a library to -produce an executable. The executable searches through its input for -occurrences of the regular expressions. When a match is found, it -executes the corresponding C code. Flex was designed to work with -both Yacc and Bison, and is used by many programs as part of their -build process. - -%prep -%setup -q -n %{name}-%{version} - -%build -%configure -make - -%install -rm -rf $RPM_BUILD_ROOT -%makeinstall -rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir - -%clean -rm -rf ${RPM_BUILD_ROOT} - -%post -/sbin/install-info %{_infodir}/flex.info.gz %{_infodir}/dir - -%postun -if [ "$1" = 0 ]; then - /sbin/install-info --del %{_infodir}/flex.info.gz %{_infodir}/dir -fi - -%files -%defattr(-,root,root) -%doc COPYING NEWS README -%{_bindir}/* -%{_mandir}/man1/* -%{_libdir}/* -%{_includedir}/FlexLexer.h -%{_infodir}/flex.info* -%{_datadir}/locale/* |