Summary: GNU Forth Language Summary(pl): Kompilator GNU Forth Name: gforth Version: 0.4.0 Release: 3 License: GPL Group: Development/Languages Source0: ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/%{name}-%{version}.tar.gz Patch0: %{name}-info.patch Patch1: gforth-AC_CYGWIN.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: texinfo BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Gforth is a fast and portable implementation of the ANS Forth language. It works nicely with the Emacs editor, offers some nice features such as input completion and history and a powerful locals facility, and it even has (the beginnings of) a manual. Gforth employs traditional implementation techniques: its inner innerpreter is indirect or direct threaded. Gforth is distributed under the GNU General Public license (see COPYING). %description -l pl Gforth jest szybką i przenoszalną implementacją języka ANS Forth. Dobrae wspólpracuje z edytorem Emacs oferując takie cechy jak kompletowanie i historię wprowadzania ciągów znaków. %prep %setup -q %patch0 -p1 %patch1 -p1 %build rm -f missiong %{__aclocal} %{__autoconf} cp -f /usr/share/automake/{missing,mkinstalldirs,install-sh,config*} . %configure %{__make} (cd doc; makeinfo gforth.ds) %install rm -rf $RPM_BUILD_ROOT %{__make} install prefix=$RPM_BUILD_ROOT%{_prefix} \ exec_prefix=$RPM_BUILD_ROOT%{_prefix} \ mandir=$RPM_BUILD_ROOT%{_mandir} \ infodir=$RPM_BUILD_ROOT%{_infodir} rm -f $RPM_BUILD_ROOT%{_bindir}/{gforth,gforthmi} mv -f $RPM_BUILD_ROOT%{_bindir}/gforth-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforth mv -f $RPM_BUILD_ROOT%{_bindir}/gforthmi-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforthmi %post [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS README NEWS BUGS ToDo %attr(755,root,root) %{_bindir}/* %dir %{_libdir}/gforth %dir %{_libdir}/gforth/site-forth %dir %{_libdir}/gforth/0.4.0 %attr (755,root,root) %{_libdir}/gforth/0.4.0/gforth.fi %{_infodir}/*info* %{_mandir}/man1/* %{_datadir}/gforth