1 | %bcond_with bootstrap |
---|
2 | |
---|
3 | Summary: Finite state machine compiler |
---|
4 | Name: ragel |
---|
5 | Version: 7.0.0.12 |
---|
6 | Release: 5%{?_dist_release} |
---|
7 | Group: programming |
---|
8 | Vendor: Project Vine |
---|
9 | Distribution: Vine Linux |
---|
10 | |
---|
11 | # aapl/ is the LGPLv2+ |
---|
12 | License: MIT and LGPLv2+ |
---|
13 | URL: http://www.colm.net/open-source/%{name}/ |
---|
14 | Source0: https://www.colm.net/files/%{name}/%{name}-%{version}.tar.gz |
---|
15 | |
---|
16 | BuildRequires: gcc |
---|
17 | BuildRequires: gcc-c++ |
---|
18 | BuildRequires: autoconf |
---|
19 | BuildRequires: automake |
---|
20 | BuildRequires: libtool |
---|
21 | BuildRequires: make |
---|
22 | %if ! %{with bootstrap} |
---|
23 | BuildRequires: kelbt |
---|
24 | BuildRequires: ragel |
---|
25 | %endif |
---|
26 | BuildRequires: colm-devel = 0.13.0.7 |
---|
27 | |
---|
28 | # Unfortunately, upstream doesn't exist and not possible to find version |
---|
29 | Provides: bundled(aapl) |
---|
30 | |
---|
31 | %description |
---|
32 | Ragel compiles executable finite state machines from regular languages. |
---|
33 | Ragel targets C, C++ and ASM. Ragel state machines can not only recognize |
---|
34 | byte sequences as regular expression machines do, but can also execute code |
---|
35 | at arbitrary points in the recognition of a regular language. Code embedding |
---|
36 | is done using inline operators that do not disrupt the regular language syntax. |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development libraries header files for %{name} |
---|
40 | Group: programming |
---|
41 | Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} |
---|
42 | |
---|
43 | %description devel |
---|
44 | %{summary}. |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %autosetup |
---|
49 | # Do not pollute with docs |
---|
50 | sed -i -e "/dist_doc_DATA/d" Makefile.am |
---|
51 | |
---|
52 | |
---|
53 | %build |
---|
54 | autoreconf -vfi |
---|
55 | %configure \ |
---|
56 | --disable-static \ |
---|
57 | %if ! %{with bootstrap} |
---|
58 | --with-ragel \ |
---|
59 | --with-kelbt \ |
---|
60 | %endif |
---|
61 | %{nil} |
---|
62 | |
---|
63 | %make_build |
---|
64 | |
---|
65 | |
---|
66 | %install |
---|
67 | %make_install |
---|
68 | find %{buildroot}%{_libdir} -type f -name '*.la' -print -delete |
---|
69 | install -p -m 0644 -D %{name}.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/%{name}.vim |
---|
70 | |
---|
71 | |
---|
72 | %post -p /sbin/ldconfig |
---|
73 | %postun -p /sbin/ldconfig |
---|
74 | |
---|
75 | |
---|
76 | %files |
---|
77 | %license COPYING |
---|
78 | %doc CREDITS ChangeLog |
---|
79 | %{_bindir}/%{name} |
---|
80 | %{_bindir}/%{name}-* |
---|
81 | %{_mandir}/man1/%{name}.1* |
---|
82 | %{_libdir}/libfsm.so.* |
---|
83 | %{_libdir}/libragel.so.* |
---|
84 | %{_datarootdir}/%{name}.lm |
---|
85 | %exclude %{_datadir}/vim/vimfiles/syntax/%{name}.vim |
---|
86 | |
---|
87 | %files devel |
---|
88 | %{_libdir}/libfsm.so |
---|
89 | %{_libdir}/libragel.so |
---|
90 | %{_includedir}/%{name}/ |
---|
91 | |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Mon Aug 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.0.0.12-5 |
---|
95 | - rebuilt with current environment. |
---|
96 | |
---|
97 | * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.0.0.12-4 |
---|
98 | - dropped a file for vim. |
---|
99 | |
---|
100 | * Wed Oct 30 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.0.0.12-3 |
---|
101 | - initial build for Vine Linux. |
---|
102 | |
---|
103 | * Sun Jul 28 2019 Christian Glombek <lorbus@fedoraproject.org> - 7.0.0.12-2 |
---|
104 | - Explicitly require colm 0.13.07 for the build |
---|
105 | |
---|
106 | * Sun Jul 28 2019 Christian Glombek <lorbus@fedoraproject.org> - 7.0.0.12-1 |
---|
107 | - Updated to version 7.0.0.12 |
---|
108 | |
---|
109 | * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.11-4 |
---|
110 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
111 | |
---|
112 | * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.11-3 |
---|
113 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
114 | |
---|
115 | * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.11-2 |
---|
116 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
117 | |
---|
118 | * Fri Jul 06 2018 Christian Glombek <lorbus@fedoraproject.org> - 7.0.0.11-1 |
---|
119 | - Update to 7.0.0.11 |
---|
120 | |
---|
121 | * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.10-2 |
---|
122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
123 | |
---|
124 | * Mon Dec 11 2017 Jason Taylor <jtfas90@gmail.com> - 7.0.0.10-1 |
---|
125 | - Upstream bugfix release |
---|
126 | - Updated spec to reflect MIT license |
---|
127 | |
---|
128 | * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.9-4 |
---|
129 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
130 | |
---|
131 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.9-3 |
---|
132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
133 | |
---|
134 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0.9-2 |
---|
135 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
136 | |
---|
137 | * Fri Oct 07 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 7.0.0.9-1 |
---|
138 | - Fix FTBFS |
---|
139 | - Update to 7.0.0.9 |
---|
140 | - Trivial fixes in spec |
---|
141 | |
---|
142 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.8-6 |
---|
143 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
144 | |
---|
145 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8-5 |
---|
146 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
147 | |
---|
148 | * Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 6.8-4 |
---|
149 | - Rebuilt for GCC 5 C++11 ABI change |
---|
150 | |
---|
151 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8-3 |
---|
152 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
153 | |
---|
154 | * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.8-2 |
---|
155 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
156 | |
---|
157 | * Sun Sep 08 2013 Jeremy Hinegardner <jeremy@hinegardner.org> - 6.8-1 |
---|
158 | - Update to upstream 6.8 |
---|
159 | |
---|
160 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-8 |
---|
161 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
162 | |
---|
163 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-7 |
---|
164 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
165 | |
---|
166 | * Wed Aug 1 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 6.6-6 |
---|
167 | - Fix build with gcc47 |
---|
168 | - Pass fedora cflags correctly |
---|
169 | |
---|
170 | * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-5 |
---|
171 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
172 | |
---|
173 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-4 |
---|
174 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
175 | |
---|
176 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.6-3 |
---|
177 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
178 | |
---|
179 | * Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 6.6-2 |
---|
180 | - rebuild to ensure F14 has higher NVR than F13 |
---|
181 | |
---|
182 | * Thu Feb 18 2010 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.6-0 |
---|
183 | - update to 6.6 |
---|
184 | - remove patch, fix applied upstream |
---|
185 | |
---|
186 | * Sun Aug 02 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.5-2 |
---|
187 | - fix build process |
---|
188 | |
---|
189 | * Sun Aug 02 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.5-1 |
---|
190 | - Update to 6.5 |
---|
191 | |
---|
192 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4-4 |
---|
193 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
194 | |
---|
195 | * Tue Apr 14 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-3 |
---|
196 | - remove main.cpp patch for testing |
---|
197 | |
---|
198 | * Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-2 |
---|
199 | - add patch for main.cpp |
---|
200 | |
---|
201 | * Sat Apr 11 2009 Jeremy Hinegardner <jeremy at hinegardner dot org> 6.4-1 |
---|
202 | - Update to 6.4 |
---|
203 | |
---|
204 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-2 |
---|
205 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
206 | |
---|
207 | * Sat Aug 30 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.3-1 |
---|
208 | - update to 6.3 |
---|
209 | |
---|
210 | * Mon May 12 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.2-1 |
---|
211 | - update to 6.2 |
---|
212 | |
---|
213 | * Mon Apr 14 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.1-1 |
---|
214 | - update to 6.1 |
---|
215 | |
---|
216 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 6.0-2 |
---|
217 | - Autorebuild for GCC 4.3 |
---|
218 | |
---|
219 | * Sat Jan 19 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 6.0-1 |
---|
220 | - update to 6.0 |
---|
221 | |
---|
222 | * Sun Jan 06 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 5.25-1 |
---|
223 | - update to 5.25 |
---|
224 | |
---|
225 | * Tue Sep 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.24-1 |
---|
226 | - update to 5.24 |
---|
227 | - update License tag |
---|
228 | |
---|
229 | * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 5.23-2 |
---|
230 | - Rebuild for selinux ppc32 issue. |
---|
231 | |
---|
232 | * Tue Jul 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.23-1 |
---|
233 | - update to 5.23 |
---|
234 | - removed ragel-rlcodegen-replace.patch - it was applied upstream |
---|
235 | |
---|
236 | * Mon Jun 18 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.22-1 |
---|
237 | - update to 5.22 |
---|
238 | - remove ragel-Makefile-in.patch - it was applied upstream |
---|
239 | - update ragel-rlcodegen-replace.patch to apply cleanly |
---|
240 | |
---|
241 | * Sat Mar 24 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.19-4 |
---|
242 | - further replacement of rlcodegen |
---|
243 | - rework patches |
---|
244 | |
---|
245 | * Fri Mar 23 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.19-3 |
---|
246 | - replace RPM_BUILD_ROOT in spec file with buildroot macro |
---|
247 | - cleanup rpmlint errors for the src.rpm |
---|
248 | - add ragel(1) man page patch |
---|
249 | |
---|
250 | * Tue Mar 20 2007 Jeremy Hinegardner <jeremy@hinegardner.org> - 5.19-1 |
---|
251 | - Creation of spec file |
---|