Compare commits

..

64 commits

Author SHA1 Message Date
Petr Písař
124682cb27 Fails to build with GCC 7, upstream does not respond (bug #1421711). 2017-03-03 13:08:03 +01:00
Fedora Release Engineering
45b1c0bc9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 18:14:49 +00:00
Igor Gnatenko
b15a44e6ad Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:45 +01:00
Fedora Release Engineering
730725ba45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:56:07 +00:00
5f9640eb97 Disable private malloc on power64 too 2015-12-16 02:56:21 +00:00
Dennis Gilmore
0b81d6a014 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 04:34:51 +00:00
Petr Písař
9eb7f8bbf3 Correct change log entry date 2015-04-15 13:34:36 +02:00
Petr Písař
f1f40796f7 Disable private malloc on AArch64 2015-04-15 13:32:41 +02:00
Petr Písař
cbff981ec5 Fix regression with GCC 5.0 2015-02-12 17:56:39 +01:00
Kevin Fenzi
e1d0a468a6 Rebuild for rpm bug 1131892 2014-08-20 17:34:00 -06:00
cf30181d80 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 11:18:10 +00:00
Dennis Gilmore
ebcec3e688 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 12:43:06 -05:00
Jaromir Capik
3ec3d93b12 Replacing ppc64 with the power64 macro 2014-05-19 16:20:11 +02:00
Dennis Gilmore
8fb0cbeeaa - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 04:29:42 -05:00
Petr Písař
471f4747fd Correct changelog dates 2013-03-28 10:34:18 +01:00
Petr Písař
860508bfdc Adjust to Texinfo 5 2013-03-28 10:20:12 +01:00
Petr Písař
bea198350f Update config.sub to support aarch64 2013-03-28 08:44:41 +01:00
Dennis Gilmore
661276ad6a - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 22:09:35 -06:00
Petr Písař
d282bdccd8 Complete fix for accessing yap_flags array 2013-01-07 18:07:53 +01:00
Petr Písař
1246ea0878 Fix off-by-one error when initializing yap_flags 2013-01-07 17:42:05 +01:00
Dennis Gilmore
83343f6a0a - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-22 02:34:43 -05:00
Petr Písař
ee40d15c6f Remove PPC conditions from the spec 2012-02-23 15:28:16 +01:00
Petr Písař
2eb9646900 Exclude building on PPC 2012-02-23 15:23:13 +01:00
Dennis Gilmore
aa1839244f - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 03:25:35 -06:00
Petr Písař
1085e27b3b 6.2.2 bump 2011-12-09 14:22:16 +01:00
Petr Písař
457501a6ec Fix building on PPC 2011-12-07 16:38:13 +01:00
Marcela Mašláňová
e76bbf2152 rebuild with new gmp without compat lib 2011-10-26 16:08:48 +02:00
Marcela Mašláňová
005b5f8138 rebuild with new gmp 2011-10-12 11:38:35 +02:00
Dan Horák
18430d4bed fix non-x86 builds with recent gcc 2011-06-23 15:22:08 +02:00
Dan Horák
68b39832b2 rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) 2011-03-23 19:57:30 +01:00
Petr Písař
bb6808f392 Rebuild against mysql 5.5.10 2011-03-23 08:56:15 +01:00
Dennis Gilmore
607e8dd91e - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 01:21:02 -06:00
Petr Písař
c4157d206d Add source tar ball 2011-01-04 12:30:28 +01:00
Petr Písař
199c2a1ed3 Fix examples attributes 2011-01-04 11:43:10 +01:00
Petr Písař
fab6edd205 Update license tag 2011-01-04 11:39:59 +01:00
Petr Písař
723bc7b2fc Package not-installed examples 2011-01-04 10:46:32 +01:00
Petr Písař
f4bb864ff9 EAM is experimental 2011-01-03 18:15:24 +01:00
Petr Písař
a51a466f2d Enable chr and clpqr libraries installation
The two libraries are copied from SWI Prolog (LGPLv2+ license) and they are
still bundled with the tar ball. VCS repository handles them as git module.
2011-01-03 18:02:57 +01:00
Petr Písař
ee2d16d568 Correct RPATH
The unversioned library file is needed while linking plug-ins at compilation.
The versioned library file is needed while compiling some plug-ins as
just-compiled yap interpreted is used for it.
2011-01-03 16:18:07 +01:00
Petr Písař
71deafb34c Clean exported Requires
libplstream.so is private library needed by other private libraries. Do not
export it.
2010-12-23 10:45:53 +01:00
Petr Písař
596555d0a4 Fix source URL 2010-12-22 17:05:41 +01:00
Petr Písař
04310f956a Package clpbn examples and clean spec file 2010-12-22 16:59:38 +01:00
Petr Písař
d96baec1e2 Update changelog date 2010-12-22 15:00:27 +01:00
Petr Písař
059266f725 Fix BuildRequires
MySQL, ODBC, zlib support
2010-12-22 14:52:13 +01:00
Petr Písař
366fe0f9bc Fix soname injection 2010-12-22 14:16:43 +01:00
Petr Písař
4898d89ab3 Remove empty myddas_top_level.yap file 2010-12-22 12:50:14 +01:00
Petr Písař
9778eb02cf Do not install info dir index 2010-12-22 11:32:55 +01:00
Petr Písař
5c994d4023 Make COPYING non-executable 2010-12-22 10:57:25 +01:00
Petr Písař
a2ee584fff Convert TO_DO into UTF-8 2010-12-22 10:39:55 +01:00
Petr Písař
bbceeeb05e Make info pages non-executable 2010-12-22 10:35:33 +01:00
Petr Písař
7f0edccb02 Do not rpm-provide private libraries 2010-12-22 10:02:30 +01:00
Petr Písař
06167f6b62 Do not install HTML and PDF documentation
It's from the same source as info pages.
2010-12-22 09:43:55 +01:00
Petr Písař
b1853a30a9 Package documentation 2010-12-22 09:33:35 +01:00
Petr Písař
b6860f6ede Install http module CSS files into correct place 2010-12-21 13:03:05 +01:00
Petr Písař
0a8f7ed423 Logtalk has been removed from yap 2010-12-21 11:41:57 +01:00
Petr Písař
d963c2ceaf Fix info pages installation 2010-12-21 11:37:57 +01:00
Petr Písař
5ae19e7495 Locate mysql by mysql_config 2010-12-21 10:39:09 +01:00
Petr Písař
44d9ae060b Make 6.2.0 prepable 2010-12-20 18:35:59 +01:00
Petr Písař
60b065399a Reorder metadata in spec file 2010-12-20 18:05:54 +01:00
Petr Písař
7787720472 Clean the package
Hack SWI-compatible libraries build process.
Other small tunes to get more conformant packages.
2010-12-08 18:37:44 +01:00
Fedora Release Engineering
6504b231f3 dist-git conversion 2010-07-29 16:19:06 +00:00
Bill Nottingham
112eec34f0 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 22:39:35 +00:00
Jesse Keating
5e55525bca - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-27 08:52:58 +00:00
Gérard Milmeister
2b60c4a2e7 new release 5.1.3 2009-06-15 20:46:24 +00:00
12 changed files with 1 additions and 47210 deletions

