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