From 34fdda29e67c2acd49c5e9cf0ee38a5a970f583c Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 04:46:06 +0000 Subject: [PATCH] auto-import changelog data from flex-2.5.4a-11.src.rpm Wed Jul 12 2000 Prospector - automatic rebuild Tue Jun 06 2000 Bill Nottingham - rebuild, FHS stuff. Thu Feb 03 2000 Bill Nottingham - handle compressed man pages Fri Jan 28 2000 Bill Nottingham - add a libl.a link to libfl.a Wed Aug 25 1999 Jeff Johnson - avoid uninitialized variable warning (Erez Zadok). Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 6) Fri Dec 18 1998 Bill Nottingham - build for 6.0 tree Mon Aug 10 1998 Jeff Johnson - build root Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr Thu Oct 23 1997 Donnie Barnes - updated from 2.5.4 to 2.5.4a Mon Jun 02 1997 Erik Troan - built against glibc Thu Mar 20 1997 Michael Fulbright - Updated to v. 2.5.4 --- .cvsignore | 1 + flex.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 99 insertions(+) create mode 100644 flex.spec diff --git a/.cvsignore b/.cvsignore index e69de29..8e809b2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +flex-2.5.4a.tar.gz diff --git a/flex.spec b/flex.spec new file mode 100644 index 0000000..8dda50f --- /dev/null +++ b/flex.spec @@ -0,0 +1,97 @@ +Summary: A tool for creating scanners (text pattern recognizers). +Name: flex +Version: 2.5.4a +Release: 11 +Copyright: GPL +Group: Development/Tools +Source: ftp://ftp.gnu.org/pub/gnu/flex/flex-2.5.4a.tar.gz +Patch0: flex-2.5.4a-skel.patch +Prefix: %{_prefix} +BuildRoot: /var/tmp/%{name}-root + +%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. + +You should install flex if you are going to use your system for +application development. + +%prep +%setup -q -n flex-2.5.4 +%patch0 -p1 + +%build +autoconf +%configure +make + +%install +rm -rf $RPM_BUILD_ROOT + +%makeinstall mandir=$RPM_BUILD_ROOT/%{_mandir}/man1 + +( cd ${RPM_BUILD_ROOT} + strip .%{_prefix}/bin/flex + ln -sf flex .%{_prefix}/bin/lex + ln -s flex.1 .%{_mandir}/man1/lex.1 + ln -s flex.1 .%{_mandir}/man1/flex++.1 + ln -s libfl.a .%{_prefix}/lib/libl.a +) + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%doc COPYING NEWS README +%{_prefix}/bin/lex +%{_prefix}/bin/flex +%{_prefix}/bin/flex++ +%{_mandir}/man1/* +%{_prefix}/lib/libl.a +%{_prefix}/lib/libfl.a +%{_prefix}/include/FlexLexer.h + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Tue Jun 6 2000 Bill Nottingham +- rebuild, FHS stuff. + +* Thu Feb 3 2000 Bill Nottingham +- handle compressed man pages + +* Fri Jan 28 2000 Bill Nottingham +- add a libl.a link to libfl.a + +* Wed Aug 25 1999 Jeff Johnson +- avoid uninitialized variable warning (Erez Zadok). + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 6) + +* Fri Dec 18 1998 Bill Nottingham +- build for 6.0 tree + +* Mon Aug 10 1998 Jeff Johnson +- build root + +* Mon Apr 27 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Oct 23 1997 Donnie Barnes +- updated from 2.5.4 to 2.5.4a + +* Mon Jun 02 1997 Erik Troan +- built against glibc + +* Thu Mar 20 1997 Michael Fulbright +- Updated to v. 2.5.4 diff --git a/sources b/sources index e69de29..4b0281d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bd8753d0b22e1f4ec87a553a73021adf flex-2.5.4a.tar.gz