5
.gitignore vendored
View file

@ -1,5 +0,0 @@
Yap-5.1.3.tar.gz
chr_translate_bootstrap1.pl
chr_translate_bootstrap2.pl
chr_translate.pl
guard_entailment.pl

File diff suppressed because it is too large Load diff

View file

@ -1,42 +0,0 @@
diff -up Yap-5.1.3/Makefile.in.soname Yap-5.1.3/Makefile.in
--- Yap-5.1.3/Makefile.in.soname 2009-06-15 22:12:57.000000000 +0200
+++ Yap-5.1.3/Makefile.in 2009-06-15 21:59:18.000000000 +0200
@@ -578,16 +578,16 @@ startup: yap@EXEC_SUFFIX@ $(PL_SOURCES)
-rm -f startup
echo "bootstrap('$(srcdir)/pl/init.yap'). module(user). save_program(startup)." | @CROSS_SIMULATOR@ ./yap -b $(srcdir)/pl/boot.yap
-yap@EXEC_SUFFIX@: $(HEADERS) yap.o @YAPLIB@.5.1.3
- $(MPI_CC) $(STANDARD_CFLAGS) $(LDFLAGS) -o yap yap.o @YAPLIB@.5.1.3 $(LIBS) @MPI_LIBS@
+yap@EXEC_SUFFIX@: $(HEADERS) yap.o @YAPLIB@
+ $(MPI_CC) $(STANDARD_CFLAGS) $(LDFLAGS) -o yap yap.o @YAPLIB@ $(LIBS) @MPI_LIBS@
libYap.a: $(LIB_OBJECTS)
-rm -f libYap.a
$(AR) rc libYap.a $(LIB_OBJECTS)
$(RANLIB) libYap.a
-@DYNYAPLIB@.5.1.3: $(LIB_OBJECTS)
- @DYNLIB_LD@ -Wl,-soname=@YAPLIB@.5.1.3 -o @YAPLIB@.5.1.3 $(LIB_OBJECTS) $(LIBS) $(LDFLGS)
+@DYNYAPLIB@: $(LIB_OBJECTS)
+ @DYNLIB_LD@ -o @YAPLIB@ $(LIB_OBJECTS) $(LIBS) $(LDFLGS)
install: install_bin install_data
@@ -598,7 +598,7 @@ install_unix: startup libYap.a
$(INSTALL_PROGRAM) -m 755 yap@EXEC_SUFFIX@ $(DESTDIR)$(BINDIR)/yap
mkdir -p $(DESTDIR)$(YAPLIBDIR)
$(INSTALL_DATA) startup $(DESTDIR)$(YAPLIBDIR)/startup
- @INSTALL_DLLS@ $(INSTALL_DATA) -m 755 @YAPLIB@.5.1.3 $(DESTDIR)$(LIBDIR)
+ @INSTALL_DLLS@ $(INSTALL_DATA) -m 755 @YAPLIB@ $(DESTDIR)$(LIBDIR)
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/pl
mkdir -p $(DESTDIR)$(SHAREDIR)/Yap/swi
@@ -643,7 +643,7 @@ install_win32: startup
(cd library/tries; make install)
@ENABLE_CPLINT@ (cd cplint; make install)
-install_library: @YAPLIB@.5.1.3
+install_library: @YAPLIB@
mkdir -p $(DESTDIR)$(INCLUDEDIR)
for h in $(HEADERS); do $(INSTALL) $$h $(DESTDIR)$(INCLUDEDIR); done

