byacc-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. %define byaccdate 20221229
  2. Summary: A public domain Yacc parser generator.
  3. Summary(ja): パブリックドメイン yacc 構文解析器生成プログラム
  4. Name: byacc
  5. Version: 2.0.%{byaccdate}
  6. Release: 1%{?_dist_release}
  7. Group: programming
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: public domain
  11. # The source is taken from FreeBSD's CVS as of Thu Sep 28 2000
  12. URL: https://invisible-island.net/byacc/byacc.html
  13. Source: https://invisible-island.net/archives/byacc/byacc-%{byaccdate}.tgz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. %description
  16. Byacc (Berkeley Yacc) is a public domain LALR parser generator which
  17. is used by many programs during their build process.
  18. If you are going to do development on your system, you will want to install
  19. this package.
  20. %description -l ja
  21. byacc (Berkeley Yacc) はパブリックドメインの LALR 構文解析器生成
  22. プログラムで,多くのプログラムのビルド過程で使われます.
  23. システムで開発を行う場合は,このパッケージをインストールする
  24. 必要があるでしょう.
  25. %debug_package
  26. %prep
  27. %setup -q -n byacc-%{byaccdate}
  28. # Revert default stack size back to 10000
  29. # https://bugzilla.redhat.com/show_bug.cgi?id=743343
  30. find . -type f -name \*.c -print0 |
  31. xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
  32. %build
  33. %configure --disable-dependency-tracking
  34. %{__make}
  35. %check
  36. echo ====================TESTING=========================
  37. make check
  38. echo ====================TESTING END=====================
  39. %install
  40. rm -rf %{buildroot}
  41. %make_install
  42. ln -s yacc %{buildroot}%{_bindir}/byacc
  43. ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
  44. %clean
  45. rm -rf %{buildroot}
  46. %files
  47. %defattr(-,root,root)
  48. %{_bindir}/yacc
  49. %{_bindir}/byacc
  50. %{_mandir}/man1/yacc.1*
  51. %{_mandir}/man1/byacc.1*
  52. %changelog
  53. * Fri Feb 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.20221229-1
  54. - new upstream release.
  55. * Sun Jul 12 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.9-28
  56. - updated tarball from CVS.
  57. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-27
  58. - rebuild with VineSeed environment
  59. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.9-26
  60. - rebuilt with rpm-4.8.1-3
  61. * Wed Feb 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-25
  62. - rebuilt with new toolchain
  63. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9-24
  64. - spec in utf-8
  65. * Sun Apr 06 2008 Kazutaka HARADA <Kazutaka@dc4.so-net.ne.jp> 1.9-23
  66. - update source and sync with fedora development
  67. - drop unnecessary patches
  68. - apply new versioning policy
  69. * Sun Jun 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-22vl3
  70. - s/Copyright/License/
  71. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.9-22vl2
  72. - rebuild
  73. * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.9-22vl1
  74. - based on 1.9-22 from Rawhide and built for Vine Linux
  75. - added Japanese summary and description
  76. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  77. - automated rebuild
  78. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  79. - automated rebuild
  80. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  81. - automated rebuild
  82. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  83. - Bump release + rebuild.
  84. * Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
  85. - security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
  86. * Fri Sep 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  87. - Update to the version in FreeBSD CVS - it's actively maintained, unlike
  88. the 1993 4BSD version we used to have
  89. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  90. - automatic rebuild
  91. * Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
  92. - fix perms in tarball
  93. * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  94. - FHSify
  95. - handle RPM_OPT_FLAGS
  96. * Sat May 6 2000 Bill Nottingham <notting@redhat.com>
  97. - fix yacc for ia64
  98. * Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  99. - rebuild to compress man pages
  100. - fix up manpage symlink
  101. * Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
  102. - man page fixed.
  103. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  104. - auto rebuild in the new build environment (release 10)
  105. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  106. - build for glibc 2.1
  107. * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
  108. - build root
  109. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  110. - translations modified for de, fr, tr
  111. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  112. - various spec file cleanups
  113. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  114. - built against glibc