From 2312efb787ce56278d73473fe0d1e8962a217eeb Mon Sep 17 00:00:00 2001 From: Petr Machata Date: Feb 02 2007 14:42:21 +0000 Subject: - Thomas Dickey's 20050813 version of byacc: - own build system (linux patch reverted) - use tmpfile (security patch reverted) - Tidy up the specfile per rpmlint comments --- diff --git a/.cvsignore b/.cvsignore index 32d8788..124ec98 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -yacc-1.9-fbsd.tar.gz +byacc-20050813.tgz diff --git a/byacc.spec b/byacc.spec new file mode 100644 index 0000000..f38b167 --- /dev/null +++ b/byacc.spec @@ -0,0 +1,140 @@ +%define byaccdate 20050813 + +Summary: A public domain Yacc parser generator +Name: byacc +Version: 1.9.%{byaccdate} +Release: 1%{?dist} +License: Public Domain +Group: Development/Tools +URL: http://dickey.his.com/byacc/byacc.html +Source: ftp://invisible-island.net/byacc/byacc-20050813.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Byacc (Berkeley Yacc) is a public domain LALR parser generator which +is used by many programs during their build process. + +If you are going to do development on your system, you will want to install +this package. + +%prep +%setup -q -n byacc-%{byaccdate} + +%build +%configure --disable-dependency-tracking +make + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +ln -s yacc $RPM_BUILD_ROOT/usr/bin/byacc +ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1 + +%check +echo ====================TESTING========================= +make check +echo ====================TESTING END===================== + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +/usr/bin/yacc +/usr/bin/byacc +%{_mandir}/man1/yacc.1* +%{_mandir}/man1/byacc.1* + +%changelog +* Thu Feb 2 2007 Petr Machata - 1.9.20050813-1 +- Thomas Dickey's 20050813 version of byacc: + - own build system (linux patch reverted) + - use tmpfile (security patch reverted) +- Tidy up the specfile per rpmlint comments + +* Wed Jul 12 2006 Jesse Keating - 1.9-29.2.2 +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 1.9-29.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.9-29.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Sun Feb 27 2005 Florian La Roche +- Copyright: -> License: + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Thu Dec 05 2002 Elliot Lee 1.9-23 +- Rebuild + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Wed Jan 09 2002 Tim Powers +- automated rebuild + +* Sun Jun 24 2001 Elliot Lee +- Bump release + rebuild. + +* Fri Jan 05 2001 Preston Brown +- security patch for tmpfile creation from Olaf Kirch + +* Fri Sep 29 2000 Bernhard Rosenkraenzer +- Update to the version in FreeBSD CVS - it's actively maintained, unlike + the 1993 4BSD version we used to have + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Wed Jun 28 2000 Bill Nottingham +- fix perms in tarball + +* Mon Jun 19 2000 Bernhard Rosenkraenzer +- FHSify +- handle RPM_OPT_FLAGS + +* Sat May 6 2000 Bill Nottingham +- fix yacc for ia64 + +* Fri Feb 4 2000 Bernhard Rosenkraenzer +- rebuild to compress man pages +- fix up manpage symlink + +* Wed Apr 07 1999 Preston Brown +- man page fixed. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 10) + +* Thu Dec 17 1998 Cristian Gafton +- build for glibc 2.1 + +* Tue Aug 11 1998 Jeff Johnson +- build root + +* Tue May 05 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Oct 23 1997 Donnie Barnes +- various spec file cleanups + +* Mon Jun 02 1997 Erik Troan +- built against glibc diff --git a/sources b/sources index f59d5b9..4f0da8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -638021c9b04f40f3850b590529e5b3e6 yacc-1.9-fbsd.tar.gz +8fbf9572a448e13ecb7223c774f9d0b8 byacc-20050813.tgz