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