1 Summary: Prolog Compiler
2 Summary(pl): Kompilator Prologu
7 Group: Development/Languages
8 Source0: http://dl.sourceforge.net/yap/%{name}-%{version}.tar.gz
9 # Source0-md5: a31c469361e2e7893d04338444e52802
10 Patch0: %{name}-acdirs.patch
11 URL: http://www.ncc.up.pt/~vsc/Yap/
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: readline-devel
16 BuildRequires: gmp-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 A high-performance Prolog compiler developed at LIACC, Universidade do
21 Porto. The Prolog engine is based in the WAM (Warren Abstract
22 Machine), with several optimizations for better performance. YAP
23 follows the Edinburgh tradition, and is largely compatible with the
24 ISO-Prolog standard and with Quintus and SICStus Prolog.
27 Wydajny kompilator Prologu stworzony w LIACC, Universidade do
28 Porto. Silnik Prologu bazuje na WAM (Warren Abstract Machine), z
29 ró¿nymi optymalizacjami dla lepszej wydajno¶ci. Zgodnie z tradycj±
30 Edinburgh jest on wysoce kompatybilny ze standardem ISO-Prolog oraz
31 z Prologiem Quintus i SICStus.
34 Summary: Static library for YAP Prolog
35 Summary(pl): Statyczna biblioteka dla kompilatora Prologu YAP
36 Group: Development/Languages
37 Requires: %{name} = %{version}
40 Static library for YAP prolog.
42 %description static -l pl
43 Statyczna biblioteka dla kompilatora prologu YAP.
50 cp -f /usr/share/automake/config.sub .
54 --enable-coroutining \
55 --enable-depth-limit \
56 --enable-low-level-tracer \
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT{%{_infodir},%{_examplesdir}/%{name}-%{version}}
66 DESTDIR=$RPM_BUILD_ROOT
68 install docs/*info* $RPM_BUILD_ROOT%{_infodir}
70 for d in chr clpqr; do
71 mv -f $RPM_BUILD_ROOT%{_datadir}/Yap/$d/examples \
72 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$d
76 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
80 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
84 rm -rf $RPM_BUILD_ROOT
87 %defattr(644,root,root,755)
88 %doc README* INSTALL changes4.3.html docs/yap.tex
89 %attr(755,root,root) %{_bindir}/yap
90 %dir %{_libdir}/%{name}
91 %attr(755,root,root) %{_libdir}/%{name}/*.so
92 %attr(755,root,root) %{_libdir}/%{name}/startup
94 %{_includedir}/%{name}
96 %{_examplesdir}/%{name}-%{version}
99 %defattr(644,root,root,755)