]> git.pld-linux.org Git - packages/Yap.git/commitdiff
- updated to 4.5.5, added port,nolibs patches
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 24 Dec 2004 15:59:43 +0000 (15:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- set proper C_*_FLAGS - now surprisingly builds on alpha
- removed INSTALL from doc (useless in binary package)

Changed files:
    Yap.spec -> 1.9

Yap.spec

index 32b1ab8cb8fafddb71dfc14dd7883eb1f3e63432..ecbd1c553bb17d472f45f7f3d6c8afd203c36a2f 100644 (file)
--- a/Yap.spec
+++ b/Yap.spec
@@ -1,22 +1,26 @@
 Summary:       Prolog Compiler
 Summary(pl):   Kompilator Prologu
 Name:          Yap
-Version:       4.5.4
+Version:       4.5.5
 Release:       1
 License:       Artistic
 Group:         Development/Languages
 Source0:       http://dl.sourceforge.net/yap/%{name}-%{version}.tar.gz
-# Source0-md5: a31c469361e2e7893d04338444e52802
+# Source0-md5: 661e289f4bdac0e6cfc7e59d4421c2a8
 Patch0:                %{name}-acdirs.patch
+Patch1:                %{name}-port.patch
+Patch2:                %{name}-nolibs.patch
 URL:           http://www.ncc.up.pt/~vsc/Yap/
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: readline-devel
 BuildRequires: indent
 BuildRequires: gmp-devel
-ExcludeArch:   alpha
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# follow configure
+%define                specflags_ia32  -DBP_FREE
+
 %description
 A high-performance Prolog compiler developed at LIACC, Universidade do
 Porto. The Prolog engine is based in the WAM (Warren Abstract
@@ -35,7 +39,7 @@ z Prologiem Quintus i SICStus.
 Summary:       Static library for YAP Prolog
 Summary(pl):   Statyczna biblioteka dla kompilatora Prologu YAP
 Group:         Development/Languages
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description static
 Static library for YAP prolog.
@@ -46,16 +50,21 @@ Statyczna biblioteka dla kompilatora prologu YAP.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 cp -f /usr/share/automake/config.sub .
 %{__aclocal}
 %{__autoconf}
+CFLAGS="%{rpmcflags}%{!?debug: -fomit-frame-pointer} -Wall"
 %configure \
+       C_INTERF_FLAGS="%{rpmcflags} -Wall" \
+       C_PARSER_FLAGS="%{rpmcflags} -Wall" \
        --enable-coroutining \
+       %{?debug:--enable-debug-yap} \
        --enable-depth-limit \
-       --enable-low-level-tracer \
-       --enable-depth-limit
+       --enable-low-level-tracer
 
 %{__make}
 
@@ -86,7 +95,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README* INSTALL changes4.3.html docs/yap.tex
+%doc README* changes4.3.html docs/yap.tex
 %attr(755,root,root) %{_bindir}/yap
 %dir %{_libdir}/%{name}
 %attr(755,root,root) %{_libdir}/%{name}/*.so
This page took 0.06123 seconds and 4 git commands to generate.