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