1 Summary: GNU Forth Language
2 Summary(pl): Kompilator GNU Forth
8 Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
9 BuildRoot: /tmp/%{name}-%{version}-root
12 Gforth is a fast and portable implementation of the ANS Forth
13 language. It works nicely with the Emacs editor, offers some nice
14 features such as input completion and history and a powerful locals
15 facility, and it even has (the beginnings of) a manual. Gforth employs
16 traditional implementation techniques: its inner innerpreter is
17 indirect or direct threaded. Gforth is distributed under the GNU
18 General Public license (see COPYING).
21 Gforth jest szybk± i przenoszaln± implementacj± jêzyka ANS Forth.
22 Dobrae wspólpracuje z edytorem Emacs oferuj±c takie cechy jak kompletowanie
23 i historiê wprowadzania ci±gów znaków.
34 rm -rf $RPM_BUILD_ROOT
35 make install prefix=$RPM_BUILD_ROOT/usr \
36 exec_prefix=$RPM_BUILD_ROOT/usr \
37 mandir=$RPM_BUILD_ROOT%{_mandir} \
38 infodir=$RPM_BUILD_ROOT%{_infodir}
40 ln -sf gforth-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforth
41 ln -sf gforthmi-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforthmi
43 strip $RPM_BUILD_ROOT%{_bindir}/* || :
45 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/gforth.info* \
46 $RPM_BUILD_ROOT%{_mandir}/man1/* \
47 AUTHORS README NEWS BUGS ToDo
50 /sbin/install-info %{_infodir}/gforth.info.gz /usr/info/dir \
51 --section "Programming:" --entry \
52 "* Gforth: (gforth.info). The GNU ANS Forth."
55 /sbin/install-info --delete %{_infodir}/gforth.info.gz /usr/info/dir \
56 --section "Programming:" --entry \
57 "* Gforth: (gforth.info). The GNU ANS Forth."
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc {AUTHORS,README,NEWS,BUGS,ToDo}.gz
66 %attr(755,root,root) %{_bindir}/*