dedaf22
# The hardened build breaks bigloo's plugin architecture.
dedaf22
%undefine _hardened_build
Jerry James 63e3895
36d7c2a
# Bigloo uses the terminology "release" for what Fedora calls version,
36d7c2a
# and "version" for a sub-version revision.
36d7c2a
# patch_suffix is defined to be empty when patch_ver is not defined,
36d7c2a
# so that when updating, the Source and %%setup lines do not have to be
36d7c2a
# changed, only the Version and patch_ver
f262f17
%global patch_ver 1
Jerry James f2d1e40
%global patch_suffix %{?patch_ver:-%{patch_ver}}
4e64063
bf68ec5
# prerelease
f2b382b
#%%global prerel 20151208beta
f2b382b
#%%global ver_suffix -beta08Dec15
bf68ec5
4e64063
# For Emacs subpackages
4e64063
%global pkg     %{name}
4e64063
%global pkgname Bigloo
36d7c2a
3e2c3d9
# Bigloo has a customized copy of gc
8eacd3b
%bcond_without  customgc
f262f17
%global         bundledgc 8.2.2
f262f17
f262f17
# Bigloo bundles libbacktrace, which is intended to be a copylib
f262f17
%bcond_without  customlbt
f262f17
%global         bundlelbt 1.0.20210529
3e2c3d9
3ffa98d
Name:           bigloo
f262f17
Version:        4.5a
a6ede4c
Release:        2%{?patch_ver:.%{patch_ver}}%{?prerel:.%{prerel}}%{?dist}
36d7c2a
Summary:        A compiler for the Scheme programming language
3ffa98d
6d2f3e6
# The compiler and tools are GPL-2.0-or-later.
6d2f3e6
# The runtime system and libraries are LGPL-2.0-or-later.
6d2f3e6
# Exceptions:
f262f17
# - examples/Socket/socket.scm is some unknown form of BSD (not packaged)
6d2f3e6
# - runtime/Unsafe/sha2.scm is BSD-3-Clause
6d2f3e6
# - api/packrat/src/Llib/json.scm is MIT
6d2f3e6
# - api/packrat/src/Llib/packrat.scm is MIT
6d2f3e6
# - api/text/src/Llib/levenshtein.scm is LGPL-3.0-or-later
6d2f3e6
License:        GPL-2.0-or-later
33b834e
URL:            https://www-sop.inria.fr/mimosa/fp/Bigloo
f85d36f
Source0:        ftp://ftp-sop.inria.fr/indes/fp/Bigloo/%{name}-%{version}%{?patch_suffix}%{?ver_suffix}.tar.gz
a07604c
# Not yet sent upstream: fix some bugs in the Emacs interface, and also
a07604c
# modernizes the code somewhat.
Jerry James 63e3895
Patch0:         %{name}-emacs.patch
Jerry James 63e3895
# Not yet sent upstream.  Support 64-bit stat on 32-bit platforms.
Jerry James 63e3895
Patch1:         %{name}-stat64.patch
0678968
# Not yet sent upstream: add some noreturn attributes
f85d36f
Patch2:         %{name}-noreturn.patch
3e2c3d9
# Fix reading past the limits of a stack buffer
f85d36f
Patch3:         %{name}-memread.patch
f85d36f
# Make type declarations match, silences LTO warning
f85d36f
Patch4:         %{name}-lto-type.patch
3e2c3d9
# Make the test suite fail if individual tests fail
f85d36f
Patch5:         %{name}-test.patch
3e2c3d9
# Round top of stack to a multiple of 1024.  Fixes stack overflow on s390x.
f85d36f
Patch6:         %{name}-callcc.patch
daf5bc4
# Adapt to Java 11
f85d36f
Patch7:         %{name}-javac.patch
e2cff70
# Add some missing return statements
f85d36f
Patch8:         %{name}-return.patch
e2cff70
# Fix signal numbers in the Java code
f85d36f
Patch9:         %{name}-java-signum.patch
f262f17
# Migrate K&R C in the config scripts to ANSI C
f262f17
Patch10:        %{name}-configure-c99.patch
71da92d
6e89a5c
# See https://bugzilla.redhat.com/show_bug.cgi?id=2160579
6e89a5c
ExcludeArch:    ppc64le
6e89a5c
36d7c2a
BuildRequires:  emacs
d29f134
BuildRequires:  gcc
3e2c3d9
BuildRequires:  gcc-c++
8eacd3b
BuildRequires:  gmp-devel
36d7c2a
BuildRequires:  indent
6d3d772
%ifarch %{java_arches}
dedaf22
BuildRequires:  java-devel
f85d36f
BuildRequires:  javapackages-tools
6d3d772
%endif
f85d36f
BuildRequires:  libtool
f262f17
%if %{without customlbt}
f262f17
BuildRequires:  libbacktrace-devel
f262f17
%endif
8eacd3b
BuildRequires:  libunistring-devel
0df20be
BuildRequires:  make
a07604c
BuildRequires:  pkgconfig
8eacd3b
BuildRequires:  pkgconfig(alsa)
3e2c3d9
%if %{with customgc}
8eacd3b
BuildRequires:  pkgconfig(atomic_ops)
3e2c3d9
%endif
8eacd3b
BuildRequires:  pkgconfig(avahi-client)
8eacd3b
%if %{without customgc}
8eacd3b
BuildRequires:  pkgconfig(bdw-gc)
8eacd3b
%endif
8eacd3b
BuildRequires:  pkgconfig(flac)
8eacd3b
BuildRequires:  pkgconfig(gstreamer-1.0)
8eacd3b
BuildRequires:  pkgconfig(gstreamer-audio-1.0)
8eacd3b
BuildRequires:  pkgconfig(libmpg123)
f262f17
BuildRequires:  pkgconfig(libpcre2-8)
b6d929b
#BuildRequires:  pkgconfig(libphidget22)
8eacd3b
BuildRequires:  pkgconfig(libpulse)
8eacd3b
BuildRequires:  pkgconfig(libuv)
8eacd3b
BuildRequires:  pkgconfig(openssl)
8eacd3b
BuildRequires:  pkgconfig(sqlite3)
Jerry James 31cbe7e
BuildRequires:  texinfo-tex
Jerry James 31cbe7e
BuildRequires:  texi2html
8eacd3b
BuildRequires:  zip
a07604c
a07604c
Requires:       bigloo-libs%{?_isa} = %{version}-%{release}
e2cff70
Requires:       emacs-filesystem >= %{?_emacs_version}%{!?_emacs_version:0}
6d3d772
%ifarch %{java_arches}
e935afc
Requires:       javapackages-filesystem
6d3d772
%endif
8ab42c1
Requires:       indent
a07604c
Requires:       gmp-devel%{?_isa}
3e2c3d9
%if %{without customgc}
a07604c
Requires:       gc-devel%{?_isa}
3e2c3d9
%endif
Jerry James ef8313d
Requires:       gcc
Jerry James ef8313d
Requires:       glibc-devel%{?_isa}
3e2c3d9
%if %{with customgc}
3e2c3d9
Requires:       libatomic_ops-devel%{?_isa}
3e2c3d9
%endif
Jerry James ef8313d
Requires:       libgcc%{?_isa}
Jerry James a4e5c8e
Requires:       libunistring-devel%{?_isa}
dedaf22
Requires:       libuv-devel%{?_isa}
6ba5408
3e2c3d9
%if %{with customgc}
3e2c3d9
Provides:       bundled(gc) = %{bundledgc}
3e2c3d9
%endif
3f27cb6
f262f17
%if %{with customlbt}
f262f17
Provides:       bundled(libbacktrace) = %{bundlelbt}
f262f17
%global __provides_exclude libbacktrace.*
f262f17
%global __requires_exclude libbacktrace.*
f262f17
%endif
f262f17
6ba5408
%description
a07604c
Bigloo is a Scheme implementation devoted to one goal: enabling a Scheme
a07604c
based programming style where C(++) is usually required.  Bigloo
a07604c
attempts to make Scheme practical by offering features usually presented
a07604c
by traditional programming languages but not offered by Scheme and
a07604c
functional programming.  Bigloo compiles Scheme modules.  It delivers
a07604c
small and fast standalone binary executables.  Bigloo enables full
a07604c
connections between Scheme and C programs.
6ba5408
6ba5408
6ba5408
%package libs
36d7c2a
Summary:        Bigloo runtime libraries
6d2f3e6
License:        LGPL-2.0-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND MIT
6ba5408
6ba5408
%description libs
6ba5408
Runtime libraries for Bigloo compiled programs.
6ba5408
6ba5408
6ba5408
%package doc
36d7c2a
Summary:        Bigloo documentation
4e64063
BuildArch:      noarch
6ba5408
6ba5408
%description doc
6ba5408
Documentation for the Bigloo compiler and integrated development
6ba5408
environment.
6ba5408
6ba5408
6ba5408
%prep
1dec8ef
%autosetup -p0 -n %{name}-%{version}%{?patch_suffix}
a07604c
f262f17
# Remove an example with a dubious license
f262f17
rm -fr examples/Socket
f262f17
4e64063
# encoding fixes
f262f17
for f in README.md; do
d29f134
  iconv -f ISO8859-1 -t UTF8 $f | sed 's/=ISO-8859-1/=UTF-8/' > $f.utf8
