| 1 | Summary: A GNU general-purpose parser generator. |
|---|
| 2 | Summary(ja): GNU 汎用構文解析器生成プログラム |
|---|
| 3 | Name: bison |
|---|
| 4 | Version: 2.5 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | License: GPL |
|---|
| 7 | Group: Development/Tools |
|---|
| 8 | Source: http://ftp.gnu.org/gnu/bison/bison-%{version}.tar.bz2 |
|---|
| 9 | URL: http://www.gnu.org/software/bison/ |
|---|
| 10 | |
|---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 12 | Requires: m4 >= 1.4 |
|---|
| 13 | Requires(post): install-info |
|---|
| 14 | Requires(preun): install-info |
|---|
| 15 | |
|---|
| 16 | Vendor: Project Vine |
|---|
| 17 | Distribution: Vine Linux |
|---|
| 18 | |
|---|
| 19 | %description |
|---|
| 20 | Bison is a general purpose parser generator which converts a grammar |
|---|
| 21 | description for an LALR(1) context-free grammar into a C program to parse |
|---|
| 22 | that grammar. Bison can be used to develop a wide range of language |
|---|
| 23 | parsers, from ones used in simple desk calculators to complex programming |
|---|
| 24 | languages. Bison is upwardly compatible with Yacc, so any correctly |
|---|
| 25 | written Yacc grammar should work with Bison without any changes. If |
|---|
| 26 | you know Yacc, you shouldn't have any trouble using Bison. You do need |
|---|
| 27 | to be very proficient in C programming to be able to use Bison). Bison |
|---|
| 28 | is only needed on systems that are used for development. |
|---|
| 29 | |
|---|
| 30 | If your system will be used for C development, you should install Bison |
|---|
| 31 | since it is used to build many C programs. |
|---|
| 32 | |
|---|
| 33 | #' |
|---|
| 34 | %description -l ja |
|---|
| 35 | bison は汎用構文解析器を生成するプログラムで,LALR(1) 文脈自由文法で |
|---|
| 36 | 書かれた文法記述を元に,その記述を解析する C プログラムを生成します. |
|---|
| 37 | bison は簡単な電卓から複雑なプログラミング言語まで,幅広い種類の |
|---|
| 38 | 言語解析器を開発するのに使うことが出来ます. |
|---|
| 39 | bison は yacc の上位互換ですので,yacc で書かれた文法を修正すること |
|---|
| 40 | なしに解析することが出来ます.yacc を知っているのであれば,bison を |
|---|
| 41 | 使って困ることは何もないでしょう.bison を使うには C プログラミングの |
|---|
| 42 | 豊富な知識が必要となります.bison は開発を行うシステム以外では特に |
|---|
| 43 | 必要にならないでしょう. |
|---|
| 44 | |
|---|
| 45 | C 言語による開発を行う場合は,多くの C プログラムの作成に使われるので |
|---|
| 46 | bison をインストールして下さい. |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | %prep |
|---|
| 50 | %setup -q |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | %build |
|---|
| 54 | %configure |
|---|
| 55 | make |
|---|
| 56 | make check |
|---|
| 57 | |
|---|
| 58 | |
|---|
| 59 | %install |
|---|
| 60 | rm -rf $RPM_BUILD_ROOT |
|---|
| 61 | %makeinstall |
|---|
| 62 | |
|---|
| 63 | # Remove unpackaged files. |
|---|
| 64 | rm -f $RPM_BUILD_ROOT/%{_bindir}/yacc |
|---|
| 65 | rm -f $RPM_BUILD_ROOT/%{_infodir}/dir |
|---|
| 66 | rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/yacc* |
|---|
| 67 | |
|---|
| 68 | %find_lang %{name} |
|---|
| 69 | |
|---|
| 70 | |
|---|
| 71 | %clean |
|---|
| 72 | rm -rf $RPM_BUILD_ROOT |
|---|
| 73 | |
|---|
| 74 | |
|---|
| 75 | %post |
|---|
| 76 | /sbin/install-info %{_infodir}/bison.info.gz %{_infodir}/dir \ |
|---|
| 77 | --entry="* bison: (bison). The GNU parser generator." |
|---|
| 78 | |
|---|
| 79 | %preun |
|---|
| 80 | if [ $1 = 0 ]; then |
|---|
| 81 | /sbin/install-info --delete %{_infodir}/bison.info.gz %{_infodir}/dir \ |
|---|
| 82 | --entry="* bison: (bison). The GNU parser generator." |
|---|
| 83 | fi |
|---|
| 84 | |
|---|
| 85 | |
|---|
| 86 | %files -f %{name}.lang |
|---|
| 87 | %defattr(-,root,root) |
|---|
| 88 | %doc AUTHORS COPYING ChangeLog NEWS OChangeLog README THANKS TODO |
|---|
| 89 | %{_bindir}/bison |
|---|
| 90 | %{_libdir}/liby.a |
|---|
| 91 | %{_datadir}/bison |
|---|
| 92 | %{_datadir}/aclocal/*.m4 |
|---|
| 93 | %{_datadir}/locale/*/LC_MESSAGES/%{name}-runtime.mo |
|---|
| 94 | %{_mandir}/*/bison* |
|---|
| 95 | %{_infodir}/bison.info* |
|---|
| 96 | |
|---|
| 97 | |
|---|
| 98 | %changelog |
|---|
| 99 | * Tue Feb 21 2012 NAKAMURA Kenta <kenta@vinelinux.org> 2.5-1 |
|---|
| 100 | - new upstream release |
|---|
| 101 | |
|---|
| 102 | * Sat Dec 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.3-1 |
|---|
| 103 | - new upstream release |
|---|
| 104 | - delete Patch1 |
|---|
| 105 | |
|---|
| 106 | * Wed Feb 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-2 |
|---|
| 107 | - rebuilt with new toolchain |
|---|
| 108 | |
|---|
| 109 | * Tue Feb 3 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.4.1-1 |
|---|
| 110 | - new upstream release |
|---|
| 111 | - import Patch1 from Fedora |
|---|
| 112 | |
|---|
| 113 | * Sat Nov 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4-1 |
|---|
| 114 | - new upstream release |
|---|
| 115 | - spec in UTF-8 |
|---|
| 116 | |
|---|
| 117 | * Sun Apr 13 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.3-1 |
|---|
| 118 | - rebuild with new toolchain. |
|---|
| 119 | - apply new versioning policy. |
|---|
| 120 | |
|---|
| 121 | * Sat Nov 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.3-0vl1 |
|---|
| 122 | - new upstream release |
|---|
| 123 | |
|---|
| 124 | * Tue Mar 28 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.1-0vl1 |
|---|
| 125 | - new upstream release |
|---|
| 126 | |
|---|
| 127 | * Thu Jun 09 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0-6vl1 |
|---|
| 128 | - new upstream release |
|---|
| 129 | - dropped Patch1 |
|---|
| 130 | - added %doc files |
|---|
| 131 | - updated URL |
|---|
| 132 | |
|---|
| 133 | * Sun Feb 08 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.875-6vl1 |
|---|
| 134 | - add Patch1 from fedora |
|---|
| 135 | - add Requires: m4 |
|---|
| 136 | * Thu Oct 30 2003 Roland McGrath <roland@redhat.com> 1.875-6 |
|---|
| 137 | - add dependency on m4 (bug #108655) |
|---|
| 138 | * Wed Sep 24 2003 Roland McGrath <roland@redhat.com> 1.875-5 |
|---|
| 139 | - remove problematic __attribute__ use for label (bug #105034) |
|---|
| 140 | |
|---|
| 141 | * Sun Jul 6 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.875-3vl1 |
|---|
| 142 | - based on Rawhide 1.875-3 |
|---|
| 143 | - s/Copyright/License/ |
|---|
| 144 | |
|---|
| 145 | * Tue Dec 10 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.75-2vl1 |
|---|
| 146 | - new upstream release |
|---|
| 147 | - merged with rawhide release |
|---|
| 148 | * Thu Nov 21 2002 Tim Waugh <twaugh@redhat.com> 1.75-2 |
|---|
| 149 | - Run 'make check'. |
|---|
| 150 | - Apply patch from bison-patches to fix bash compilation. |
|---|
| 151 | * Thu Oct 17 2002 Florian La Roche <Florian.LaRoche@redhat.de> |
|---|
| 152 | - update to 1.75 |
|---|
| 153 | |
|---|
| 154 | * Fri May 31 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org> |
|---|
| 155 | - 1.35-2vl1: synced with rawhide |
|---|
| 156 | |
|---|
| 157 | * Thu Dec 28 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
|---|
| 158 | - 1.28-5vl1 |
|---|
| 159 | - rebuilt with new %%{_mandir} definition |
|---|
| 160 | - added Japanese summary and description |
|---|
| 161 | |
|---|
| 162 | * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 1.28-5vl1 |
|---|
| 163 | - build on Vine Linux with gcc-2.95.3 |
|---|
| 164 | |
|---|
| 165 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
|---|
| 166 | - automatic rebuild |
|---|
| 167 | |
|---|
| 168 | * Sun Jun 18 2000 Than Ngo <than@redhat.de> |
|---|
| 169 | - rebuilt in the new build environment |
|---|
| 170 | - FHS packaging |
|---|
| 171 | |
|---|
| 172 | * Sat May 27 2000 Ngo Than <than@redhat.de> |
|---|
| 173 | - rebuild for 7.0 |
|---|
| 174 | - put man pages and info files to correct place |
|---|
| 175 | |
|---|
| 176 | * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com> |
|---|
| 177 | - rebuild to gzip man page. |
|---|
| 178 | |
|---|
| 179 | * Fri Jul 16 1999 Jeff Johnson <jbj@redhat.com> |
|---|
| 180 | - update to 1.28. |
|---|
| 181 | |
|---|
| 182 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
|---|
| 183 | - auto rebuild in the new build environment (release 3) |
|---|
| 184 | |
|---|
| 185 | * Mon Mar 8 1999 Jeff Johnson <jbj@redhat.com> |
|---|
| 186 | - configure with datadir=/usr/lib (#1386). |
|---|
| 187 | |
|---|
| 188 | * Mon Feb 22 1999 Jeff Johnson <jbj@redhat.com> |
|---|
| 189 | - updated text in spec file. |
|---|
| 190 | - update to 1.27 |
|---|
| 191 | |
|---|
| 192 | * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> |
|---|
| 193 | - build for glibc 2.1 |
|---|
| 194 | |
|---|
| 195 | * Fri Apr 24 1998 Prospector System <bugs@redhat.com> |
|---|
| 196 | - translations modified for de, fr, tr |
|---|
| 197 | |
|---|
| 198 | * Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com> |
|---|
| 199 | - built for Manhattan |
|---|
| 200 | - added build root |
|---|
| 201 | |
|---|
| 202 | * Wed Oct 15 1997 Donnie Barnes <djb@redhat.com> |
|---|
| 203 | - various spec file cleanups |
|---|
| 204 | |
|---|
| 205 | * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> |
|---|
| 206 | - built against glibc |
|---|
| 207 | |
|---|