ragel-vl.spec 8.3 KB

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