a07604c
  touch -r $f $f.utf8
a07604c
  mv -f $f.utf8 $f
a07604c
done
6ba5408
Gérard Milmeister b69049b
# correct examples Makefiles for installation
Gérard Milmeister b69049b
find examples -name Makefile -print0 | xargs -0 \
Gérard Milmeister b69049b
     sed -i 's|include.*Makefile.config|include %{_libdir}/bigloo/%{version}/Makefile.config|g'
Gérard Milmeister b69049b
dd7b829
# fix missing linkage
3e2c3d9
%if %{without customgc}
f85d36f
sed -i 's/^extralibs="-lm -lc"/extralibs="-lgc -lm -lc"/' configure
c8bd81b
sed -i 's/LDOPTS=\"/&-Wl,--as-needed -lgc /' Makefile.misc
3e2c3d9
%endif
6ba5408
e935afc
# Keep generated files for debuginfo
e935afc
sed -i 's/fcfa-arithmetic/& -rm/' configure
e935afc
sed -i 's/no-hello/& -rm/' bdb/bdb/Makefile
e935afc
sed -i 's/-O2/& -rm/' cigloo/Makefile
e935afc
6e89a5c
# Remove warning flags not recognized by gcc
6e89a5c
sed -i 's/ -Wno-parentheses-equality//;s/ -Wno-invalid-source-encoding//' \
6e89a5c
    autoconf/ccwarning
