re2c-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Summary: Tool for generating C-based recognizers from regular expressions
  2. Name: re2c
  3. Version: 0.16
  4. Release: 2%{?_dist_release}
  5. License: Public Domain
  6. Group: Development/Tools
  7. URL: http://re2c.org/
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. Source: http://downloads.sf.net/re2c/re2c-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. %description
  13. re2c is a tool for writing very fast and very flexible scanners. Unlike any
  14. other such tool, re2c focuses on generating high efficient code for regular
  15. expression matching. As a result this allows a much broader range of use than
  16. any traditional lexer offers. And Last but not least re2c generates warning
  17. free code that is equal to hand-written code in terms of size, speed and
  18. quality.
  19. %prep
  20. %setup -q
  21. # Fix all those executable files, set executable only the ones that need to be
  22. find . -type f -exec chmod -x {} \;
  23. %{__chmod} +x configure depcomp install-sh missing
  24. %build
  25. %configure
  26. # Build re2c, then our own scanner.cc, then rebuild the final re2c with it
  27. #%{__make} %{?_smp_mflags} re2c
  28. #%{__rm} -f scanner.cc
  29. #./re2c -b -o scanner.cc scanner.re
  30. #%{__rm} -f re2c scanner.o
  31. %{__make} %{?_smp_mflags}
  32. %install
  33. %{__rm} -rf %{buildroot}
  34. %{__make} install DESTDIR=%{buildroot}
  35. #%{__install} -D -p -m 0755 re2c %{buildroot}%{_bindir}/re2c
  36. #%{__install} -D -p -m 0644 re2c.1 %{buildroot}%{_mandir}/man1/re2c.1
  37. %clean
  38. %{__rm} -rf %{buildroot}
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc CHANGELOG README examples/ doc/* lessons/
  42. %{_bindir}/re2c
  43. %{_mandir}/man1/re2c.1*
  44. %changelog
  45. * Tue Jul 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.16-2
  46. - rebuilt with new toolchain.
  47. * Sat May 14 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.16-1
  48. - new upstream release
  49. * Thu Jun 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.5-1
  50. - initial build for Vine Linux
  51. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-7
  52. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  53. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-6
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  55. * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-5
  56. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  57. * Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-4
  58. - Rebuilt for c++ ABI breakage
  59. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-3
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  61. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.5-2
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  63. * Mon Jul 12 2010 Matthias Saou <http://freshrpms.net/> 0.13.5-1
  64. - Update to 0.13.5.
  65. - Update URL to the one used in the included spec file.
  66. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-4
  67. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  68. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.3-3
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  70. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.12.3-2
  71. - Autorebuild for GCC 4.3
  72. * Thu Sep 13 2007 Matthias Saou <http://freshrpms.net/> 0.12.3-1
  73. - Update to 0.12.3.
  74. * Thu Aug 23 2007 Matthias Saou <http://freshrpms.net/> 0.12.2-1
  75. - Update to 0.12.2.
  76. - Update URL location.
  77. * Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-2
  78. - Fix license tag to "Public Domain".
  79. - Update description with most recent text from the website.
  80. * Wed Jun 20 2007 Matthias Saou <http://freshrpms.net/> 0.12.1-1
  81. - Spec file changes.
  82. * Wed May 23 2007 Dag Wieers <dag@wieers.com> - 0.12.1-1
  83. - Updated to release 0.12.1.
  84. * Thu May 03 2007 Dag Wieers <dag@wieers.com> - 0.12.0-1
  85. - Initial version.