1 Summary: GNU Forth Language
2 Summary(pl.UTF-8): Kompilator GNU Forth
7 Group: Development/Languages
8 Source0: http://ftp.gnu.org/gnu/gforth/%{name}-%{version}.tar.gz
9 # Source0-md5: ff484391e5cdf405867fcf96341820ab
10 Patch0: %{name}-info.patch
11 Patch1: %{name}-opt.patch
12 URL: http://gnu.org/software/gforth/
13 BuildRequires: autoconf >= 2.54
14 BuildRequires: automake
15 BuildRequires: ffcall-devel
16 BuildRequires: libltdl-devel
17 BuildRequires: libtool
18 BuildRequires: texinfo
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define skip_post_check_so .*%{_libdir}/gforth/%{version}/libcc-named/.*
24 Gforth is a fast and portable implementation of the ANS Forth
25 language. It works nicely with the Emacs editor, offers some nice
26 features such as input completion and history and a powerful locals
27 facility, and it even has (the beginnings of) a manual. Gforth employs
28 traditional implementation techniques: its inner interpreter is
29 indirect or direct threaded. Gforth is distributed under the GNU
30 General Public License.
32 %description -l pl.UTF-8
33 Gforth jest szybką i przenośną implementacją języka ANS Forth. Dobrze
34 współpracuje z edytorem Emacs, oferując takie cechy jak dopełnianie i
35 historię wprowadzania ciągów znaków, ma także zaczątki podręcznika.
36 Gforth wykorzystuje tradycyjne techniki implementacji: jego wewnętrzny
37 interpreter jest pośrednio lub bezpośrednio wątkowany. Gforth jest
38 rozpowszechniany na Powszechnej Licencji Publicznej GNU.
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
62 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gforth/%{version}/libcc-named/*.{la,a}
65 rm -rf $RPM_BUILD_ROOT
67 %post -p /sbin/postshell
68 -/usr/sbin/fix-info-dir -c %{_infodir}
70 %postun -p /sbin/postshell
71 -/usr/sbin/fix-info-dir -c %{_infodir}
74 %defattr(644,root,root,755)
75 %doc AUTHORS BUGS NEWS NEWS.vmgen README README.vmgen ToDo
76 %attr(755,root,root) %{_bindir}/gforth*
77 %attr(755,root,root) %{_bindir}/vmgen*
78 %dir %{_libdir}/gforth
79 %dir %{_libdir}/gforth/%{version}
80 %dir %{_libdir}/gforth/%{version}/libcc-named
81 %attr(755,root,root) %{_libdir}/gforth/%{version}/libcc-named/*.so*
82 %attr(755,root,root) %{_libdir}/gforth/%{version}/gforth-ditc
83 %{_libdir}/gforth/%{version}/gforth.fi
84 %dir %{_libdir}/gforth/site-forth
86 %{_infodir}/gforth.info*
87 %{_infodir}/vmgen.info*
88 %{_mandir}/man1/gforth.1*