|
|
1ec1da1 |
Name: pl
|
|
|
37e2751 |
Version: 5.4.6
|
|
|
2f7cab2 |
Release: 8
|
|
|
2f7cab2 |
|
|
|
1ec1da1 |
Summary: SWI-Prolog - Edinburgh compatible Prolog compiler
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
Group: Development/Languages
|
|
|
1ec1da1 |
License: LGPL
|
|
|
1ec1da1 |
URL: http://www.swi-prolog.org
|
|
|
37e2751 |
Source: http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-5.4.6.tar.gz
|
|
|
1ec1da1 |
Source1: http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/refman/HTMLmanual.tar.gz
|
|
|
1ec1da1 |
Source2: http://gollem.science.uva.nl/cgi-bin/nph-download/xpce/doc/userguide/userguide.html.tgz
|
|
|
bfc23f7 |
Patch: pl-5.4.6-rpath.patch
|
|
|
b690f88 |
Patch1: pl-5.4.6-multilib.patch
|
|
|
16634c0 |
Patch2: pl-5.4.6-visibilityabuse.patch
|
|
|
1ec1da1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ba3c8a5 |
BuildRequires: xorg-x11-devel, libjpeg-devel, readline-devel, openssl-devel
|
|
|
7af9130 |
BuildRequires: unixODBC-devel
|
|
|
1ec1da1 |
|
|
|
d06630e |
# x86_64 excluded due to build failure: https://bugzilla.redhat.com/149038
|
|
|
d06630e |
ExcludeArch: x86_64
|
|
|
d06630e |
|
|
|
1ec1da1 |
%description
|
|
|
1ec1da1 |
ISO/Edinburgh-style Prolog compiler including modules, autoload,
|
|
|
1ec1da1 |
libraries, Garbage-collector, stack-expandor, C/C++-interface,
|
|
|
1ec1da1 |
GNU-readline interface, very fast compiler. Including packages clib
|
|
|
1ec1da1 |
(Unix process control and sockets), cpp (C++ interface), sgml (reading
|
|
|
1ec1da1 |
XML/SGML), sgml/RDF (reading RDF into triples) and XPCE (Graphics UI
|
|
|
1ec1da1 |
toolkit, integrated editor (Emacs-clone) and source-level debugger).
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
%prep
|
|
|
1ec1da1 |
%setup -q
|
|
|
ba3c8a5 |
%patch -p1
|
|
|
b690f88 |
%patch1 -p1 -b .multilib
|
|
|
16634c0 |
%patch2 -p1 -b .vis
|
|
|
1ec1da1 |
(
|
|
|
1ec1da1 |
mkdir doc-install
|
|
|
1ec1da1 |
cd doc-install
|
|
|
1ec1da1 |
tar zxf %{SOURCE1}
|
|
|
1ec1da1 |
tar zxf %{SOURCE2}
|
|
|
1ec1da1 |
)
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
%build
|
|
|
1ec1da1 |
%configure
|
|
|
1ec1da1 |
make COFLAGS="$RPM_OPT_FLAGS"
|
|
|
37e2751 |
PATH=$PWD/src:$PATH
|
|
|
37e2751 |
cd packages
|
|
|
37e2751 |
%configure --without-jpl
|
|
|
37e2751 |
make COFLAGS="$RPM_OPT_FLAGS"
|
|
|
37e2751 |
cd ..
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
%install
|
|
|
1ec1da1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1ec1da1 |
mkdir -p $RPM_BUILD_ROOT%{_prefix}
|
|
|
b690f88 |
%makeinstall
|
|
|
1ec1da1 |
(cd packages && \
|
|
|
1ec1da1 |
PATH=$RPM_BUILD_ROOT/usr/bin:$PATH make rpm-install \
|
|
|
1ec1da1 |
PLBASE=$RPM_BUILD_ROOT%{_libdir}/pl-%{version} \
|
|
|
1ec1da1 |
prefix=$RPM_BUILD_ROOT%{_prefix} \
|
|
|
1ec1da1 |
bindir=$RPM_BUILD_ROOT%{_bindir} \
|
|
|
b690f88 |
libdir=$RPM_BUILD_ROOT%{_libdir} \
|
|
|
1ec1da1 |
mandir=$RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
1ec1da1 |
)
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/pl-%{version}/man
|
|
|
1ec1da1 |
rm -fr $RPM_BUILD_ROOT%{_mandir}/man3/readline*
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
%clean
|
|
|
1ec1da1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
%files
|
|
|
1ec1da1 |
%defattr(-,root,root,-)
|
|
|
1ec1da1 |
%doc ChangeLog README COPYING ANNOUNCE VERSION
|
|
|
1ec1da1 |
%doc dotfiles/dot*
|
|
|
1ec1da1 |
%doc doc-install/*
|
|
|
1ec1da1 |
%{_mandir}/man1/*
|
|
|
1ec1da1 |
%{_libdir}/pl*
|
|
|
1ec1da1 |
%{_bindir}/*
|
|
|
1ec1da1 |
|
|
|
1ec1da1 |
%changelog
|
|
|
2f7cab2 |
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
2f7cab2 |
- rebuilt
|
|
|
2f7cab2 |
|
|
|
16634c0 |
* Wed Feb 23 2005 David Woodhouse <dwmw2@infradead.org> - 5.4.6-7
|
|
|
16634c0 |
- Fix visibility abuse. This may well fix x86_64 too, so re-enable that.
|
|
|
16634c0 |
|
|
|
0890604 |
* Mon Feb 21 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.6-6
|
|
|
d6a46ac |
- Exclude x86_64 for now (bugzilla 149038)
|
|
|
0890604 |
|
|
|
b690f88 |
* Sun Feb 20 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 5.4.6-5
|
|
|
b690f88 |
- Added patch1 for a few multilib Makefile/configure fixes.
|
|
|
b690f88 |
- Use %%makeinstall and set libdir in install section.
|
|
|
b690f88 |
|
|
|
7af9130 |
* Sat Feb 12 2005 Warren Togami <wtogami@redhat.com> - 5.4.6-4
|
|
|
bfc23f7 |
- remove duplicate RPATH patch
|
|
|
bfc23f7 |
- remove Epoch
|
|
|
7af9130 |
- remove redundant unixODBC from BR
|
|
|
bfc23f7 |
|
|
|
bfc23f7 |
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.6-2
|
|
|
ba3c8a5 |
- Added BuildRequires: unixODBC, unixODBC-devel
|
|
|
ba3c8a5 |
- Removed rpath from shared libs: pl-rpath.patch
|
|
|
ba3c8a5 |
|
|
|
bfc23f7 |
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.6-1
|
|
|
37e2751 |
- New Version 5.4.6
|
|
|
37e2751 |
|
|
|
bfc23f7 |
* Thu Jan 13 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.4.5-0.fdr.1
|
|
|
1ec1da1 |
- New Version 5.4.5
|