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