byacc-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. %define byaccdate 20070509
  2. Summary: A public domain Yacc parser generator.
  3. Summary(ja): パブリックドメイン yacc 構文解析器生成プログラム
  4. Name: byacc
  5. Version: 1.9
  6. Release: 27%{?_dist_release}
  7. License: public domain
  8. Group: Development/Tools
  9. # The source is taken from FreeBSD's CVS as of Thu Sep 28 2000
  10. URL: http://invisible-island.net/byacc/byacc.html
  11. Source: ftp://invisible-island.net/byacc/byacc-%{byaccdate}.tgz
  12. Patch: bsdyacc-linux.patch
  13. Patch1: byacc-1.9-security.patch
  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. %prep
  26. %setup -q -n byacc-%{byaccdate}
  27. #%patch -p1 -b .lnx
  28. #%patch1 -p1 -b .security
  29. %build
  30. #chmod u+w `find .`
  31. #make CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
  32. %configure --disable-dependency-tracking
  33. %{__make}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. #mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
  37. #install -c -m 755 -s yacc $RPM_BUILD_ROOT%{_bindir}/yacc
  38. #install -c -m 644 yacc.1 $RPM_BUILD_ROOT%{_mandir}/man1/yacc.1
  39. %{__make} DESTDIR=$RPM_BUILD_ROOT install
  40. ln -sf yacc $RPM_BUILD_ROOT%{_bindir}/byacc
  41. ln -sf yacc.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/byacc.1.gz
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root)
  46. %{_bindir}/yacc
  47. %{_bindir}/byacc
  48. %{_mandir}/man1/yacc.1*
  49. %{_mandir}/man1/byacc.1*
  50. %changelog
  51. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9-27
  52. - rebuild with VineSeed environment
  53. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 1.9-26
  54. - rebuilt with rpm-4.8.1-3
  55. * Wed Feb 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-25
  56. - rebuilt with new toolchain
  57. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9-24
  58. - spec in utf-8
  59. * Sun Apr 06 2008 Kazutaka HARADA <Kazutaka@dc4.so-net.ne.jp> 1.9-23
  60. - update source and sync with fedora development
  61. - drop unnecessary patches
  62. - apply new versioning policy
  63. * Sun Jun 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-22vl3
  64. - s/Copyright/License/
  65. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.9-22vl2
  66. - rebuild
  67. * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.9-22vl1
  68. - based on 1.9-22 from Rawhide and built for Vine Linux
  69. - added Japanese summary and description
  70. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  71. - automated rebuild
  72. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  73. - automated rebuild
  74. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  75. - automated rebuild
  76. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  77. - Bump release + rebuild.
  78. * Fri Jan 05 2001 Preston Brown <pbrown@redhat.com>
  79. - security patch for tmpfile creation from Olaf Kirch <okir@lst.de>
  80. * Fri Sep 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  81. - Update to the version in FreeBSD CVS - it's actively maintained, unlike
  82. the 1993 4BSD version we used to have
  83. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  84. - automatic rebuild
  85. * Wed Jun 28 2000 Bill Nottingham <notting@redhat.com>
  86. - fix perms in tarball
  87. * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  88. - FHSify
  89. - handle RPM_OPT_FLAGS
  90. * Sat May 6 2000 Bill Nottingham <notting@redhat.com>
  91. - fix yacc for ia64
  92. * Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  93. - rebuild to compress man pages
  94. - fix up manpage symlink
  95. * Wed Apr 07 1999 Preston Brown <pbrown@redhat.com>
  96. - man page fixed.
  97. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  98. - auto rebuild in the new build environment (release 10)
  99. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  100. - build for glibc 2.1
  101. * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com>
  102. - build root
  103. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  104. - translations modified for de, fr, tr
  105. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  106. - various spec file cleanups
  107. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  108. - built against glibc