re2c-vl.spec 3.7 KB

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