commit 9dfae6dcf79e9caba0b6788254111fe41d461b7e5cd9957d3acecd541a80e3df Author: OBS User unknown Date: Thu May 10 02:41:48 2007 +0000 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/re2c-0.12.0.tar.bz2 b/re2c-0.12.0.tar.bz2 new file mode 100644 index 0000000..c98951d --- /dev/null +++ b/re2c-0.12.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:552ce9ade71f949cd6328e9e86847e12fdcdd28feb2a533d5138da908e579265 +size 435094 diff --git a/re2c.changes b/re2c.changes new file mode 100644 index 0000000..0e2255a --- /dev/null +++ b/re2c.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Fri May 4 01:41:09 CEST 2007 - dmueller@suse.de + +- update to version 0.12.0 + +------------------------------------------------------------------- +Sun Apr 1 22:00:58 CEST 2007 - mrueckert@suse.de + +- update to version 0.11.3 + +------------------------------------------------------------------- +Sun Mar 4 09:41:10 CET 2007 - mrueckert@suse.de + +- update to version 0.11.2 + +------------------------------------------------------------------- +Tue Feb 20 21:06:08 CET 2007 - mrueckert@suse.de + +- This version fixes a warning in the generated code that some + compilers issue. No other changes have been made. + diff --git a/re2c.spec b/re2c.spec new file mode 100644 index 0000000..db226e2 --- /dev/null +++ b/re2c.spec @@ -0,0 +1,80 @@ +# +# spec file for package re2c (Version 0.12.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.12.0 +Release: 1 +# +License: Public Domain, Freeware +Group: Development/Libraries/C and C++ +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ +# +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 +* 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. diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4