6e89a5c
6ba5408
%build
Jerry James 63e3895
%define inplace $PWD/inplace
6ba5408
823e312
# Large stack needed to build
823e312
ulimit -s unlimited
823e312
Jerry James 63d50fd
# Enable UTF-8 filename support
d29f134
export LOCALE="C.utf8"
f47d856
export CFLAGS="%{build_cflags} -fwrapv -Wno-unused"
e2cff70
%if 0%{?__isa_bits} == 32
e2cff70
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
e2cff70
%endif
3f27cb6
export LDFLAGS="-Wl,-z,relro -Wl,--as-needed"
6ba5408
./configure \
36d7c2a
        --prefix=%{_prefix} \
36d7c2a
        --bindir=%{_bindir} \
36d7c2a
        --libdir=%{_libdir} \
36d7c2a
        --mandir=%{_mandir}/man1 \
36d7c2a
        --infodir=%{_infodir} \
36d7c2a
        --docdir=%{_docdir} \
4e64063
        --lispdir=%{_emacs_sitelispdir}/bigloo \
6d3d772
%ifarch %{java_arches}
36d7c2a
        --jvm=yes \
875d6e6
        --javaprefix=%{_jvmdir}/java/bin \
6d3d772
%else
6d3d772
        --jvm=no \
6d3d772
%endif
a07604c
        --bee=full \
3e2c3d9
%if %{with customgc}
3e2c3d9
        --customgc=yes \
3e2c3d9
%else
a07604c
        --customgc=no \
3e2c3d9
%endif
f262f17
%if %{with customlbt}
f262f17
        --customlibbacktrace=yes \
f262f17
%else
f262f17
        --customlibbacktrace=no \
f262f17
%endif
a07604c
        --coflags="$CFLAGS" \
Jerry James 3720780
        --cpicflags="-fPIC" \
36d7c2a
        --sharedbde=yes \
36d7c2a
        --sharedcompiler=yes \
a07604c
        --native-default-backend \
a07604c
        --customgmp=no \
dedaf22
        --customlibuv=no \
a07604c
        --strip=no \
a07604c
        --configureinfo=yes
6ba5408
d29f134
# Remove extraneous rpath
d29f134
sed -i '/^RPATH=/s,\$(DESTDIR).*:,,' Makefile.config
d29f134
f262f17
%if %{with customlbt}
f262f17
# Fix broken link line for the bundled libbacktrace
f262f17
sed -i 's/-llibbacktrace/$(LDBUILDOPTS) -lbacktrace/' Makefile.config
f262f17
%endif
f262f17
6ba5408
# _smp_mflags breaks the build
f262f17
LD_LIBRARY_PATH=$PWD/lib/bigloo/%{version} make
f262f17
LD_LIBRARY_PATH=$PWD/lib/bigloo/%{version} \
8f0c4c9
    BIGLOOLIB=%{inplace}%{_libdir}/bigloo/%{version} \
6ba5408
    make DESTDIR=%{inplace} install
f262f17
LD_LIBRARY_PATH=$PWD/lib/bigloo/%{version} \
dedaf22
    PATH=$PWD/bin:$PATH \
6ba5408
    BIGLOOLIB=%{inplace}%{_libdir}/bigloo/%{version} \
6ba5408
    make compile-bee
6ba5408
3e2c3d9
# Other permissions are missing from a lot of files
3e2c3d9
chmod -R o+r .
3e2c3d9
6ba5408
6ba5408
%install
b63a428
mkdir -p %{buildroot}%{_emacs_sitelispdir}/bigloo
f85d36f
env LD_LIBRARY_PATH=$PWD/lib/bigloo/%{version} %make_install
dedaf22
env LD_LIBRARY_PATH=$PWD/lib/bigloo/%{version} \
b63a428
    make DESTDIR=%{buildroot} EMACSDIR=%{_emacs_sitelispdir}/bigloo install-bee
