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