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