File yap.spec of Package yap
#
# spec file for package yap
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An “Open Source License” is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: yap
Summary: Yet Another Prolog
Version: 5.1.3
Release: 1
License: Other
Group: Development/Languages/Other
URL: http://www.dcc.fc.up.pt/~vsc/Yap
Source0: Yap-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: make gcc gcc-c++ glibc-devel
%description
YAP is a high-performance Prolog compiler developed at CRACS and LIACC/Universidade do Porto. Its Prolog engine is based in the WAM (Warren 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. YAP has been developed since 1985. The original version was written in assembly, C and Prolog, and achieved high performance on m68k based machines. The assembly code was used to implement the WAM emulators. Later emulators supported the VAX, SPARC, and MIPS architectures.
%prep
%setup -n Yap-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
./configure
make
%install
make install
%post
%postun
%clean
rm -fr %buildroot
%files -f %{name}.lang
%defattr(-,root,root)
%changelog
* Mon Oct 12 2009 - Radomir Cernoch <radomir.cernoch@gmail.com> - 1.0.0
- Initial release