# # spec file for package re2c (Version 0.13.0) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: re2c Version: 0.13.0 Release: 1 # License: Public Domain, Freeware Group: Development/Libraries/C and C++ # BuildRoot: %{_tmppath}/%{name}-%{version}-build # URL: http://re2c.org/ Source: %{name}-%{version}.tar.bz2 # Summary: Tool for generating C-based recognizers from regular expressions %description re2c is a tool for writing fast and flexible lexers. Unlike other such tools, it concentrates solely on generating efficient code for matching regular expressions. This make it suitable for a wide variety of applications. The generated scanners approach hand-crafted ones in terms of size and speed. Authors: -------- Dan Nuffer %prep %setup find -type d -name .svn -print0 | xargs -r0 rm -rf find CHANGELOG lessons examples -type f -print0 \ | xargs -r0 chmod -v a-x %build %configure %{__make} re2c #regenerate file scanner.cc %{__rm} -f scanner.cc ./re2c scanner.re > scanner.cc %{__rm} -f re2c scanner.o %{__make} %{__make} test %install %makeinstall %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/re2c %{_mandir}/man1/re2c.1* %doc doc/*.ps doc/sample.bib %doc README CHANGELOG %doc lessons/ examples/ %changelog * Mon Jun 25 2007 - dmueller@suse.de - update to versoin 0.13.0: * Fixed issue with short form of switches and parameter if not first switch. * Fixed #1708378 segfault in actions.cc. * Added -c and -t to generate scanners with (f)lex-like condition support. * Fri May 04 2007 - dmueller@suse.de - update to version 0.12.0 * Sun Apr 01 2007 - mrueckert@suse.de - update to version 0.11.3 * Sun Mar 04 2007 - mrueckert@suse.de - update to version 0.11.2 * Tue Feb 20 2007 - mrueckert@suse.de - This version fixes a warning in the generated code that some compilers issue. No other changes have been made.