2005-08-22 16:21:16 +01:00
|
|
|
#%define _unpackaged_files_terminate_build 0
|
|
|
|
#%undefine __check_files
|
2003-07-22 20:04:43 +01:00
|
|
|
|
2010-10-24 20:26:49 +01:00
|
|
|
Name: yap
|
2001-04-09 20:54:03 +01:00
|
|
|
Summary: Prolog Compiler
|
2010-10-18 09:17:12 +01:00
|
|
|
Version: 6.2.0
|
2010-03-17 07:24:59 +00:00
|
|
|
Packager: Vitor Santos Costa <vsc@dcc.fc.up.pt>
|
2001-04-09 20:54:03 +01:00
|
|
|
Release: 1
|
2010-02-27 10:11:03 +00:00
|
|
|
Source: http://www.dcc.fc.up.pt/~vsc/Yap/%{name}-%{version}.tar.gz
|
2010-10-18 09:17:12 +01:00
|
|
|
License: Perl Artistic License, LGPL
|
2001-04-09 20:54:03 +01:00
|
|
|
Provides: yap
|
2010-10-18 09:17:12 +01:00
|
|
|
Requires: readline, odbc, gmp, cudd
|
2001-04-09 20:54:03 +01:00
|
|
|
Group: Development/Languages
|
2010-03-16 01:16:36 +00:00
|
|
|
URL: http://www.dcc.fc.up.pt/~vsc/Yap
|
2001-04-09 20:54:03 +01:00
|
|
|
Prefix: /usr
|
2005-08-22 16:21:16 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
%description
|
2010-03-17 07:24:59 +00:00
|
|
|
A high-performance Prolog compiler developed at
|
|
|
|
Universidade do Porto and Universidade Federal do Rio de Janeiro. The Prolog engine is based in the WAM (Warren
|
2001-04-09 20:54:03 +01:00
|
|
|
Abstract Machine), with several optimizations for better
|
|
|
|
performance. YAP follows the Edinburgh tradition, and is largely
|
|
|
|
compatible with the ISO-Prolog standard and with Quintus and SICStus
|
|
|
|
Prolog.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-06-29 02:33:35 +01:00
|
|
|
./configure --prefix=/usr --enable-max-performance --enable-depth-limit
|
2001-04-09 20:54:03 +01:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2005-08-22 16:21:16 +01:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/info
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_info
|
2010-10-24 20:26:49 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/Yap
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_docs
|
2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/install-info --quiet /usr/share/info/yap.info --section "Programming Languages" /usr/share/info/dir
|
|
|
|
/sbin/install-info --quiet /usr/share/info/pillow_doc.info --section "Programming Languages" /usr/share/info/dir
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/install-info --quiet --delete yap.info /usr/share/info/dir
|
|
|
|
/sbin/install-info --quiet --delete pillow_doc.info /usr/share/info/dir
|
|
|
|
|
|
|
|
rm -f /usr/info/yap.info*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}
|
|
|
|
|
|
|
|
%files
|
2005-08-22 16:21:16 +01:00
|
|
|
%defattr(-,root,root,-)
|
2001-04-09 20:54:03 +01:00
|
|
|
%doc README*
|
|
|
|
%doc INSTALL
|
2010-10-24 20:26:49 +01:00
|
|
|
%doc changes-6.0.html
|
|
|
|
%doc changes-5.1.html
|
|
|
|
%doc changes-5.0.html
|
2001-04-09 20:54:03 +01:00
|
|
|
%doc changes4.3.html
|
|
|
|
%doc docs/yap.tex
|
|
|
|
/usr/bin/yap
|
|
|
|
/usr/lib/Yap/
|
2005-08-22 16:21:16 +01:00
|
|
|
/usr/lib/libYap.a
|
|
|
|
/usr/include/Yap/
|
2003-07-21 20:13:30 +01:00
|
|
|
/usr/share/Yap/
|
2001-04-09 20:54:03 +01:00
|
|
|
/usr/share/info/yap.info*
|
|
|
|
/usr/share/info/pillow_doc.info*
|
2010-10-24 20:26:49 +01:00
|
|
|
/usr/share/doc/Yap
|
2001-04-09 20:54:03 +01:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
|