]> git.pld-linux.org Git - packages/gforth.git/blob - gforth.spec
- release 3
[packages/gforth.git] / gforth.spec
1 Summary:        GNU Forth Language
2 Summary(pl.UTF-8):      Kompilator GNU Forth
3 Name:           gforth
4 Version:        0.7.3
5 Release:        2
6 License:        GPL v3+
7 Group:          Development/Languages
8 Source0:        http://ftp.gnu.org/gnu/gforth/%{name}-%{version}.tar.gz
9 # Source0-md5:  ff484391e5cdf405867fcf96341820ab
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-opt.patch
12 URL:            http://gnu.org/software/gforth/
13 BuildRequires:  autoconf >= 2.54
14 BuildRequires:  automake
15 BuildRequires:  ffcall-devel
16 BuildRequires:  libltdl-devel
17 BuildRequires:  libtool
18 BuildRequires:  texinfo
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         skip_post_check_so      .*%{_libdir}/gforth/%{version}/libcc-named/.*
22
23 %description
24 Gforth is a fast and portable implementation of the ANS Forth
25 language. It works nicely with the Emacs editor, offers some nice
26 features such as input completion and history and a powerful locals
27 facility, and it even has (the beginnings of) a manual. Gforth employs
28 traditional implementation techniques: its inner interpreter is
29 indirect or direct threaded. Gforth is distributed under the GNU
30 General Public License.
31
32 %description -l pl.UTF-8
33 Gforth jest szybką i przenośną implementacją języka ANS Forth. Dobrze
34 współpracuje z edytorem Emacs, oferując takie cechy jak dopełnianie i
35 historię wprowadzania ciągów znaków, ma także zaczątki podręcznika.
36 Gforth wykorzystuje tradycyjne techniki implementacji: jego wewnętrzny
37 interpreter jest pośrednio lub bezpośrednio wątkowany. Gforth jest
38 rozpowszechniany na Powszechnej Licencji Publicznej GNU.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %{__rm} doc/*.info*
46
47 %build
48 %{__aclocal}
49 %{__autoconf}
50 %configure
51
52 %{__make} -j1
53
54 %{__make} info
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gforth/%{version}/libcc-named/*.{la,a}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post   -p /sbin/postshell
68 -/usr/sbin/fix-info-dir -c %{_infodir}
69
70 %postun -p /sbin/postshell
71 -/usr/sbin/fix-info-dir -c %{_infodir}
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS BUGS NEWS NEWS.vmgen README README.vmgen ToDo
76 %attr(755,root,root) %{_bindir}/gforth*
77 %attr(755,root,root) %{_bindir}/vmgen*
78 %dir %{_libdir}/gforth
79 %dir %{_libdir}/gforth/%{version}
80 %dir %{_libdir}/gforth/%{version}/libcc-named
81 %attr(755,root,root) %{_libdir}/gforth/%{version}/libcc-named/*.so*
82 %attr(755,root,root) %{_libdir}/gforth/%{version}/gforth-ditc
83 %{_libdir}/gforth/%{version}/gforth.fi
84 %dir %{_libdir}/gforth/site-forth
85 %{_includedir}/gforth
86 %{_infodir}/gforth.info*
87 %{_infodir}/vmgen.info*
88 %{_mandir}/man1/gforth.1*
89 %{_datadir}/gforth
This page took 0.060403 seconds and 3 git commands to generate.