[8558] | 1 | Summary: Tool for generating C-based recognizers from regular expressions |
---|
| 2 | Name: re2c |
---|
[10288] | 3 | Version: 0.16 |
---|
[10535] | 4 | Release: 2%{?_dist_release} |
---|
[8558] | 5 | License: Public Domain |
---|
| 6 | Group: Development/Tools |
---|
| 7 | URL: http://re2c.org/ |
---|
[10535] | 8 | Vendor: Project Vine |
---|
| 9 | Distribution: Vine Linux |
---|
| 10 | |
---|
[8558] | 11 | Source: http://downloads.sf.net/re2c/re2c-%{version}.tar.gz |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | re2c is a tool for writing very fast and very flexible scanners. Unlike any |
---|
| 16 | other such tool, re2c focuses on generating high efficient code for regular |
---|
| 17 | expression matching. As a result this allows a much broader range of use than |
---|
| 18 | any traditional lexer offers. And Last but not least re2c generates warning |
---|
| 19 | free code that is equal to hand-written code in terms of size, speed and |
---|
| 20 | quality. |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q |
---|
| 25 | # Fix all those executable files, set executable only the ones that need to be |
---|
| 26 | find . -type f -exec chmod -x {} \; |
---|
| 27 | %{__chmod} +x configure depcomp install-sh missing |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | %configure |
---|
| 31 | # Build re2c, then our own scanner.cc, then rebuild the final re2c with it |
---|
[10288] | 32 | #%{__make} %{?_smp_mflags} re2c |
---|
| 33 | #%{__rm} -f scanner.cc |
---|
| 34 | #./re2c -b -o scanner.cc scanner.re |
---|
| 35 | #%{__rm} -f re2c scanner.o |
---|
[8558] | 36 | %{__make} %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %install |
---|
| 40 | %{__rm} -rf %{buildroot} |
---|
[10288] | 41 | %{__make} install DESTDIR=%{buildroot} |
---|
| 42 | #%{__install} -D -p -m 0755 re2c %{buildroot}%{_bindir}/re2c |
---|
| 43 | #%{__install} -D -p -m 0644 re2c.1 %{buildroot}%{_mandir}/man1/re2c.1 |
---|
[8558] | 44 | |
---|
| 45 | |
---|
| 46 | %clean |
---|
| 47 | %{__rm} -rf %{buildroot} |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %files |
---|
| 51 | %defattr(-,root,root,-) |
---|
| 52 | %doc CHANGELOG README examples/ doc/* lessons/ |
---|
| 53 | %{_bindir}/re2c |
---|
| 54 | %{_mandir}/man1/re2c.1* |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %changelog |
---|
[10535] | 58 | * Tue Jul 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.16-2 |
---|
| 59 | - rebuilt with new toolchain. |
---|
| 60 | |
---|
[10288] | 61 | * Sat May 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16-1 |
---|
| 62 | - new upstream release |
---|
| 63 | |
---|
[8558] | 64 | * Thu Jun 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.5-1 |
---|
| 65 | - initial build for Vine Linux |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-7 |
---|
| 69 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
| 70 | |
---|
| 71 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-6 |
---|
| 72 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
| 73 | |
---|
| 74 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-5 |
---|
| 75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
| 76 | |
---|
| 77 | * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-4 |
---|
| 78 | - Rebuilt for c++ ABI breakage |
---|
| 79 | |
---|
| 80 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-3 |
---|
| 81 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 82 | |
---|
| 83 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-2 |
---|
| 84 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 85 | |
---|
| 86 | * Mon Jul 12 2010 Matthias Saou <http://freshrpms.net/> 0.13.5-1 |
---|
| 87 | - Update to 0.13.5. |
---|
| 88 | - Update URL to the one used in the included spec file. |
---|
| 89 | |
---|
| 90 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-4 |
---|
| 91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 92 | |
---|
| 93 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-3 |
---|
| 94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 95 | |
---|
| 96 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.3-2 |
---|
| 97 | - Autorebuild for GCC 4.3 |
---|
| 98 | |
---|
| 99 | * Thu Sep 13 2007 Matthias Saou <http://freshrpms.net/> 0.12.3-1 |
---|
| 100 | - Update to 0.12.3. |
---|
| 101 | |
---|
| 102 | * Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.12.2-1 |
---|
| 103 | - Update to 0.12.2. |
---|
| 104 | - Update URL location. |
---|
| 105 | |
---|
| 106 | * Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-2 |
---|
| 107 | - Fix license tag to "Public Domain". |
---|
| 108 | - Update description with most recent text from the website. |
---|
| 109 | |
---|
| 110 | * Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-1 |
---|
| 111 | - Spec file changes. |
---|
| 112 | |
---|
| 113 | * Wed May 23 2007 Dag Wieers <dag@wieers.com> - 0.12.1-1 |
---|
| 114 | - Updated to release 0.12.1. |
---|
| 115 | |
---|
| 116 | * Thu May 03 2007 Dag Wieers <dag@wieers.com> - 0.12.0-1 |
---|
| 117 | - Initial version. |
---|
| 118 | |
---|