]> git.pld-linux.org Git - packages/Yap.git/blob - Yap.spec
- massive attack: adding Source-md5
[packages/Yap.git] / Yap.spec
1 Summary:        Prolog Compiler
2 Summary(pl):    Kompilator Prologu
3 Name:           Yap
4 Version:        4.3.22
5 Release:        2
6 License:        Artistic
7 Group:          Development/Languages
8 Source0:        http://www.ncc.up.pt/~vsc/Yap/Yap4.3/%{name}-%{version}.tar.gz
9 # Source0-md5:  f242618fc9e17ed2accd8e6b0ed68753
10 URL:            http://www.ncc.up.pt/~vsc/Yap
11 BuildRequires:  readline-devel
12 BuildRequires:  indent
13 BuildRequires:  gmp-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A high-performance Prolog compiler developed at LIACC, Universidade do
18 Porto. The Prolog engine is based in the WAM (Warren Abstract
19 Machine), with several optimizations for better performance. YAP
20 follows the Edinburgh tradition, and is largely compatible with the
21 ISO-Prolog standard and with Quintus and SICStus Prolog.
22
23 %description -l pl
24 Wydajny kompilator Prologu stworzony w LIACC, Universidade do
25 Porto. Silnik Prologu bazuje na WAM (Warren Abstract Machine), z
26 ró¿nymi optymalizacjami dla lepszej wydajno¶ci. Zgodnie z tradycj±
27 Edinburgh jest on wysoce kompatybilny ze standardem ISO-Prolog oraz
28 z Prologiem Quintus i SICStus.
29
30 %package static
31 Summary:        Static library for YAP Prolog
32 Summary(pl):    Statyczna biblioteka dla kompilatora Prologu YAP
33 Group:          Development/Languages
34 Requires:       %{name} = %{version}
35
36 %description static
37 Static library for YAP prolog.
38
39 %description static -l pl
40 Statyczna biblioteka dla kompilatora prologu YAP.
41
42 %prep
43 %setup -q
44
45 %build
46 %configure \
47         --enable-coroutining \
48         --enable-depth-limit \
49         --enable-low-level-tracer \
50         --enable-depth-limit
51
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_infodir},%{_examplesdir}/%{name}-%{version}}
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 install docs/*info* $RPM_BUILD_ROOT%{_infodir}
62
63 for d in chr clpqr; do
64         mv -f $RPM_BUILD_ROOT%{_datadir}/Yap/$d/examples \
65                 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/$d
66 done
67
68 %post
69 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
70 /sbin/ldconfig
71
72 %postun
73 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
74 /sbin/ldconfig
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc README* INSTALL changes4.3.html docs/yap.tex
82 %attr(755,root,root) %{_bindir}/yap
83 %attr(755,root,root) %{_libdir}/Yap/startup
84 %{_datadir}/Yap
85 %{_includedir}/Yap
86 %{_infodir}/*info*
87 %{_examplesdir}/%{name}-%{version}
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/libYap.a
This page took 0.107751 seconds and 3 git commands to generate.