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