1 Summary: GNU Forth Language
2 Summary(pl): Kompilator GNU Forth
7 Group: Development/Languages
8 Source0: ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/%{name}-%{version}.tar.gz
9 Patch0: %{name}-info.patch
10 BuildRequires: texinfo
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 Gforth is a fast and portable implementation of the ANS Forth
15 language. It works nicely with the Emacs editor, offers some nice
16 features such as input completion and history and a powerful locals
17 facility, and it even has (the beginnings of) a manual. Gforth employs
18 traditional implementation techniques: its inner innerpreter is
19 indirect or direct threaded. Gforth is distributed under the GNU
20 General Public license (see COPYING).
23 Gforth jest szybk± i przenoszaln± implementacj± jêzyka ANS Forth.
24 Dobrae wspólpracuje z edytorem Emacs oferuj±c takie cechy jak
25 kompletowanie i historiê wprowadzania ci±gów znaków.
36 (cd doc; makeinfo gforth.ds)
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install prefix=$RPM_BUILD_ROOT%{_prefix} \
41 exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
42 mandir=$RPM_BUILD_ROOT%{_mandir} \
43 infodir=$RPM_BUILD_ROOT%{_infodir}
45 rm -f $RPM_BUILD_ROOT%{_bindir}/{gforth,gforthmi}
46 mv -f $RPM_BUILD_ROOT%{_bindir}/gforth-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforth
47 mv -f $RPM_BUILD_ROOT%{_bindir}/gforthmi-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforthmi
49 gzip -9nf AUTHORS README NEWS BUGS ToDo
52 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
55 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc {AUTHORS,README,NEWS,BUGS,ToDo}.gz
63 %attr(755,root,root) %{_bindir}/*
64 %dir %{_libdir}/gforth
65 %dir %{_libdir}/gforth/site-forth
66 %dir %{_libdir}/gforth/0.4.0
67 %attr (755,root,root) %{_libdir}/gforth/0.4.0/gforth.fi