]> git.pld-linux.org Git - packages/gforth.git/blob - gforth.spec
- updated to 0.6.2
[packages/gforth.git] / gforth.spec
1 Summary:        GNU Forth Language
2 Summary(pl):    Kompilator GNU Forth
3 Name:           gforth
4 Version:        0.6.2
5 Release:        1
6 License:        GPL
7 Group:          Development/Languages
8 Source0:        ftp://ftp.gnu.org/gnu/gforth/%{name}-%{version}.tar.gz
9 # Source0-md5:  869112bd762b07fc4d2038a2d9965148
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-opt.patch
12 Patch2:         %{name}-acfix.patch
13 BuildRequires:  autoconf >= 2.54
14 BuildRequires:  automake
15 BuildRequires:  texinfo
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Gforth is a fast and portable implementation of the ANS Forth
20 language. It works nicely with the Emacs editor, offers some nice
21 features such as input completion and history and a powerful locals
22 facility, and it even has (the beginnings of) a manual. Gforth employs
23 traditional implementation techniques: its inner interpreter is
24 indirect or direct threaded. Gforth is distributed under the GNU
25 General Public License.
26
27 %description -l pl
28 Gforth jest szybk± i przeno¶n± implementacj± jêzyka ANS Forth. Dobrze
29 wspó³pracuje z edytorem Emacs, oferuj±c takie cechy jak dope³nianie i
30 historiê wprowadzania ci±gów znaków, ma tak¿e zacz±tki podrêcznika.
31 Gforth wykorzystuje tradycyjne techniki implementacji: jego wewnêtrzny
32 interpreter jest po¶rednio lub bezpo¶rednio w±tkowany. Gforth jest
33 rozpowszechniany na Powszechnej Licencji Publicznej GNU.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 rm -f doc/*.info*
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %configure
47
48 %{__make}
49
50 cd doc
51 makeinfo gforth.ds
52 makeinfo vmgen.texi
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         prefix=$RPM_BUILD_ROOT%{_prefix} \
59         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
60         mandir=$RPM_BUILD_ROOT%{_mandir} \
61         infodir=$RPM_BUILD_ROOT%{_infodir}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
68
69 %postun
70 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS README NEWS BUGS ToDo
75 %attr(755,root,root) %{_bindir}/*
76 %dir %{_libdir}/gforth
77 %dir %{_libdir}/gforth/%{version}
78 %attr (755,root,root) %{_libdir}/gforth/%{version}/gforth-ditc
79 %{_libdir}/gforth/%{version}/gforth.fi
80 %dir %{_libdir}/gforth/site-forth
81 %{_infodir}/*.info*
82 %{_mandir}/man1/*
83 %{_datadir}/gforth
This page took 0.076126 seconds and 4 git commands to generate.