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