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