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