Author: baggins Date: Tue Jul 10 17:10:20 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - initial revision
---- Files affected: SPECS: BNFC.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/BNFC.spec diff -u /dev/null SPECS/BNFC.spec:1.1 --- /dev/null Tue Jul 10 19:10:20 2007 +++ SPECS/BNFC.spec Tue Jul 10 19:10:14 2007 @@ -0,0 +1,54 @@ +# $Revision$, $Date$ +Summary: BNF Converter +Name: BNFC +Version: 2.3 +Release: 0.b.1 +License: GPL +Group: Development/Tools +Source0: http://www.cs.chalmers.se/~markus/BNFC/%{name}_%{version}b.tgz +# Source0-md5: 1c31e0ef06ed27032a0f50d1b0ea860d +URL: http://www.cs.chalmers.se/~markus/BNFC/ +BuildRequires: ghc +BuildRequires: gmp-devel +BuildRequires: tetex-format-pdflatex +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The BNF Converter is a compiler construction tool generating +a compiler front-end from a Labelled BNF grammar. It was originally +written to generate Haskell, but starting from Version 2.0, +it can also be used for generating Java, C++, and C. + +%prep +%setup -q -n %{name}_%{version}b + +%build +%{__make} + +(cd doc; pdflatex LBNF-report.tex) + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}} + +install bnfc $RPM_BUILD_ROOT%{_bindir} +cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc TODO doc/*.pdf +%attr(755,root,root) %{_bindir}/* +%{_examplesdir}/%{name}-%{version} + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/07/10 17:10:14 baggins +- initial revision + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
