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