]> git.pld-linux.org Git - packages/gforth.git/blob - gforth.spec
- release 2: fix info index enry for gfort (added info patch).
[packages/gforth.git] / gforth.spec
1 Summary:        GNU Forth Language
2 Summary(pl):    Kompilator GNU Forth 
3 Name:           gforth
4 Version:        0.4.0
5 Release:        2
6 License:        GPL
7 Group:          Development/Languages
8 Group(de):      Entwicklung/Sprachen
9 Group(pl):      Programowanie/Jêzyki
10 Source0:        ftp://ftp.complang.tuwien.ac.at/pub/forth/gforth/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-info.patch
12 BuildRequires:  texinfo
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 Gforth is a fast and portable implementation of the ANS Forth
17 language. It works nicely with the Emacs editor, offers some nice
18 features such as input completion and history and a powerful locals
19 facility, and it even has (the beginnings of) a manual. Gforth employs
20 traditional implementation techniques: its inner innerpreter is
21 indirect or direct threaded. Gforth is distributed under the GNU
22 General Public license (see COPYING).
23
24 %description -l pl
25 Gforth jest szybk± i przenoszaln± implementacj± jêzyka ANS Forth.
26 Dobrae wspólpracuje z edytorem Emacs oferuj±c takie cechy jak
27 kompletowanie i historiê wprowadzania ci±gów znaków.
28
29 %prep
30 %setup -q
31 %patch -p1
32
33 %build
34 %configure
35
36 %{__make}
37
38 (cd doc; makeinfo gforth.ds)
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} install prefix=$RPM_BUILD_ROOT%{_prefix} \
43         exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
44         mandir=$RPM_BUILD_ROOT%{_mandir} \
45         infodir=$RPM_BUILD_ROOT%{_infodir}
46
47 rm -f $RPM_BUILD_ROOT%{_bindir}/{gforth,gforthmi}
48 mv -f $RPM_BUILD_ROOT%{_bindir}/gforth-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforth
49 mv -f $RPM_BUILD_ROOT%{_bindir}/gforthmi-0.4.0 $RPM_BUILD_ROOT%{_bindir}/gforthmi
50
51 gzip -9nf AUTHORS README NEWS BUGS ToDo
52
53 %post
54 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
55
56 %postun
57 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc {AUTHORS,README,NEWS,BUGS,ToDo}.gz
65 %attr(755,root,root) %{_bindir}/*
66 %{_libdir}/gforth
67 %{_infodir}/*info*
68 %{_mandir}/man1/*
69 %{_datadir}/gforth
This page took 0.035045 seconds and 4 git commands to generate.