Summary: The Purdue Compiler-Compiler Tool Set. Name: pccts Version: 1.33mr33 Release: 1%{?_dist_release} Source: http://www.polhode.com/pccts133mr33.zip URL: http://www.polhode.com/pccts.html License: Public domain Group: Development/Tools BuildRoot: %{_tmppath}/%{name}-root Prefix: %{_prefix} %description The Purdue Compiler-Compiler Tool Set (PCCTS) is a set of public domain software tools designed to facilitate the implementation of compilers and other translation systems. These tools currently include antlr, dlg and support code. In many ways, PCCTS is similar to a highly integrated version of YACC and LEX; where antlr (ANother Tool for Language Recognition) corresponds to YACC and dlg (DFA-based Lexical analyzer Generator) functions like LEX. However, PCCTS has many additional features which make it easier to use for a wider range of translation problems. %prep rm -rf $RPM_BUILD_DIR/pccts/ unzip -q %{SOURCE0} %setup -DT -n pccts %build mkdir -p $RPM_BUILD_DIR/pccts/man/man1 #make COPT="$RPM_OPT_FLAGS" MANDIR=man %{?_smp_mflags} pccts manpages make COPT="$RPM_OPT_FLAGS -DPCCTS_USE_STDARG" MANDIR=man %{?_smp_mflags} pccts manpages %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix}/{bin,share/man/man1,include/pccts} install -s -m755 bin/antlr $RPM_BUILD_ROOT%{_bindir} install -m644 man/man1/antlr.1 $RPM_BUILD_ROOT%{_mandir}/man1 install -s -m755 bin/dlg $RPM_BUILD_ROOT%{_bindir} install -m644 man/man1/dlg.1 $RPM_BUILD_ROOT%{_mandir}/man1 install -s -m755 bin/genmk $RPM_BUILD_ROOT%{_bindir} install -s -m755 bin/sor $RPM_BUILD_ROOT%{_bindir} cp -a h/* $RPM_BUILD_ROOT%{_includedir}/pccts cp -a sorcerer/h/*.h $RPM_BUILD_ROOT%{_includedir}/pccts cp sorcerer/README README-sorcerer cp sorcerer/UPDATES UPDATES-sorcerer %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc CHANGES_FROM_131.txt CHANGES_FROM_133.txt KNOWN_PROBLEMS.txt %doc NOTES.OS2 NOTES.bcc NOTES.msvc NOTES.watcom README RIGHTS %doc history.ps history.txt README-sorcerer UPDATES-sorcerer %attr(755,root,root) %{_bindir}/antlr %attr(755,root,root) %{_bindir}/dlg %attr(755,root,root) %{_bindir}/genmk %attr(755,root,root) %{_bindir}/sor %attr(755,root,root) %dir %{_includedir}/pccts %attr(644,root,root) %{_includedir}/pccts/* %attr(644,root,root) %{_mandir}/*/* %changelog * Sat Sep 06 2008 Shu KONNO 1.33mr33-1vl5 - applied new versioning policy - added flag -DPCCTS_USE_STDARG to COPT * Sun Sep 21 2003 AKIYAMA Kazuhito 1.33mr33-0vl1 - source upgrade * Wed May 29 2002 Satoshi MACHINO 1.33mr31-4vl1 - build on VineLinux - used rpmmacros * Sun May 26 2002 Tim Powers - automated rebuild * Tue May 21 2002 Mike A. Harris 1.33mr31-3 - Rebuilt in new environment to be able to build cdrdao * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Jan 03 2002 Elliot Lee - Update to MR31 * Mon May 21 2001 Tim Powers - rebuilt for the .distro * Mon Jul 24 2000 Prospector - rebuilt * Mon Jul 10 2000 Tim Powers - rebuilt * Wed Jun 21 2000 Tim Powers - fixed man page location to be FHS comliant * Mon May 8 2000 Tim Powers - updated to MR22 * Tue Nov 2 1999 Tim Powers - updated to MR20 * Sat Jul 10 1999 Tim Powers - updated version to mr19 - updated URL * Wed Jan 6 1999 Michael Maher - built package for powertools - fixed broken includes dir * Mon Jan 4 1999 Ryan Weaver [pccts-1.33mr17-1] - #212. (Changed in MR17) Mac related changes by Kenji Tanaka * Wed Dec 16 1998 Ryan Weaver - Updated to 1.33 Maintainance Release 16a - Including sor and sorcerer header files. - #211. (Changed in MR16a) C++ style comment in dlg - #210. (Changed in MR16a) Sor accepts \r\n, \r, or \n for end-of-line * Fri Dec 11 1998 Ryan Weaver - Updated to 1.33 Maintainance Release 16 - #209. (Changed in MR16) Name of files changed. - #208. (Changed in MR16) Change in use of pccts #include files - #207. (Changed in MR16) dlg reports an invalid range for: [\0x00-\0xff] - #206. (Changed in MR16) Free zzFAILtext in ANTLRParser destructor - #205. (Changed in MR16) DLGStringReset argument now const * Mon Mar 23 1998 Elliot Lee 1.33-4 - Include header files * Mon Mar 23 1998 Elliot Lee 1.33-3 - Repackage for glibc