Name: treecc
Version: 0.3.0
Release: 0.fdr.1.1
Epoch: 0
Summary: Tree Compiler Compiler.
Group: Development/Tools
License: GPL
URL: http://dotgnu.org/
Source0: ftp://ftp.gnu.org/gnu/dotgnu/pnet/treecc-0.3.0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: flex >= 0:2.5.4
BuildRequires: bison >= 0:1.28
BuildRequires: m4
BuildRequires: texinfo
Requires(post,preun): info
%description
The treecc program is designed to assist in the development of compilers
and other language-based tools. It manages the generation of code to handle
abstract syntax trees and operations upon the trees.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
make check
%install
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT}
%clean
rm -rf ${RPM_BUILD_ROOT}
%post
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
%preun
if [ "$1" -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_infodir}/*
%{_mandir}/man1/*
%changelog
* Mon Mar 15 2004 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.3.0-0.fdr.1
- Update to 0.3.0.
- Add make check.
* Sat Nov 15 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.2.6-0.fdr.4
- BuildReq m4.
* Sun Sep 21 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.2.6-0.fdr.3
- removed aesthetic comments.
- brought spec more in line with current template.
* Thu Jul 24 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.2.6-0.fdr.2
- BuildReq texinfo.
- Req(post,preun) info.
- Changed URL.
* Fri Jul 18 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.2.6-0.fdr.1
- Updated to 0.2.6.
- Removed INSTALL from doc.
- buildroot -> RPM_BUILD_ROOT.
- Correctd Group.
* Tue Apr 01 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0:0.2.4-0.fdr.2
- Added Epoch:0.
- Removed ldconfig from post and postun.
* Sat Mar 29 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.2.4-0.fdr.1
- Updated to 0.2.4.
* Mon Mar 24 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.2.2-0.fdr.2
- Cleaned up for Fedora.
* Sat Mar 08 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.2.2-0.fdr.1
- Spec cleanup.
* Thu Feb 27 2003 Phillip Compton <pcompton[AT]proteinmedia.com> - 0.2.2-1.fedora.2
- Spec cleanup.
* Fri Feb 07 2003 Phillip Compton
- Initial build.