]>
Commit | Line | Data |
---|---|---|
d7956da1 | 1 | Summary: GNU Forth Language |
10e2183b | 2 | Summary(pl.UTF-8): Kompilator GNU Forth |
d7956da1 | 3 | Name: gforth |
2e08d3d3 | 4 | Version: 0.7.3 |
762728fe | 5 | Release: 3 |
f6afe597 | 6 | License: GPL v3+ |
9dc9bd26 | 7 | Group: Development/Languages |
6ff5da0d | 8 | Source0: http://ftp.gnu.org/gnu/gforth/%{name}-%{version}.tar.gz |
2e08d3d3 | 9 | # Source0-md5: ff484391e5cdf405867fcf96341820ab |
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 | |
2e08d3d3 JB |
21 | %define skip_post_check_so .*%{_libdir}/gforth/%{version}/libcc-named/.* |
22 | ||
e2b954ef | 23 | %description |
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 | |
bd6cdb60 | 28 | traditional implementation techniques: its inner interpreter is |
9dc9bd26 | 29 | indirect or direct threaded. Gforth is distributed under the GNU |
bd6cdb60 | 30 | General Public License. |
e2b954ef | 31 | |
e1cfd515 JR |
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 | |
bd6cdb60 | 38 | rozpowszechniany na Powszechnej Licencji Publicznej GNU. |
e2b954ef | 39 | |
40 | %prep | |
41 | %setup -q | |
368a94f7 | 42 | %patch0 -p1 |
43 | %patch1 -p1 | |
e2b954ef | 44 | |
2e08d3d3 | 45 | %{__rm} doc/*.info* |
bd6cdb60 | 46 | |
e2b954ef | 47 | %build |
9482c8e1 | 48 | %{__aclocal} |
f9725036 | 49 | %{__autoconf} |
368a94f7 | 50 | %configure |
c21ed134 | 51 | |
8c77c3b2 | 52 | %{__make} -j1 |
e2b954ef | 53 | |
f6afe597 | 54 | %{__make} info |
7afd7647 | 55 | |
e2b954ef | 56 | %install |
57 | rm -rf $RPM_BUILD_ROOT | |
cb8cd704 | 58 | |
bd6cdb60 | 59 | %{__make} install \ |
f6afe597 JB |
60 | DESTDIR=$RPM_BUILD_ROOT |
61 | ||
62 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gforth/%{version}/libcc-named/*.{la,a} | |
e2b954ef | 63 | |
bd6cdb60 JB |
64 | %clean |
65 | rm -rf $RPM_BUILD_ROOT | |
d7956da1 | 66 | |
f6afe597 | 67 | %post -p /sbin/postshell |
979580af | 68 | -/usr/sbin/fix-info-dir -c %{_infodir} |
e2b954ef | 69 | |
f6afe597 | 70 | %postun -p /sbin/postshell |
979580af | 71 | -/usr/sbin/fix-info-dir -c %{_infodir} |
e2b954ef | 72 | |
e2b954ef | 73 | %files |
d7956da1 | 74 | %defattr(644,root,root,755) |
f6afe597 JB |
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* | |
85679817 | 78 | %dir %{_libdir}/gforth |
bd6cdb60 | 79 | %dir %{_libdir}/gforth/%{version} |
f6afe597 JB |
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 | |
bd6cdb60 | 83 | %{_libdir}/gforth/%{version}/gforth.fi |
85679817 | 84 | %dir %{_libdir}/gforth/site-forth |
f6afe597 JB |
85 | %{_includedir}/gforth |
86 | %{_infodir}/gforth.info* | |
87 | %{_infodir}/vmgen.info* | |
88 | %{_mandir}/man1/gforth.1* | |
dd2c9751 | 89 | %{_datadir}/gforth |