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 Patch1: gforth-AC_CYGWIN.patch
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: texinfo
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Gforth is a fast and portable implementation of the ANS Forth
18 language. It works nicely with the Emacs editor, offers some nice
19 features such as input completion and history and a powerful locals
20 facility, and it even has (the beginnings of) a manual. Gforth employs
21 traditional implementation techniques: its inner innerpreter is
22 indirect or direct threaded. Gforth is distributed under the GNU
23 General Public license (see COPYING).
26 Gforth jest szybk± i przenoszaln± implementacj± jêzyka ANS Forth.
27 Dobrae wspólpracuje z edytorem Emacs oferuj±c takie cechy jak
28 kompletowanie i historiê wprowadzania ci±gów znaków.
39 cp -f /usr/share/automake/{missing,mkinstalldirs,install-sh,config*} .
44 (cd doc; makeinfo gforth.ds)
47 rm -rf $RPM_BUILD_ROOT
48 %{__make} install prefix=$RPM_BUILD_ROOT%{_prefix} \
49 exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
50 mandir=$RPM_BUILD_ROOT%{_mandir} \
51 infodir=$RPM_BUILD_ROOT%{_infodir}
53 rm -f $RPM_BUILD_ROOT%{_bindir}/{gforth,gforthmi}
54 mv -f $RPM_BUILD_ROOT%{_bindir}/gforth-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforth
55 mv -f $RPM_BUILD_ROOT%{_bindir}/gforthmi-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforthmi
58 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
61 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc AUTHORS README NEWS BUGS ToDo
69 %attr(755,root,root) %{_bindir}/*
70 %dir %{_libdir}/gforth
71 %dir %{_libdir}/gforth/site-forth
72 %dir %{_libdir}/gforth/0.4.0
73 %attr (755,root,root) %{_libdir}/gforth/0.4.0/gforth.fi