b63a428
make -C manuals DESTDIR=%{buildroot} install-bee
bf2cae1
f85d36f
# Remove empty directory
f85d36f
rmdir %{buildroot}%{_libdir}/pkgconfig
f85d36f
bf2cae1
# fix permissions
b63a428
chmod 755 %{buildroot}%{_bindir}/*
f47d856
find %{buildroot}%{_libdir} -name \*.so -exec chmod 755 {} +
bf2cae1
6d3d772
%ifarch %{java_arches}
e935afc
# move jigloo to the proper place
e935afc
mkdir %{buildroot}%{_javadir}
e935afc
mv %{buildroot}%{_bindir}/jigloo.class %{buildroot}%{_javadir}
6d3d772
%endif
e935afc
dedaf22
# Remove references to the build root
dedaf22
sed -e 's|^BOOTDIR=.*|BOOTDIR=%{_prefix}|g' \
dedaf22
    -e 's|^BOOTBINDIR=.*|BOOTBINDIR=%{_bindir}|g' \
dedaf22
    -e 's|^BOOTLIBDIR=.*|BOOTLIBDIR=%{_libdir}/bigloo/%{version}|g' \
dedaf22
    -e 's|^BGLBUILDBINDIR=.*|BGLBUILDBINDIR=%{_bindir}|g' \
dedaf22
    -e 's|^BGLBUILDLIBDIR=.*|BGLBUILDLIBDIR=%{_libdir}/bigloo/%{version}|g' \
dedaf22
    -e 's|^\(BIGLOO=.*\)\.sh|\1|' \
dedaf22
    -e 's|^\(BGL.*=.*\)\.sh|\1|' \
b63a428
    -i %{buildroot}%{_libdir}/bigloo/%{version}/Makefile.config
b63a428
sed -e 's|%{buildroot}||g' -i %{buildroot}%{_bindir}/*.sh
Gérard Milmeister b69049b
76ced82
# Fix symlinks that point to the buildroot
76ced82
for link in $(find %{buildroot}%{_libdir} -type l); do
76ced82
    target=$(readlink $link)
76ced82
    if [[ "$target" =~ "%{buildroot}" ]]; then
76ced82
        rm $link
76ced82
	ln -s $(basename $target) $link
76ced82
    fi
76ced82
done
76ced82
f85d36f
rm -fr %{buildroot}%{_infodir}/dir %{buildroot}%{_datadir}/doc
6ba5408
a4a2ca7
# emacs
b63a428
mkdir -p %{buildroot}%{_emacs_sitestartdir}
b63a428
cat > %{buildroot}%{_emacs_sitestartdir}/bigloo.el <
6ba5408
(require 'bmacs)
6ba5408
EOF
b63a428
pushd %{buildroot}%{_emacs_sitelispdir}/bigloo
fe91a3d
rm -f bmacs-xemacs.el xemacs-etags.el
fe91a3d
%{_emacs_bytecompile} bmacs.el bmacs-config.el bmacs-gnu-emacs.el
fe91a3d
popd
6ba5408
a07604c
%check
3e2c3d9
ulimit -s unlimited
aa668b8
export TZ=$(date +%%Z)
3c9ed61
# Starting with the F38 mass rebuild, "make test" fails due to stdout being
3c9ed61
# closed unexpectedly.  This only happens if the tests are run via make.
3c9ed61
# The commands below are the exact ones that make executes, but they succeed
3c9ed61
# if run this way.  Investigation continues.
3c9ed61
NATIVEBACKEND=$(sed -n 's/NATIVEBACKEND=\(.*\)/\1/p' Makefile.config)
6a4dee9
JVMBACKEND=$(sed -n 's/JVMBACKEND=\(.*\)/\1/p' Makefile.config)
3c9ed61
cd recette
3c9ed61
if [ "$NATIVEBACKEND" = yes ]; then
3c9ed61
  make recette-static
3c9ed61
  ../bin/bglrun.sh ./recette-static
3c9ed61
fi
3c9ed61
cd -
6a4dee9
if [ "$JVMBACKEND" = yes ]; then
6a4dee9
  make jvm-test
6a4dee9
fi
a07604c
a07604c
6ba5408
%files
f262f17
%{_bindir}/bdb
f262f17
%{_bindir}/bgl*
f262f17
%{_bindir}/bigloo*
f262f17
%{_bindir}/cigloo
6d3d772
%ifarch %{java_arches}
e935afc
%{_javadir}/jigloo.class
6d3d772
%endif
f262f17
%{_infodir}/bdb.info*
f262f17
%{_infodir}/bigloo.info*
f262f17
%{_mandir}/man1/bgl*
f262f17
%{_mandir}/man1/bigloo.1*
3f27cb6
%{_emacs_sitelispdir}/bigloo/
3f27cb6
%{_emacs_sitestartdir}/bigloo.el
f85d36f
%doc ChangeLog Makefile.config examples
6ba5408
%doc README*
6ba5408
6ba5408
6ba5408
%files libs
f85d36f
%{_libdir}/bigloo/
e2cff70
%license LICENSE COPYING
6ba5408
6ba5408
6ba5408
%files doc
6ba5408
%doc manuals/*.html
e2cff70
%license LICENSE COPYING
6ba5408
6ba5408
6ba5408
%changelog
a6ede4c
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.5a-2.1
a6ede4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
a6ede4c
f262f17
* Tue Jan 10 2023 Jerry James <loganjerry@gmail.com> - 4.5a-1.1
f262f17
- Version 4.5a-1
f262f17
- Drop upstreamed patches: emacs28, bde-bmem-c99
6e89a5c
- Do not build on ppc64le until we can diagnose a segfault
f262f17
- Minor spec file cleanups
f262f17
71da92d
* Fri Dec  9 2022 Florian Weimer <fweimer@redhat.com> - 4.4c-9.4
71da92d
- Minor fixes for C99 compatibility
71da92d
b32cd32
* Tue Sep 13 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 4.4c-8.4
b32cd32
- Rebuilt for flac 1.4.0
b32cd32
b6d929b
* Mon Aug 22 2022 Jerry James <loganjerry@gmail.com> - 4.4c-7.4
b6d929b
- Remove libphidget support until upstream migrates from 21 to 22
b6d929b
6d2f3e6
* Mon Aug 15 2022 Jerry James <loganjerry@gmail.com> - 4.4c-6.4
6d2f3e6
- Convert License field to SPDX
6d2f3e6
1ff1737
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4c-6.4
1ff1737
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
1ff1737
f47d856
* Mon Jul 18 2022 Jerry James <loganjerry@gmail.com> - 4.4c-5.4
f47d856
- Fix build with Emacs 28
f47d856
6d3d772
* Tue Jul  5 2022 Jerry James <loganjerry@gmail.com> - 4.4c-5.4
6d3d772
- Remove Java support on i686 (rhbz#2104022)
6d3d772
76ced82
* Mon Mar 28 2022 Jerry James <loganjerry@gmail.com> - 4.4c-4.4
76ced82
- Version 4.4c-4
76ced82
a9b6762
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 4.4c-3.2
a9b6762
- Rebuilt for java-17-openjdk as system jdk
a9b6762
bf8adde
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.4c-2.2
bf8adde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
bf8adde
33b834e
* Wed Dec 29 2021 Jerry James <loganjerry@gmail.com> - 4.4c-1.2
33b834e
- Version 4.4c-2
33b834e
- Drop obsolete -div-by-zero patch
33b834e
- Disable LTO again due to symbol collision errors
33b834e
- Reenable tests on s390x
33b834e
de7c394
* Tue Nov  9 2021 Jerry James <loganjerry@gmail.com> - 4.4b-4
de7c394
- Drop XEmacs support
de7c394
faf4735
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 4.4b-3
faf4735
- Rebuilt with OpenSSL 3.0.0
faf4735
ead90e5
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4b-2
ead90e5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ead90e5
4e1cbad
* Fri Feb  5 2021 Jerry James <loganjerry@gmail.com> - 4.4b-1
4e1cbad
- Version 4.4b
4e1cbad
- Drop $date-is-gmt workaround
aee8898
- Add -div-by-zero patch to work around test failures
1d050dc
- Disable tests on s390x until a Java mutex problem can be diagnosed
4e1cbad
a1cbefe
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4a-2
a1cbefe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a1cbefe
f85d36f
* Sat Jan 23 2021 Jerry James <loganjerry@gmail.com> - 4.4a-1
f85d36f
- Version 4.4a
f85d36f
- Drop upstreamed -format, -params, -sigtrap, and -underlink patches
f85d36f
- Add -lto-type patch to silence LTO warnings
f85d36f
- Install libraries with upstream's choice of names and places
f85d36f
e2cff70
* Wed Oct 21 2020 Jerry James <loganjerry@gmail.com> - 4.3h-8
e2cff70
- Re-enable LTO on aarch64 and ppc64le
e2cff70
- Improve the -emacs patch
e2cff70
- Fix LTO warnings about mismatched types by adding to the -params patch
e2cff70
- Add the -return, -java-signum, and -sigtrap patches
e2cff70
- Drop division by zero workaround, fixed with the -sigtrap patch
e2cff70
- Move license files to -libs and -doc subpackages
e2cff70
e2cff70
* Fri Oct 09 2020 Jeff Law <law@redhat.com> - 4.3h-7
c64744d
- Re-enable LTO except on aarch64 and ppc64le
6031bf0
c7e8afd
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3h-6
c7e8afd
- Second attempt - Rebuilt for
c7e8afd
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c7e8afd
5cac269
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3h-5
5cac269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5cac269
daf5bc4
* Tue Jul 21 2020 Jerry James <loganjerry@gmail.com> - 4.3h-4
daf5bc4
- Support Java 11
daf5bc4
daf5bc4
* Mon Jul 13 2020 Jeff Law <law@redhat.com> - 4.3h-3
6a78b50
- Disable LTO
6a78b50
a7a62bf
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 4.3h-2
a7a62bf
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
a7a62bf
1dec8ef
* Thu May 14 2020 Jerry James <loganjerry@gmail.com> - 4.3h-1
1dec8ef
- Update to 4.3h
1dec8ef
- Drop upstreamed -gstreamer1 and -return patches
1dec8ef
3f90bd8
* Wed Mar  4 2020 Jerry James <loganjerry@gmail.com> - 4.3g-2
3f90bd8
- Fix the library sonames
3f90bd8
8eacd3b
* Fri Feb 28 2020 Jerry James <loganjerry@gmail.com> - 4.3g-1
8eacd3b
- Update to 4.3g
8eacd3b
- Use the bundled gc again for performance reasons
8eacd3b
44205df
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.3f-4
44205df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
44205df
e935afc
* Thu Nov 21 2019 Jerry James <loganjerry@gmail.com> - 4.3f-3
e935afc
- Fix underlinked plugins
e935afc
- Port gstreamer plugin to 1.0 (gstreamer1)
e935afc
- Move the jigloo class to the Java directory
e935afc
- Go back to the system gc; the bundled version is too buggy
e935afc
9f4ceae
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3f-2
9f4ceae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9f4ceae
f4c6c68
* Fri Jul  5 2019 Jerry James <loganjerry@gmail.com> - 4.3f-1
f4c6c68
- Update to 4.3f
f4c6c68
- Drop dbus-devel BR; the dbus module is not yet buildable
f4c6c68
bdc01c6
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3e-2
bdc01c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
bdc01c6
3e2c3d9
* Wed Jan 30 2019 Jerry James <loganjerry@gmail.com> - 4.3e-1
3e2c3d9
- Update to 4.3e
3e2c3d9
- Build with custom GC for performance reasons
3e2c3d9
- Add -return, -memread, and -params patches to fix runtime issues
3e2c3d9
- Add -test patch to make %%check exit on test failure (bz 1663605)
3e2c3d9
- Unlimit stack usage in the check script for s390x
3e2c3d9
3e2c3d9
* Sat Jan  5 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 4.3c-2
3e2c3d9
- Do not set LD_LIBRARY_PATH in %%check
3e2c3d9
d72ab73
* Fri Jan  4 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 4.3c-2
d72ab73
- Fix setting compiling user for XEmacs byte-compiled files
d72ab73
b63a428
* Sat Sep 15 2018 Jerry James <loganjerry@gmail.com> - 4.3c-1
b63a428
- Update to 4.3c
b63a428
00b1a99
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3b-2
00b1a99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
00b1a99
0678968
* Sat Jun 16 2018 Jerry James <loganjerry@gmail.com> - 4.3b-1
0678968
- Update to 4.3b
0678968
- Drop upstreamed -endian patch
0678968
- Add -noreturn patch to silence compiler warnings
0678968
- Remove scriptlets that call install-info
0678968
- Use ldconfig_scriptlets
0678968
e5d4ca1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.3a-4
e5d4ca1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e5d4ca1
3947e86
* Thu Aug 17 2017 Jerry James <loganjerry@gmail.com> - 4.3a-3
3947e86
- Add -endian patch to fix s390x build
3947e86
- Build for ppc64 as well, since the -endian patch fixed that too
3947e86
5533972
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3a-3
5533972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5533972
9cb7aa2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.3a-2
9cb7aa2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9cb7aa2
d29f134
* Sat Jul 22 2017 Jerry James <loganjerry@gmail.com> - 4.3a-1
d29f134
- Update to 4.3a
d29f134
- Drop upstreamed -nameser, -openssl11, and -emacs25 patches
d29f134
- Add -fwrapv to CFLAGS to address overflow in the Unicode code
d29f134
- Enable pulseaudio and mpg123 support
d29f134
b133383
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.2c-3
b133383
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b133383
6d06a49
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.2c-2
6d06a49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6d06a49
f2b382b
* Wed Dec 23 2015 Jerry James <loganjerry@gmail.com> - 4.2c-1
f2b382b
- Update to 4.2c (bz 1264055)
f2b382b
dedaf22
* Tue Oct 27 2015 Jerry James <loganjerry@gmail.com> - 4.2b-1
dedaf22
- Update to 4.2b (bz 1264055)
dedaf22
48d5a44
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1a-9.2
48d5a44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
48d5a44
3f27cb6
* Sat Apr 11 2015 Jerry James <loganjerry@gmail.com> - 4.1a-8.2
3f27cb6
- Adapt to new (X)Emacs packaging guidelines
3f27cb6
- Do not link with -z now, breaks the configure script and module loading
3f27cb6
Jerry James 3720780
* Mon Feb  9 2015 Jerry James <loganjerry@gmail.com> - 4.1a-7.2
Jerry James 3720780
- Fix build failure due to lack of -fPIC
Jerry James 3720780
- Use license macro
Jerry James 3720780
0c650c7
* Tue Sep  2 2014 Jerry James <loganjerry@gmail.com> - 4.1a-6.2
0c650c7
- Rebuild for libunistring soname bump
0c650c7
e9909b0
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1a-5.2
e9909b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e9909b0
Jerry James 73ef1bc
* Thu Jun 26 2014 Jerry James <loganjerry@gmail.com> - 4.1a-4.2
Jerry James 73ef1bc
- Library renaming must be done in the version-specific directory too
Jerry James 73ef1bc
3c73970
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1a-3.2
3c73970
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3c73970
Jerry James f2d1e40
* Mon Mar  3 2014 Jerry James <loganjerry@gmail.com> - 4.1a-2.2
Jerry James f2d1e40
- Update to 4.1a-2 bug fix release
Jerry James f2d1e40
Jerry James a4e5c8e
* Mon Feb 24 2014 Jerry James <loganjerry@gmail.com> - 4.1a-2
Jerry James a4e5c8e
- Main package now Requires libunistring-devel
Jerry James a4e5c8e
Jerry James 63d50fd
* Thu Feb 20 2014 Jerry James <loganjerry@gmail.com> - 4.1a-1
Jerry James 63d50fd
- Update to 4.1a
Jerry James 63d50fd
- Add libunistring-devel BR
Jerry James 63d50fd
- Set LOCALE when configuring for UTF-8 filename support
Jerry James 63d50fd
Jerry James 63e3895
* Fri Aug  2 2013 Jerry James <loganjerry@gmail.com> - 4.0b-1
Jerry James 63e3895
- Update to 4.0b
Jerry James 63e3895
- Add -stat64 patch and build with -D_FILE_OFFSET_BITS=64
Jerry James 63e3895
- Fix the xemacs version of bmacs-config.el
Jerry James 63e3895
Jerry James 31cbe7e
* Wed Feb  6 2013 Jerry James <loganjerry@gmail.com> - 4.0a-1
Jerry James 31cbe7e
- Update to 4.0a
Jerry James 31cbe7e
- Add texinfo-tex and texi2html BRs for documentation
Jerry James 31cbe7e
bf68ec5
* Mon Nov 19 2012 Michel Salim <salimma@fedoraproject.org> - 3.9b-0.1.20121118alpha
bf68ec5
- Update to 3.9b snapshot
bf68ec5
Jerry James ef8313d
* Tue Oct 23 2012 Jerry James <loganjerry@gmail.com> - 3.9a-1
Jerry James ef8313d
- Update to 3.9a
Jerry James ef8313d
- Don't require a multilib gcc, but rather multilib libgcc and glibc
Jerry James ef8313d
- Enable libphidget and pcre support
Jerry James ef8313d
- Don't define BIGLOOLIB while compiling; it breaks the build
Jerry James ef8313d
7fd22e0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.8c-2
7fd22e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7fd22e0
e90cf6f
* Mon Jul  2 2012 Michel Salim <salimma@fedoraproject.org> - 3.8c-1
e90cf6f
- Update to 3.8c
e90cf6f
c8bd81b
* Thu May  3 2012 Jerry James <loganjerry@gmail.com> - 3.8b-1
c8bd81b
- Update to 3.8b
c8bd81b
- Drop upstreamed JDK 1.7 patch
c8bd81b
875d6e6
* Fri Mar 30 2012 Jerry James <loganjerry@gmail.com> - 3.8a-1.2
875d6e6
- Update to 3.8a-2
875d6e6
- Drop upstreamed java SSL patch
875d6e6
- Create (X)Emacs install dirs to avoid occasional build failure
875d6e6
dd7b829
* Fri Mar 23 2012 Jerry James <loganjerry@gamil.com> - 3.8a-1
dd7b829
- Update to 3.8a
dd7b829
- Drop upstreamed patches
dd7b829
- Add avahi-devel BR for new API
dd7b829
35aa99c
* Mon Jan  9 2012 Jerry James <loganjerry@gmail.com> - 3.7a-3
35aa99c
- Rebuild for GCC 4.7
35aa99c
- Drop unnecessary BRs
35aa99c
fe91a3d
* Wed Nov 23 2011 Jerry James <loganjerry@gmail.com> - 3.7a-2
fe91a3d
- Fix (X)Emacs installations (bz 754592)
fe91a3d
- Refresh sendfile patch to match upstream's version
fe91a3d
fbeb223
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.7a-1.2
fbeb223
- rebuild with new gmp without compat lib
fbeb223
adc2670
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 3.7a-1.1
adc2670
- rebuild with new gmp
adc2670
a07604c
* Mon Sep 26 2011 Jerry James <loganjerry@gmail.com> - 3.7a-1
a07604c
- Update to 3.7a
a07604c
- New source URL
a07604c
- Drop unnecessary spec file elements (BuildRoot, defattr, etc.)
a07604c
- Reenable XEmacs subpackages
a07604c
- Fix more files with non-UTF-8 encodings
a07604c
- Four patches to fix problems encountered with the new version
a07604c
- Add alsa-lib-devel, dbus-devel, and flac-devel BRs for new APIs
a07604c
- The obsoletes were needed for now EOL Fedora releases; remove them
a07604c
- Add check script
a07604c
Gérard Milmeister 2b4171b
* Mon Feb 14 2011 Gérard Milmeister <gemi@bluewin.ch> - 3.6a-1
Gérard Milmeister b69049b
- Update to 3.6a
Gérard Milmeister b69049b
0e3ee93
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4a-2
0e3ee93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0e3ee93
4e64063
* Fri Jul  2 2010 Michel Salim <salimma@fedoraproject.org> - 3.4a-1
4e64063
- Update to 3.4a
4e64063
4e64063
* Fri Jul  2 2010 Michel Salim <salimma@fedoraproject.org> - 3.3a-2.5
4e64063
- Now complies with Emacs packaging guidelines
4e64063
- Disable broken XEmacs subpackages
4e64063
36d7c2a
* Sun May  9 2010 Michel Salim <salimma@fedoraproject.org> - 3.3a-1.5
36d7c2a
- Update to 3.3a-5
36d7c2a
ef98191
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 3.2b-3
ef98191
- rebuilt with new openssl
ef98191
161a3ad
* Sun Aug 16 2009 Gerard Milmeister <gemi@bluewin.ch> - 3.2b-2
161a3ad
- added requires gc-devel
161a3ad
3ffa98d
* Sun Aug  9 2009 Gerard Milmeister <gemi@bluewin.ch> - 3.2b-1
3ffa98d
- new release 3.2b
3ffa98d
8bd2b59
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1b-6
8bd2b59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8bd2b59
481043d
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1b-5
481043d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
481043d
1ef2223
* Thu Jan 15 2009 Tomas Mraz <tmraz@redhat.com> - 3.1b-4
1ef2223
- rebuild with new openssl
1ef2223
bf2cae1
* Tue Sep 30 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.1b-3
bf2cae1
- add BR openssl-devel
bf2cae1
- add missing Req. gmp-devel
bf2cae1
a4a2ca7
* Thu Sep 18 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.1b-1
a4a2ca7
- new release 3.1b
a4a2ca7
253ab2e
* Sat May 31 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.1a-1
253ab2e
- new release 3.1a
253ab2e
4a8d3a9
* Mon Apr 14 2008 Gerard Milmeister <gemi@bluewin.ch> - 3.0c-4.1
4a8d3a9
- new release 3.0c-4
4a8d3a9
d93c0d8
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.0b-2
d93c0d8
- Autorebuild for GCC 4.3
d93c0d8
dbcc783
* Tue Sep 11 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.0b-1
dbcc783
- new release 3.0b
dbcc783
8ab42c1
* Sat Jun  2 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.0a-4
8ab42c1
- exclude ppc64
8ab42c1
8ab42c1
* Fri Jun  1 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.0a-3
8ab42c1
- remove java ssl since it does not build with libgcj
8ab42c1
8ab42c1
* Fri Jun  1 2007 Gerard Milmeister <gemi@bluewin.ch> - 3.0a-1
8ab42c1
- new version 3.0a
8ab42c1
Thomas Fitzsimmons 89f935f
* Wed Mar 28 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2.9a-3
Thomas Fitzsimmons 89f935f
- Patch method calls for Java 1.5.
Thomas Fitzsimmons 89f935f
Thomas Fitzsimmons 45b445d
* Tue Mar 27 2007 Thomas Fitzsimmons <fitzsim@redhat.com> - 2.9a-2
Thomas Fitzsimmons 45b445d
- Require java-1.5.0-gcj-devel for build.
Thomas Fitzsimmons 45b445d
0b11b0a
* Thu Dec 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.9a-1
0b11b0a
- new version 2.9a
0b11b0a
5b2fbff
* Wed Sep 13 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8c-5
5b2fbff
- final version 2.8c
5b2fbff
382ba92
* Tue Sep  5 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8c-4
382ba92
- reenable hard links
382ba92
ac48a8c
* Fri Sep  1 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8c-2
ac48a8c
- updated to 2.8c-beta01Sep06
c09aa42
c8440a5
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8b-3
c8440a5
- Rebuild for FE6
c8440a5
f610efc
* Thu Jun 22 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8b-1
f610efc
- new version 2.8b
f610efc
b596384
* Thu Jun  1 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8a-2
b596384
- final 2.8a release
b596384
ca19361
* Tue Mar 21 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8a-1.20060322
ca19361
- new version 2.8a-20060322
13538bb
13538bb
* Mon Mar 13 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.8a-1.20060313
8f0c4c9
- new version 2.8a-20060313
94db9e5
d4bc082
* Mon Nov 28 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.7a-2
d4bc082
- disable bmem, causes link problems
d4bc082
e1600db
* Sun Nov 27 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.7a-1
e1600db
- New Version 2.7a
e1600db
6ba5408
* Tue Sep 27 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.6f-3
6ba5408
- Removed --arch
6ba5408
6ba5408
* Fri Feb 18 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:2.6f-1
6ba5408
- New Version 2.6f
6ba5408
6ba5408
* Sun Feb 13 2005 Gerard Milmeister <gemi@bluewin.ch> - 0:2.6e-1
6ba5408
- New Version 2.6e
6ba5408
6ba5408
* Tue Mar 16 2004 Gerard Milmeister <gemi@bluewin.ch> - 0:2.6-0.fdr.1.c
6ba5408
- New Version 2.6c
6ba5408
- Separated Emacs and XEmacs packages
6ba5408
6ba5408
* Tue Dec 16 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:2.6-0.fdr.1.b
6ba5408
- New Version 2.6b
6ba5408
6ba5408
* Thu Nov 27 2003 Gerard Milmeister <gemi@bluewin.ch> - 0:2.6-0.fdr.1.a
6ba5408
- First Fedora release