]>
Commit | Line | Data |
---|---|---|
d7956da1 | 1 | Summary: GNU Forth Language |
10e2183b | 2 | Summary(pl.UTF-8): Kompilator GNU Forth |
d7956da1 | 3 | Name: gforth |
f6afe597 | 4 | Version: 0.7.0 |
bd6cdb60 | 5 | Release: 1 |
f6afe597 | 6 | License: GPL v3+ |
9dc9bd26 | 7 | Group: Development/Languages |
6ff5da0d | 8 | Source0: http://ftp.gnu.org/gnu/gforth/%{name}-%{version}.tar.gz |
f6afe597 | 9 | # Source0-md5: 2979ae86ede73ce2b3576dae957f4098 |
7afd7647 | 10 | Patch0: %{name}-info.patch |
bd6cdb60 | 11 | Patch1: %{name}-opt.patch |
f6afe597 | 12 | URL: http://gnu.org/software/gforth/ |
bd6cdb60 | 13 | BuildRequires: autoconf >= 2.54 |
368a94f7 | 14 | BuildRequires: automake |
f6afe597 JB |
15 | BuildRequires: ffcall-devel |
16 | BuildRequires: libltdl-devel | |
17 | BuildRequires: libtool | |
7afd7647 | 18 | BuildRequires: texinfo |
422e1dbb | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
e2b954ef | 20 | |
21 | %description | |
22 | Gforth is a fast and portable implementation of the ANS Forth | |
23 | language. It works nicely with the Emacs editor, offers some nice | |
24 | features such as input completion and history and a powerful locals | |
25 | facility, and it even has (the beginnings of) a manual. Gforth employs | |
bd6cdb60 | 26 | traditional implementation techniques: its inner interpreter is |
9dc9bd26 | 27 | indirect or direct threaded. Gforth is distributed under the GNU |
bd6cdb60 | 28 | General Public License. |
e2b954ef | 29 | |
e1cfd515 JR |
30 | %description -l pl.UTF-8 |
31 | Gforth jest szybką i przenośną implementacją języka ANS Forth. Dobrze | |
32 | współpracuje z edytorem Emacs, oferując takie cechy jak dopełnianie i | |
33 | historię wprowadzania ciągów znaków, ma także zaczątki podręcznika. | |
34 | Gforth wykorzystuje tradycyjne techniki implementacji: jego wewnętrzny | |
35 | interpreter jest pośrednio lub bezpośrednio wątkowany. Gforth jest | |
bd6cdb60 | 36 | rozpowszechniany na Powszechnej Licencji Publicznej GNU. |
e2b954ef | 37 | |
38 | %prep | |
39 | %setup -q | |
368a94f7 | 40 | %patch0 -p1 |
41 | %patch1 -p1 | |
e2b954ef | 42 | |
bd6cdb60 JB |
43 | rm -f doc/*.info* |
44 | ||
e2b954ef | 45 | %build |
9482c8e1 | 46 | %{__aclocal} |
f9725036 | 47 | %{__autoconf} |
368a94f7 | 48 | %configure |
c21ed134 | 49 | |
cbbddfd5 | 50 | %{__make} |
e2b954ef | 51 | |
f6afe597 | 52 | %{__make} info |
7afd7647 | 53 | |
e2b954ef | 54 | %install |
55 | rm -rf $RPM_BUILD_ROOT | |
cb8cd704 | 56 | |
bd6cdb60 | 57 | %{__make} install \ |
f6afe597 JB |
58 | DESTDIR=$RPM_BUILD_ROOT |
59 | ||
60 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gforth/%{version}/libcc-named/*.{la,a} | |
e2b954ef | 61 | |
bd6cdb60 JB |
62 | %clean |
63 | rm -rf $RPM_BUILD_ROOT | |
d7956da1 | 64 | |
f6afe597 | 65 | %post -p /sbin/postshell |
979580af | 66 | -/usr/sbin/fix-info-dir -c %{_infodir} |
e2b954ef | 67 | |
f6afe597 | 68 | %postun -p /sbin/postshell |
979580af | 69 | -/usr/sbin/fix-info-dir -c %{_infodir} |
e2b954ef | 70 | |
e2b954ef | 71 | %files |
d7956da1 | 72 | %defattr(644,root,root,755) |
f6afe597 JB |
73 | %doc AUTHORS BUGS NEWS NEWS.vmgen README README.vmgen ToDo |
74 | %attr(755,root,root) %{_bindir}/gforth* | |
75 | %attr(755,root,root) %{_bindir}/vmgen* | |
85679817 | 76 | %dir %{_libdir}/gforth |
bd6cdb60 | 77 | %dir %{_libdir}/gforth/%{version} |
f6afe597 JB |
78 | %dir %{_libdir}/gforth/%{version}/libcc-named |
79 | %attr(755,root,root) %{_libdir}/gforth/%{version}/libcc-named/*.so* | |
80 | %attr(755,root,root) %{_libdir}/gforth/%{version}/gforth-ditc | |
bd6cdb60 | 81 | %{_libdir}/gforth/%{version}/gforth.fi |
85679817 | 82 | %dir %{_libdir}/gforth/site-forth |
f6afe597 JB |
83 | %{_includedir}/gforth |
84 | %{_infodir}/gforth.info* | |
85 | %{_infodir}/vmgen.info* | |
86 | %{_mandir}/man1/gforth.1* | |
dd2c9751 | 87 | %{_datadir}/gforth |