1 | %define byaccdate 20070509 |
---|
2 | |
---|
3 | Summary: A public domain Yacc parser generator. |
---|
4 | Summary(ja): パブリックドメイン yacc 構文解析器生成プログラム |
---|
5 | Name: byacc |
---|
6 | Version: 1.9 |
---|
7 | Release: 25%{?_dist_release} |
---|
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 |
---|
67 | * Wed Feb 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-25 |
---|
68 | - rebuilt with new toolchain |
---|
69 | |
---|
70 | * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9-24 |
---|
71 | - spec in utf-8 |
---|
72 | |
---|
73 | * Sun Apr 06 2008 Kazutaka HARADA <Kazutaka@dc4.so-net.ne.jp> 1.9-23 |
---|
74 | - update source and sync with fedora development |
---|
75 | - drop unnecessary patches |
---|
76 | - apply new versioning policy |
---|
77 | |
---|
78 | * Sun Jun 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9-22vl3 |
---|
79 | - s/Copyright/License/ |
---|
80 | |
---|
81 | * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.9-22vl2 |
---|
82 | - rebuild |
---|
83 | |
---|
84 | * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.9-22vl1 |
---|
85 | - based on 1.9-22 from Rawhide and built for Vine Linux |
---|
86 | - added Japanese summary and description |
---|
87 | |
---|
88 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
89 | - automated rebuild |
---|
90 | |
---|
91 | * Thu May 23 2002 Tim Powers <timp@redhat.com> |
---|
92 | - automated rebuild |
---|
93 | |
---|
94 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
95 | - automated rebuild |
---|
96 | |
---|
97 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
98 | - Bump release + rebuild. |
---|
99 | |
---|
100 | * Fri Jan 05 2001 Preston Brown <pbrown@redhat.com> |
---|
101 | - security patch for tmpfile creation from Olaf Kirch <okir@lst.de> |
---|
102 | |
---|
103 | * Fri Sep 29 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
104 | - Update to the version in FreeBSD CVS - it's actively maintained, unlike |
---|
105 | the 1993 4BSD version we used to have |
---|
106 | |
---|
107 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
108 | - automatic rebuild |
---|
109 | |
---|
110 | * Wed Jun 28 2000 Bill Nottingham <notting@redhat.com> |
---|
111 | - fix perms in tarball |
---|
112 | |
---|
113 | * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
114 | - FHSify |
---|
115 | - handle RPM_OPT_FLAGS |
---|
116 | |
---|
117 | * Sat May 6 2000 Bill Nottingham <notting@redhat.com> |
---|
118 | - fix yacc for ia64 |
---|
119 | |
---|
120 | * Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
121 | - rebuild to compress man pages |
---|
122 | - fix up manpage symlink |
---|
123 | |
---|
124 | * Wed Apr 07 1999 Preston Brown <pbrown@redhat.com> |
---|
125 | - man page fixed. |
---|
126 | |
---|
127 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
128 | - auto rebuild in the new build environment (release 10) |
---|
129 | |
---|
130 | * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com> |
---|
131 | - build for glibc 2.1 |
---|
132 | |
---|
133 | * Tue Aug 11 1998 Jeff Johnson <jbj@redhat.com> |
---|
134 | - build root |
---|
135 | |
---|
136 | * Tue May 05 1998 Prospector System <bugs@redhat.com> |
---|
137 | - translations modified for de, fr, tr |
---|
138 | |
---|
139 | * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com> |
---|
140 | - various spec file cleanups |
---|
141 | |
---|
142 | * Mon Jun 02 1997 Erik Troan <ewt@redhat.com> |
---|
143 | - built against glibc |
---|