Yap-5.0 review.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1374 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
rslopes 2005-08-22 15:21:16 +00:00
parent dd6ac01ece
commit 5aceb1918a
1 changed files with 13 additions and 8 deletions

View File

@ -1,10 +1,10 @@
%define _unpackaged_files_terminate_build 0 #%define _unpackaged_files_terminate_build 0
%undefine __check_files #%undefine __check_files
Name: Yap Name: Yap
Summary: Prolog Compiler Summary: Prolog Compiler
Version: 4.5.7 Version: 5.0.0
Packager: Vitor Santos Costa <vitor@cos.ufrj.br> Packager: Vitor Santos Costa <vitor@cos.ufrj.br>
Release: 1 Release: 1
Source: http://www.ncc.up.pt/~vsc/Yap/%{name}-%{version}.tar.gz Source: http://www.ncc.up.pt/~vsc/Yap/%{name}-%{version}.tar.gz
Copyright: Perl Artistic License Copyright: Perl Artistic License
@ -13,6 +13,7 @@ Requires: readline
Group: Development/Languages Group: Development/Languages
URL: http://www.ncc.up.pt/~vsc/Yap URL: http://www.ncc.up.pt/~vsc/Yap
Prefix: /usr Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description %description
A high-performance Prolog compiler developed at LIACC, A high-performance Prolog compiler developed at LIACC,
@ -23,17 +24,18 @@ compatible with the ISO-Prolog standard and with Quintus and SICStus
Prolog. Prolog.
%prep %prep
rm -rf $RPM_BUILD_ROOT
%setup -q %setup -q
%build %build
./configure --prefix=/usr --enable-coroutining --enable-max-performance ./configure --prefix=/usr --enable-max-performance
make make
%install %install
make install rm -rf $RPM_BUILD_ROOT
make install_info make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT/usr/share/info
make DESTDIR=$RPM_BUILD_ROOT install_info
%post %post
/sbin/install-info --quiet /usr/share/info/yap.info --section "Programming Languages" /usr/share/info/dir /sbin/install-info --quiet /usr/share/info/yap.info --section "Programming Languages" /usr/share/info/dir
@ -49,12 +51,15 @@ rm -f /usr/info/yap.info*
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name} rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name}
%files %files
%defattr(-,root,root,-)
%doc README* %doc README*
%doc INSTALL %doc INSTALL
%doc changes4.3.html %doc changes4.3.html
%doc docs/yap.tex %doc docs/yap.tex
/usr/bin/yap /usr/bin/yap
/usr/lib/Yap/ /usr/lib/Yap/
/usr/lib/libYap.a
/usr/include/Yap/
/usr/share/Yap/ /usr/share/Yap/
/usr/share/info/yap.info* /usr/share/info/yap.info*
/usr/share/info/pillow_doc.info* /usr/share/info/pillow_doc.info*