View file

@ -1,21 +0,0 @@
diff -up Yap-5.1.1/C/alloc.c.creat Yap-5.1.1/C/alloc.c
--- Yap-5.1.1/C/alloc.c.creat 2008-04-10 20:32:14.000000000 +0200
+++ Yap-5.1.1/C/alloc.c 2008-04-10 20:32:45.000000000 +0200
@@ -796,7 +796,7 @@ InitWorkSpace(Int s)
itos(getpid(), &file[12]);
#endif /* HAVE_TMPNAM */
#endif /* HAVE_MKSTEMP */
- fd = open(file, O_CREAT|O_RDWR);
+ fd = open(file, O_CREAT|O_RDWR, 0644);
if (fd < 0) {
Yap_Error(FATAL_ERROR, TermNil, "mmap could not open %s", file);
return NULL;
@@ -909,7 +909,7 @@ ExtendWorkSpace(Int s, int fixed_allocat
itos(getpid(), &file[12]);
#endif /* HAVE_TMPNAM */
#endif /* HAVE_MKSTEMP */
- fd = open(file, O_CREAT|O_RDWR);
+ fd = open(file, O_CREAT|O_RDWR, 0644);
if (fd < 0) {
Yap_ErrorMessage = Yap_ErrorSay;
snprintf4(Yap_ErrorMessage, MAX_ERROR_MSG_SIZE,

View file

@ -1,11 +0,0 @@
--- Yap-4.5.5/H/absmi.h.noni386 2005-06-18 15:52:24.000000000 +0200
+++ Yap-4.5.5/H/absmi.h 2005-06-18 15:52:34.000000000 +0200
@@ -282,7 +282,7 @@
#define CACHE_A1() (SREG = (CELL *)ARG1)
-#define CACHED_A1() ((CELL)SREG)
+#define CACHED_A1() SREG
#endif /* S_IN_MEM */

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

1
dead.package Normal file
View file

@ -0,0 +1 @@
Fails to build with GCC 7, upstream does not respond (bug #1421711).

File diff suppressed because it is too large Load diff

View file

@ -1,5 +0,0 @@
d04265acead9286b363f7209ac382490 Yap-5.1.3.tar.gz
89b0825d04a5615b78ca0ff67908b047 chr_translate_bootstrap1.pl
ebbc6fe2972f03696e8b5397b0076726 chr_translate_bootstrap2.pl
773fa939564fb229fc7e541e5a74515a chr_translate.pl
72541b7579caf15bebe19fc2fc80dd08 guard_entailment.pl

217
yap.spec
View file

@ -1,217 +0,0 @@
Name: yap
Version: 5.1.3
Release: 1%{?dist}
Summary: High-performance Prolog Compiler
Group: Development/Languages
License: Artistic 2.0 or LGPLv2+
Source: http://www.ncc.up.pt/~vsc/Yap/current/Yap-%{version}.tar.gz
Source1: guard_entailment.pl
Source2: chr_translate_bootstrap1.pl
Source3: chr_translate_bootstrap2.pl
Source4: chr_translate.pl
Patch1: Yap-noni386.patch
Patch2: Yap-creat.patch
# config.sub in the tarball is too old for ppc64
Patch3: Yap-5.1.1-config.sub.patch
URL: http://www.ncc.up.pt/~vsc/Yap
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: readline-devel, gmp-devel, texinfo
Requires(post): /sbin/install-info, /sbin/ldconfig
Requires(postun): /sbin/install-info, /sbin/ldconfig
%description
A high-performance Prolog compiler developed at LIACC, Universidade do
Porto. The 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.
%package devel
Summary: C-Interface development files for Yap
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
%description devel
C-Interface development files for Yap.
%package docs
Summary: Documentation for Yap
Group: Development/Languages
Requires: %{name} = %{version}-%{release}
%description docs
Documentation for Yap.
%prep
%setup -q -n Yap-%{version}
%patch1 -p1
%patch2 -p1
%patch3 -p1
find -name CVS -print0 | xargs -0 rm -rf
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} LGPL/chr
# remove redundant rpath
sed -i '/-Wl,-R/d' configure
# add soname to library
sed -i 's/@YAPLIB@/@YAPLIB@.%{version}/g' Makefile.in
sed -i 's/@DYNYAPLIB@/@DYNYAPLIB@.%{version}/g' Makefile.in
sed -i 's/@DYNLIB_LD@/@DYNLIB_LD@ -Wl,-soname=@YAPLIB@.%{version} /g' Makefile.in
find -name Makefile.in | xargs sed -i 's|$(ROOTDIR)/lib|$(ROOTDIR)/%{_lib}|'
find -name Makefile.in | xargs sed -i 's|$(EROOTDIR)/lib|$(EROOTDIR)/%{_lib}|'
%build
# % define optflags $(echo $RPM_OPT_FLAGS | sed 's|-fstack-protector||')
%configure \
--enable-coroutining \
--enable-max-performance \
--enable-depth-limit \
--enable-dynamic-loading
make %{?_smp_mflags}
(cd docs; make info)
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_infodir}
cp -f docs/yap.info* $RPM_BUILD_ROOT%{_infodir}
cp -f LGPL/pillow/doc/pillow_doc.info $RPM_BUILD_ROOT%{_infodir}
# fix permissions and flags
chmod 0644 $RPM_BUILD_ROOT%{_datadir}/Yap/pl/*
chmod 0644 $RPM_BUILD_ROOT%{_includedir}/Yap/*
find -name '*.lgt' -exec chmod 0644 '{}' ';'
find -name '*.h' -exec chmod 0644 '{}' ';'
find -name '*.c' -exec chmod 0644 '{}' ';'
(cd $RPM_BUILD_ROOT%{_libdir}; ln -sf libYap.so.%{version} libYap.so)
# move examples to docdir
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
#mv $RPM_BUILD_ROOT%{_datadir}/Yap/examples $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
rm -rf $RPM_BUILD_ROOT%{_datadir}/Yap/clpbn/examples
%post
/sbin/install-info %{_infodir}/yap.info --section "Programming Languages" %{_infodir}/dir 2>/dev/null || :
/sbin/install-info %{_infodir}/pillow_doc.info --section "Programming Languages" %{_infodir}/dir 2>/dev/null || :
/sbin/ldconfig
%postun
if [ $1 -eq 0 ]; then
/sbin/install-info --delete %{_infodir}/yap.info %{_infodir}/dir 2>/dev/null || :
/sbin/install-info --delete %{_infodir}/pillow_doc.info %{_infodir}/dir 2>/dev/null || :
fi
/sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%doc changes*
%{_bindir}/yap
%{_datadir}/Yap
%{_libdir}/Yap
%{_libdir}/libYap.so*
%{_infodir}/*
%files devel
%defattr(-,root,root,-)
%{_libdir}/libYap.so
%{_includedir}/Yap
%files docs
%defattr(-,root,root,-)
%doc LGPL/pillow/doc/pillow_doc_html/*
%doc LGPL/pillow/doc/article.ps.gz
%doc --parent Logtalk/manuals
%doc --parent Logtalk/examples
%changelog
* Mon Jun 15 2009 Gerard Milmeister <gemi@bluewin.ch> - 5.1.3-1
- new release 5.1.3
* Sun Mar 01 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 5.1.1-13
- Add Yap-5.1.1-config.sub.patch:
Upgrade outdated config.sub to fix rebuild breakdown on ppc64.
* Fri Jul 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.1.1-11
- fix license tag
* Thu Apr 10 2008 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-10
- enable rpm_opt_flags
- patch for incorrect open call with O_CREAT
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.1.1-9
- Autorebuild for GCC 4.3
* Sat Oct 20 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-8
- fix library path for 64-bit platforms
* Wed Aug 29 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-7
- replaced ld -shared with gcc -shared
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 5.1.1-6
- Rebuild for selinux ppc32 issue.
* Thu Jul 5 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-5
- also build libYap.so
* Fri May 11 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-3
- remove -fstack-protector from optflags in order to enable
loading of .so modules
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-2
- Rebuild for FE6
* Mon May 1 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-1
- new version 5.1.1
- split off devel and docs packages
* Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.0.1-2
- Rebuild for Fedora Extras 5
* Tue Oct 25 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.0.1-1
- New Version 5.0.1
* Wed Sep 7 2005 Gerard Milmeister <gemi@bluewin.ch> - 5.0.0-1
- New Version 5.0.0
* Sat Jun 18 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.5.5-5
- Use %{_prefix}/lib for x86_64
* Sat Jun 18 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.5.5-4
- Fix for non-i386 compilers
* Sat Jun 18 2005 Gerard Milmeister <gemi@bluewin.ch> - 4.5.5-3
- Compiler fix for FC4
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
* Sat Feb 12 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:4.5.5-1
- New Version 4.5.5
* Mon Nov 29 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:4.5.3-0.fdr.1
- New Version 4.5.3
* Sat Mar 13 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:4.5.2-0.fdr.1
- New Version 4.5.2
* Sat Nov 22 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:4.4.3-0.fdr.1
- First Fedora release