7e32371
%ifarch aarch64
2926b43
# Bootstrap the compiler for a new architecture. Set this to 0 after we've bootstrapped.
3a01d34
%global bootstrap 0
62ea5a5
%else
2926b43
%global bootstrap 0
62ea5a5
%endif
62ea5a5
f60f1cb
Name:           fpc
51cc1ad
Version:        3.2.2
1bac939
Release:        13%{?dist}
f60f1cb
Summary:        Free Pascal Compiler
f60f1cb
5f91b5a
License:        GPLv2+ and LGPLv2+ with exceptions
f60f1cb
URL:            http://www.freepascal.org/
c84611d
Source0:        ftp://ftp.freepascal.org/pub/fpc/dist/%{version}/source/fpcbuild-%{version}.tar.gz
bc5ad92
62ea5a5
# This is only needed when we're bootstrapping.
5b4bcd7
# But it's not in an 'if defined' block, since the file has to be included in the srpm
62ea5a5
# Thus you should enable this line when we're bootstrapping for any target
d2836fa
#
2926b43
# Last used for aaarch64 and ppc64le bootstrap.
2926b43
# For the aarch64 bootstrap, a compiler has been used that has been cross-compiled on a x86_64 system using:
2926b43
#   make all CPU_TARGET=aarch64 OS_TARGET=linux BINUTILSPREFIX=aarch64-linux-gnu-
2926b43
# For the ppc64 boostrap, a compiler has been used that has been cross-compiled on a x86_64 system using:
2926b43
#   make all CPU_TARGET=powerpc64 OS_TARGET=linux BINUTILSPREFIX=powerpc64le-linux-gnu- CROSSOPT="-Cb- -Caelfv2"
2926b43
#
2926b43
# in the main directory of fpc-r44016. The compilers were then copied using:
2926b43
#   cp compiler/ppca64    ~/fpc-3.2.0-bin/ppca64-3.2.0-bootstrap
2926b43
#   cp compiler/ppcppc64  ~/fpc-3.2.0-bin/ppcppc64-3.2.0-bootstrap
2926b43
# The zip file was then created using:
2926b43
#   zip -9 fpc-3.2.0-bin.zip -r fpc-3.2.0-bin/
3a01d34
#
3a01d34
# Source100:	https://suve.fedorapeople.org/fpc-3.2.0-bin--patch0.zip
bc5ad92
3193f12
# Configuration templates:
bc5ad92
Source10:        fpc.cft
bc5ad92
Source11:        fppkg.cfg
bc5ad92
Source12:        default.cft
1846340
ca5cd49
# On Fedora we do not want stabs debug-information. (even on 32 bit platforms)
ca5cd49
# https://bugzilla.redhat.com/show_bug.cgi?id=1475223 
c84611d
Patch0:         fpc-3.2.0--dwarf-debug.patch
f60f1cb
1846340
# Allow for reproducible builds
1846340
# https://bugzilla.redhat.com/show_bug.cgi?id=1778875
c84611d
Patch1:         fpc-3.2.0--honor_SOURCE_DATE_EPOCH_in_date.patch
1846340
7e32371
# Upstream assumes /usr/lib/ for aarch64, but Fedora uses /usr/lib64/
c84611d
Patch2:         fpc-3.2.0--fix-lib-paths-on-aarch64.patch
f0b48f8
b1d3929
# Update for new glibc >= 2.34
01634e7
#     RHBZ bug: https://bugzilla.redhat.com/show_bug.cgi?id=2005910
01634e7
# Upstream bug: https://gitlab.com/freepascal.org/fpc/source/-/issues/39295
01634e7
Patch3:         fpc-3.2.2--glibc-2.34.patch
01634e7
01634e7
# Fix missing TOC loads on ppc64le. A backport of upstream commits:
01634e7
# - https://gitlab.com/freepascal.org/fpc/source/-/commit/12f48c230bccd49f368be1e5a2855cb6c3a60c0f
01634e7
# - https://gitlab.com/freepascal.org/fpc/source/-/commit/9314bbbf080418827eef94a8bc392ce0497bf72b
01634e7
# - https://gitlab.com/freepascal.org/fpc/source/-/commit/2de72c854115908271912cd9b260a607c826eadb
01634e7
# - https://gitlab.com/freepascal.org/fpc/source/-/commit/83c18df69a79fe1035a0cf0bc0897c60d1af0293
01634e7
# - https://gitlab.com/freepascal.org/fpc/source/-/commit/68b5ca633ca71a83c29b78cd3669bf15477cd94f
01634e7
# Some modifications were made to make the changes apply cleanly to v3.2.2.
01634e7
# Upstream bug report: https://gitlab.com/freepascal.org/fpc/source/-/issues/39542
01634e7
Patch4:         fpc-3.2.2--ppc64le-toc-fixes.patch
67f0c78
9c5c41e
# The "pas2jni" util program shipped with FPC uses threads,
9c5c41e
# but is compiled without thread support and fails to actually do anything useful when run.
9c5c41e
# Submitted upstream: https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/185
9c5c41e
Patch5:         fpc-3.2.2--pas2jni-cthreads.patch
9c5c41e
e72fee5
# By default, the textmode IDE installs some data files (templates, ASCII art)
e72fee5
# in the same directory as the executable (i.e. /usr/bin). This patch moves
e72fee5
# the data files inside the main FPC install directory (LIBDIR/fpc/VERSION/ide).
e72fee5
Patch6:         fpc-3.2.2--fix-IDE-data-files-locations.patch
e72fee5
6d234e0
# FPC's LaTeX docs use the \htmladdnormallink command, which has been removed in recent TexLive versions.
6d234e0
# Alias the command to \href.
6d234e0
#
6d234e0
# Taken from OpenSUSE: https://build.opensuse.org/package/view_file/openSUSE:Leap:15.5:Update/fpc/hyperref-2022.patch
6d234e0
Patch10:         hyperref-2022.patch
6d234e0
e72fee5
# FPC uses its own architecture names that do not align with the ones used by Fedora.
e72fee5
# TODO: It might be a good idea to move "fpcarchname" to the fpc-srcm-macros package.
e72fee5
%ifarch %{arm}
e72fee5
  %global ppcname ppcarm
e72fee5
  %global fpcarchname arm
e72fee5
%else
e72fee5
  %ifarch aarch64
e72fee5
    %global ppcname ppca64
e72fee5
    %global fpcarchname aarch64
e72fee5
  %else
e72fee5
    %ifarch ppc64 ppc64le
e72fee5
      %global ppcname ppcppc64
e72fee5
      %global fpcarchname powerpc64
e72fee5
    %else
e72fee5
      %ifarch x86_64
e72fee5
        %global ppcname ppcx64
e72fee5
        %global fpcarchname x86_64
e72fee5
      %else
e72fee5
        %global ppcname ppc386
e72fee5
        %global fpcarchname i386
e72fee5
      %endif
e72fee5
    %endif
e72fee5
  %endif
e72fee5
%endif
e72fee5
e72fee5
# Helper macro to reduce amount of typing
e72fee5
%global units_native units-%{fpcarchname}-linux
e72fee5
51cc1ad
Requires:       binutils
e72fee5
Requires:       %{name}-%{units_native}%{?_isa} = %{version}-%{release}
51cc1ad
62ea5a5
%if ! 0%{?bootstrap}
3713268
BuildRequires:  fpc
3713268
%endif
56843c2
BuildRequires:  glibc-devel
51cc1ad
BuildRequires:  make
51cc1ad
BuildRequires:  tex(imakeidx.sty)
51cc1ad
BuildRequires:  tex(latex)
51cc1ad
BuildRequires:  tex(tex)
51cc1ad
BuildRequires:  tex(upquote.sty)
51cc1ad
BuildRequires:  tetex-fonts
f60f1cb
e72fee5
# Required in F38 and F39, can be removed later
e72fee5
# See: https://fedoraproject.org/wiki/Changes/F38-FPC-repackaging
e72fee5
Obsoletes:      fpc%{?isa} < 3.2.2-8
e72fee5
7e32371
ExclusiveArch:  %{arm} aarch64 %{ix86} x86_64 ppc64le
1d041a3
e72fee5
f60f1cb
%description
3193f12
Free Pascal is a free 32/64bit Pascal Compiler. It comes with a run-time
fbc2525
library and is fully compatible with Turbo Pascal 7.0 and nearly Delphi
fbc2525
compatible. Some extensions are added to the language, like function
fbc2525
overloading and generics. Shared libraries can be linked. This package
e72fee5
contains the command-line compiler and utilities.
e72fee5
e72fee5
%package ide
e72fee5
Summary: Free Pascal Compiler - terminal-based IDE
e72fee5
Requires: %{name}-%{units_native}%{?_isa} = %{version}-%{release}
e72fee5
Requires: gpm
e72fee5
Requires: ncurses
e72fee5
e72fee5
# Required in F38 and F39, can be removed later
e72fee5
# See: https://fedoraproject.org/wiki/Changes/F38-FPC-repackaging
e72fee5
Obsoletes:      fpc%{?isa} < 3.2.2-8
e72fee5
e72fee5
%description ide
e72fee5
The fpc-ide package provides "fp", the official terminal-based IDE
e72fee5
for the Free Pascal Compiler.
e72fee5
e72fee5
%package %{units_native}
e72fee5
Summary: Free Pascal Compiler - units for %{fpcarchname}-linux
e72fee5
e72fee5
%description %{units_native}
e72fee5
This package provides pre-compiled unit files for developing Free Pascal
e72fee5
applications for Linux (%{fpcarchname} processor architecture). It includes
e72fee5
the runtime library (RTL), the free component library (FCL) and packages.
f60f1cb
f60f1cb
%package doc
a4701e0
Summary: Free Pascal Compiler - documentation and examples
f60f1cb
f60f1cb
%description doc
f60f1cb
The fpc-doc package contains the documentation (in pdf format) and examples
3193f12
of Free Pascal.
f60f1cb
f60f1cb
%package src
a4701e0
Summary:   Free Pascal Compiler - sources
a4701e0
BuildArch: noarch
f60f1cb
f60f1cb
%description src
3193f12
The fpc-src package contains the sources of Free Pascal, for documentation or
f60f1cb
automatical-code generation purposes.
f60f1cb
e72fee5
2926b43
%global smart _smart
e72fee5
%global fpmakeopt %{?_smp_build_ncpus:-T %{_smp_build_ncpus}}
d2836fa
%ifarch %{arm}
e72fee5
  %global fpcopt -dFPC_ARMHF -k--build-id
d2836fa
%else
e72fee5
  %ifarch ppc64le
e72fee5
    %global fpcopt -Cb- -Caelfv2 -k--build-id
2926b43
  %else
e72fee5
    %global fpcopt -k--build-id
2926b43
  %endif
d2836fa
%endif
e72fee5
%global fpcdebugopt -gl -gw
f60f1cb
bc5ad92
c84611d
%prep
c84611d
%setup -n fpcbuild-%{version} -q
bc5ad92
2926b43
%if 0%{?bootstrap}
2926b43
unzip %{SOURCE100}
2926b43
%endif
2926b43
bc5ad92
pushd fpcsrc
Software Management Team 649130f
%patch -P0
Software Management Team 649130f
%patch -P1
Software Management Team 649130f
%patch -P2
Software Management Team 649130f
%patch -P3 -p1
Software Management Team 649130f
%patch -P4 -p2
Software Management Team 649130f
%patch -P5 -p1
Software Management Team 649130f
%patch -P6 -p2
6d234e0
popd
6d234e0
6d234e0
pushd fpcdocs
Software Management Team 649130f
%patch -P10 -p1
bc5ad92
d2836fa
f60f1cb
%build
fbc2525
# The source-files:
fbc2525
mkdir -p fpc_src
fbc2525
cp -a fpcsrc/rtl fpc_src
fbc2525
cp -a fpcsrc/packages fpc_src
e72fee5
e72fee5
# Remove some unused units
e72fee5
rm -rf fpc_src/packages/amunits/    # Amiga (Motorola 64k CPU)
e72fee5
rm -rf fpc_src/packages/arosunits/  # AROS
e72fee5
rm -rf fpc_src/packages/morphunits/ # MorphOS
e72fee5
rm -rf fpc_src/packages/os2units/   # OS/2
e72fee5
rm -rf fpc_src/packages/os4units/   # Amiga OS4
e72fee5
rm -rf fpc_src/packages/palmunits/  # PalmOS
e72fee5
rm -rf fpc_src/packages/tosunits/   # Atari TOS/GEM
e72fee5
rm -rf fpc_src/packages/winceunits/ # MS Windows CE
e72fee5
fbc2525
62ea5a5
%if 0%{?bootstrap}
2926b43
STARTPP=$(pwd)/fpc-%{version}-bin/%{ppcname}-%{version}-bootstrap
fbc2525
%else
4c1de19
STARTPP=%{ppcname}
fbc2525
%endif
9bf27bd
bc5ad92
pushd fpcsrc
2926b43
NEWPP=$(pwd)/compiler/%{ppcname}
2926b43
DATA2INC=$(pwd)/utils/data2inc
c5b553f
# FIXME: -j1 as there is a race on armv7hl - seen on "missing" `prt0.o' and 'dllprt0.o'.
c5b553f
make -j1 compiler_cycle FPC=${STARTPP} OPT='%{fpcopt} %{fpcdebugopt}'
e72fee5
# No -j here as it has no effect. Parallel compilation is controlled via FPMAKEOPT
e72fee5
make rtl_clean rtl%{smart} FPC=${NEWPP} OPT='%{fpcopt} %{fpcdebugopt}' FPMAKEOPT='%{fpmakeopt}'
e72fee5
make packages%{smart} FPC=${NEWPP} OPT='%{fpcopt} %{fpcdebugopt}' FPMAKEOPT='%{fpmakeopt}'
e72fee5
make utils_all FPC=${NEWPP} DATA2INC=${DATA2INC} OPT='%{fpcopt} %{fpcdebugopt}' FPMAKEOPT='%{fpmakeopt}'
bc5ad92
popd
d8c5ee7
b1f3e84
# FIXME: -j1 as there is a race - seen on "missing" `rtl.xct'.
a182dfc
make -j1 -C fpcdocs pdf FPC=${NEWPP}
d2836fa
f60f1cb
%install
bc5ad92
pushd fpcsrc
2926b43
NEWPP=$(pwd)/compiler/%{ppcname}
2926b43
NEWFPCMAKE=$(pwd)/utils/fpcm/bin/%{fpcarchname}-linux/fpcmake
62ea5a5
INSTALLOPTS="-j1 FPC=${NEWPP} FPCMAKE=${NEWFPCMAKE} \
f60f1cb
                INSTALL_PREFIX=%{buildroot}%{_prefix} \
f60f1cb
                INSTALL_LIBDIR=%{buildroot}%{_libdir} \
fbc2525
                INSTALL_BASEDIR=%{buildroot}%{_libdir}/%{name}/%{version} \
fbc2525
                CODPATH=%{buildroot}%{_libdir}/%{name}/lexyacc \
d2836fa
                INSTALL_DOCDIR=%{buildroot}%{_defaultdocdir}/%{name} \
f60f1cb
                INSTALL_BINDIR=%{buildroot}%{_bindir}
d2836fa
                INSTALL_EXAMPLEDIR=%{buildroot}%{_defaultdocdir}/%{name}/examples"
f60f1cb
make compiler_distinstall ${INSTALLOPTS}
f60f1cb
make rtl_distinstall ${INSTALLOPTS}
f60f1cb
make packages_distinstall ${INSTALLOPTS}
f60f1cb
make utils_distinstall ${INSTALLOPTS}
bc5ad92
popd
bc5ad92
bc5ad92
pushd install
4c1de19
make -C doc ${INSTALLOPTS}
4c1de19
make -C man ${INSTALLOPTS} INSTALL_MANDIR=%{buildroot}%{_mandir}
bc5ad92
popd
bc5ad92
4c1de19
make -C fpcdocs pdfinstall ${INSTALLOPTS}
f60f1cb
f60f1cb
# create link
f60f1cb
ln -sf ../%{_lib}/%{name}/%{version}/%{ppcname} %{buildroot}%{_bindir}/%{ppcname}
f60f1cb
a182dfc
# Remove the version-number from the documentation-directory
a182dfc
mv %{buildroot}%{_defaultdocdir}/%{name}-%{version}/* %{buildroot}%{_defaultdocdir}/%{name}
a182dfc
rmdir %{buildroot}%{_defaultdocdir}/%{name}-%{version}
a182dfc
3193f12
# Create a version independent compiler-configuration file with build-id
3193f12
# enabled by default
3193f12
# For this purpose some non-default templates are used. So the samplecfg
3193f12
# script could not be used and fpcmkcfg is called directly.
bc5ad92
%{buildroot}%{_bindir}/fpcmkcfg -p -t %{SOURCE10} -d "basepath=%{_exec_prefix}" -o %{buildroot}%{_sysconfdir}/fpc.cfg
3193f12
# Create the IDE configuration files
3193f12
%{buildroot}%{_bindir}/fpcmkcfg -p -1 -d "basepath=%{_libdir}/%{name}/\$fpcversion" -o %{buildroot}%{_libdir}/%{name}/%{version}/ide/text/fp.cfg
3193f12
%{buildroot}%{_bindir}/fpcmkcfg -p -2 -o %{buildroot}%{_libdir}/%{name}/%{version}/ide/text/fp.ini
3193f12
# Create the fppkg configuration files
bc5ad92
%{buildroot}%{_bindir}/fpcmkcfg -p -t %{SOURCE11} -d CompilerConfigDir=%{_sysconfdir}/fppkg -d arch=%{_arch} -o %{buildroot}%{_sysconfdir}/fppkg.cfg
bc5ad92
%{buildroot}%{_bindir}/fpcmkcfg -p -t %{SOURCE12} -d fpcbin=%{_bindir}/fpc -d GlobalPrefix=%{_exec_prefix} -d lib=%{_lib} -o %{buildroot}%{_sysconfdir}/fppkg/default_%{_arch}
fbc2525
fbc2525
# Include the COPYING-information for the compiler/rtl/fcl in the documentation
d2836fa
cp -a fpcsrc/compiler/COPYING.txt %{buildroot}%{_defaultdocdir}/%{name}/COPYING
d2836fa
cp -a fpcsrc/rtl/COPYING.txt %{buildroot}%{_defaultdocdir}/%{name}/COPYING.rtl
d2836fa
cp -a fpcsrc/rtl/COPYING.FPC %{buildroot}%{_defaultdocdir}/%{name}/COPYING.FPC
f60f1cb
f60f1cb
# The source-files:
f60f1cb
mkdir -p %{buildroot}%{_datadir}/fpcsrc
fbc2525
cp -a fpc_src/* %{buildroot}%{_datadir}/fpcsrc/
f60f1cb
f60f1cb
# Workaround:
f60f1cb
# newer rpm versions do not allow garbage
820b581
# delete lexyacc (The hardcoded library path is necessary because 'make
820b581
# install' places this file hardcoded at usr/lib)
a182dfc
rm -rf %{buildroot}/usr/lib/%{name}/lexyacc
f60f1cb
f60f1cb
f60f1cb
%files
f60f1cb
%{_bindir}/*
f60f1cb
%{_libdir}/%{name}
bc5ad92
%{_libdir}/libpas2jslib.so*
fbc2525
%config(noreplace) %{_sysconfdir}/%{name}.cfg
3193f12
%config(noreplace) %{_sysconfdir}/fppkg.cfg
3193f12
%config(noreplace) %{_sysconfdir}/fppkg/default_%{_arch}
d2836fa
%dir %{_defaultdocdir}/%{name}/
d2836fa
%doc %{_defaultdocdir}/%{name}/NEWS
d2836fa
%doc %{_defaultdocdir}/%{name}/README
d2836fa
%doc %{_defaultdocdir}/%{name}/faq*
ca5cd49
%license %{_defaultdocdir}/%{name}/COPYING*
f60f1cb
%{_mandir}/*/*
e72fee5
# Exclude units
e72fee5
%exclude %{_libdir}/%{name}/%{version}/fpmkinst/
e72fee5
%exclude %{_libdir}/%{name}/%{version}/units/
e72fee5
# Exclude IDE-specific files
e72fee5
%exclude %{_bindir}/fp
e72fee5
%exclude %{_bindir}/fp.rsj
e72fee5
%exclude %{_libdir}/%{name}/%{version}/fpmkinst/%{fpcarchname}-linux/ide.fpm
e72fee5
%exclude %{_libdir}/%{name}/%{version}/ide
e72fee5
%exclude %{_mandir}/man1/fp.1*
e72fee5
e72fee5
%files %{units_native}
e72fee5
%dir %{_libdir}/%{name}/
e72fee5
%dir %{_libdir}/%{name}/%{version}/
e72fee5
%dir %{_libdir}/%{name}/%{version}/fpmkinst/
e72fee5
%dir %{_libdir}/%{name}/%{version}/units/
e72fee5
%{_libdir}/%{name}/%{version}/fpmkinst/%{fpcarchname}-linux/
e72fee5
%{_libdir}/%{name}/%{version}/units/%{fpcarchname}-linux/
e72fee5
# Don't forget about the IDE
e72fee5
%exclude %{_libdir}/%{name}/%{version}/fpmkinst/%{fpcarchname}-linux/ide.fpm
e72fee5
e72fee5
%files ide
e72fee5
%{_bindir}/fp
e72fee5
%{_bindir}/fp.rsj
e72fee5
%{_libdir}/%{name}/%{version}/fpmkinst/%{fpcarchname}-linux/ide.fpm
e72fee5
%{_libdir}/%{name}/%{version}/ide
e72fee5
%{_mandir}/man1/fp.1*
f60f1cb
f60f1cb
%files doc
d2836fa
%dir %{_defaultdocdir}/%{name}/
d2836fa
%doc %{_defaultdocdir}/%{name}/*.pdf
a182dfc
%doc %{_defaultdocdir}/%{name}/*/*
f60f1cb
f60f1cb
%files src
f60f1cb
%{_datadir}/fpcsrc
f60f1cb
d2836fa
f60f1cb
%changelog
1bac939
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-13
1bac939
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1bac939
974c64c
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-12
974c64c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
974c64c
aa64f54
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-11
aa64f54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
aa64f54
3ae45ad
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-10
3ae45ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
3ae45ad
6d234e0
* Wed Jan 18 2023 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.2.2-9
6d234e0
- Add a patch to fix docs failing to build with Texlive 2022
6d234e0
e72fee5
* Tue Jan 17 2023 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.2.2-8
e72fee5
- Move the TUI IDE to a subpackage
e72fee5
- Add a patch to fix IDE-related non-executable files being installed to /usr/bin
e72fee5
- Move units to a separate sub-package
e72fee5
- Use FPMAKEOPT for parallel compilation
e72fee5
- Remove some non-Linux units from the "fpc-src" subpackage
e72fee5
3bae2f3
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-7
3bae2f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
3bae2f3
9c5c41e
* Wed Mar 16 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.2.2-6
9c5c41e
- Add a patch to fix pas2jni failing to run properly
9c5c41e
01634e7
* Mon Feb 07 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.2.2-5
01634e7
- Add a patch to fix linking errors on ppc64le
01634e7
bb72a55
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-4
bb72a55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
bb72a55
b1d3929
* Tue Sep 21 2021 Dan HorĂ¡k <dan[at]danny.cz> - 3.2.2-3
b1d3929
- Update for new glibc >= 2.34
b1d3929
381ea1a
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
381ea1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
381ea1a
51cc1ad
* Thu Jun 03 2021 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.2.2-1
51cc1ad
- Update to v3.2.2
51cc1ad
9aabb6f
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-3
9aabb6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9aabb6f
5f9f09e
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
5f9f09e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5f9f09e
c84611d
* Sat Jun 20 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-1
c84611d
- Update to v3.2.0 (official release - no longer using SVN snapshots)
c84611d
- Drop Patch3 (missing consts - merged upstream)
c84611d
f0b48f8
* Wed Jun 03 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200530svn45533.1
f0b48f8
- Update to latest upstream SVN revision
f0b48f8
c8022f6
* Mon May 04 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200503svn45235.1
c8022f6
- Update to latest upstream SVN revision
c8022f6
7d11d28
* Sun Apr 12 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200410svn44680.1
7d11d28
- Update to latest upstream SVN revision
7d11d28
34641c5
* Sat Mar 28 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200327svn44375.1
34641c5
- Update to latest upstream SVN revision
34641c5
dd9d9c7
* Mon Mar 16 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200314svn44301.1
dd9d9c7
- Update to latest upstream SVN revision
dd9d9c7
850f212
* Mon Feb 24 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200222svn44232.1
850f212
- Update to latest upstream SVN revision
850f212
a48926d
* Wed Feb 12 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200212svn44160.1
a48926d
- Update to latest upstream SVN revision
a48926d
7d04a80
* Sat Feb 08 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200203svn44109.1
7d04a80
- Update to latest upstream SVN revision
7d04a80
734c0fb
* Sun Feb 02 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200202svn44092.5
734c0fb
- Update to latest upstream SVN revision
734c0fb
67f0c78
* Sat Feb 01 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200130svn44069.4
3a01d34
- Unmark the aarch64 build as requiring bootstrap
67f0c78
- Update to latest upstream SVN revision
3a01d34
f4dbe7e
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-0.20200122svn44016.3.1
f4dbe7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f4dbe7e
7e32371
* Tue Jan 28 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200122svn44016.3
7e32371
- Bootstrap the compiler for aarch64
7e32371
2926b43
* Mon Jan 27 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200122svn44016.2
2926b43
- Bootstrap the compiler for ppc64le
2926b43
bc5ad92
* Sun Jan 26 2020 Artur Iwicki <fedora@svgames.pl> - 3.2.0-0.20200122svn44016.1
bc5ad92
- Update to latest upstream SVN revision
bc5ad92
- Drop r1448 and r38400 patches (backports from upstream)
bc5ad92
a4701e0
* Sat Dec 21 2019 Artur Iwicki <fedora@svgames.pl> - 3.0.4-8
1846340
- Allow for reproducible builds by honoring the SOURCE_DATE_EPOCH variable
1846340
  (patch imported from Debian)
a4701e0
- Mark the fpc-src package as noarch
1846340
b4fd02f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-6
b4fd02f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b4fd02f
56843c2
* Sat Feb 02 2019 Artur Iwicki <fedora@svgames.pl> - 3.0.4-5
56843c2
- Add BuildRequires: for glibc-devel
56843c2
e813023
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-4
e813023
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e813023
cc4891f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.4-3
cc4891f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cc4891f
b6e2a11
* Sat Mar 03 2018 Richard Shaw <hobbes1069@gmail.com> - 3.0.4-2
b6e2a11
- Add patch to fix assembly alignment code, fixes #1526848.
b6e2a11
ca5cd49
* Thu Mar 01 2018 Joost van der Sluis <joost@cnoc.nl> - 3.0.4-1
ca5cd49
- Generate Dwarf debug by default on 32-bit targets (rhbz#1475223)
a4701e0
- Use the %%license macro instead of %%doc for licence files
ca5cd49
6463bea
* Fri Feb 09 2018 Joost van der Sluis <joost@cnoc.nl> - 3.0.4-1
9bf27bd
- Upgrade to upstream release 3.0.4.
9bf27bd
- Generate Dwarf- instead of Stabs-debuginfo on i686 and ARMHF
9bf27bd
- Force armhf on arm-architectures
9bf27bd
aa86301
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-4
aa86301
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
aa86301
7cde104
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-3
7cde104
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
7cde104
1e84f8f
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-2
1e84f8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1e84f8f
c5b553f
* Sat Mar 18 2017 Joost van der Sluis <joost@cnoc.nl> - 3.0.2-1
c5b553f
- Upgrade to upstream release 3.0.2.
c5b553f
- Attempt to fix race-problem during compiler-compilation on ARM
c5b553f
8c47bc8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-6
8c47bc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8c47bc8
820b581
* Sat Feb 4 2017 Joost van der Sluis <joost@cnoc.nl> - 3.0.0-5
820b581
- Drop powerpc64-arm binary added for bootstrapping on powerpc64,
820b581
  completing the bootstrap procedure
820b581
181621e
* Mon Jan 30 2017 Joost van der Sluis <joost@cnoc.nl> - 3.0.0-4
181621e
- Bootstrap ppc64 using cross-compiled compiler binary
181621e
c1a1369
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
c1a1369
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c1a1369
dd72258
* Mon Jan 11 2016 Joost van der Sluis <joost@cnoc.nl> - 3.0.0-2
dd72258
- Drop fpc-arm binary added for bootstrapping on ARM, completing the
dd72258
  bootstrap procedure
dd72258
62ea5a5
* Sat Jan 9 2016 Joost van der Sluis <joost@cnoc.nl> - 3.0.0-1
a182dfc
- Upgrade to upstream release 3.0.0.
62ea5a5
- Bootstrap ARM using cross-compiled armhl binaries, because the
62ea5a5
  (patched) 2.6.4-ARM compiler in the repository is not able to compile the
62ea5a5
  3.0.0 release.
a182dfc
1015676
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.4-2
1015676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1015676
a39f847
* Sat Mar 7 2015 Joost van der Sluis <joost@cnoc.nl> - 2.6.4-1
a39f847
- Upgrade to upstream release 2.6.4.
a39f847
a39f847
* Tue Jan 20 2015 Dan HorĂ¡k <dan[at]danny.cz> - 2.6.2-7
a39f847
- switch to ExclusiveArch
a39f847
745494b
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-6
745494b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
745494b
0c13568
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-5
0c13568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0c13568
b27f2ba
* Thu Aug 08 2013 Hans de Goede <hdegoede@redhat.com> - 2.6.2-4
b27f2ba
- Drop fpc binaries added to the src.rpm for bootstrapping on ARM, completing
b27f2ba
  the boostrap procedure (rhbz#992285)
b27f2ba
b27f2ba
* Thu Aug 08 2013 Hans de Goede <hdegoede@redhat.com> - 2.6.2-3
d2836fa
- Bootstrap for arm using Debian fpc-2.6.2 armhf binaries (rhbz#992285)
d2836fa
- Use an unversioned docdir (rhbz#993758)
d2836fa
a0e66ad
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-2
a0e66ad
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a0e66ad
9d59776
* Wed Apr 24 2013 Joost van der Sluis <joost@cnoc.nl> - 2.6.2-1
9d59776
- Upgrade to upstream release 2.6.2.
9d59776
2a00d68
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.2-0.2.rc1
2a00d68
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2a00d68
7fa7863
* Sat Nov 24 2012 Bruno Wolff III <bruno@wolff.to> - 2.6.2-0.1.rc1
7fa7863
- Use standard versioning, so non-rc versions will be higher
7fa7863
- Fix issue with some things using 'rc1' appended to version name and others not
7fa7863
53ed249
* Sat Nov 3 2012 Joost van der Sluis <joost@cnoc.nl> - 2.6.2rc1-1
53ed249
- Upgrade to upstream release 2.6.2rc1.
53ed249
173f2e7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
173f2e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
173f2e7
6446ab3
* Mon May 14 2012 Karsten Hopp <karsten@redhat.com> 2.6.0-2
6446ab3
- define ppcname on ppc64
6446ab3
3193f12
* Fri Jan 27 2012 Joost van der Sluis <joost@cnoc.nl> - 2.6.0-1
3193f12
- Upgrade to upstream release 2.6.0.
3193f12
- Do not use samplecfg for generating the configuration files anymore, but
3193f12
  call fpcmkcfg directly.
3193f12
- Changed the name of the project from Freepascal to Free Pascal
3193f12
12d6b8f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-3
12d6b8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12d6b8f
ae7a4d1
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-2
ae7a4d1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ae7a4d1
a07eb11
* Wed Jan 5 2011 Joost van der Sluis <joost@cnoc.nl> - 2.4.2-1
a07eb11
- Upgrade to upstream release 2.4.2.
a07eb11
d7cfaeb
* Sat Oct 23 2010 Joost van der Sluis <joost@cnoc.nl> - 2.4.2-0.1.rc1
d7cfaeb
- Upgrade to upstream release 2.4.2rc1.
d7cfaeb
b1f3e84
* Wed May  5 2010 Joost van der Sluis <joost@cnoc.nl> - 2.4.0-1.fc14
b1f3e84
- Drop fpc-2.2.4-stackexecute.patch since bug was fixed in 2.4.0
b1f3e84
b1f3e84
* Tue May  4 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 2.4.0-0.fc14
b1f3e84
- Upgrade to upstream release 2.4.0.
b1f3e84
  - Drop fpc-2.2.4-r12475.patch as present in 2.4.0.
b1f3e84
- Base the .spec build on upstream released archive (fpcbuild-2.4.0.tar.gz).
b1f3e84
- Remove the obsolete .spec BuildRoot tag.
b1f3e84
- Remove BuildRequires for binutils and glibc-devel as guaranteed as always
b1f3e84
  provided in Fedora Packaging Guidlines.
b1f3e84
- Remove Requires glibc as guaranteed on a Fedora system.
b1f3e84
- Add %%{?_smp_mflags} and -j1 appropriately, applied one -j1 workaround.
b1f3e84
- Change {compiler,rtl}/COPYING to COPYING.txt.
b1f3e84
407fdbb
* Tue Oct 6 2009 Joost van der Sluis <joost@cnoc.nl> 2.2.4-4
407fdbb
- fixed procvar parameter passing on ppc/sysv (by value instead of by
407fdbb
  reference -- except for method procvars, for tmethod record compatibility) 
407fdbb
2419a64
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.4-3
2419a64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2419a64
1d041a3
* Thu Jun 18 2009 Dan Horak <dan[at]danny.cz> 2.2.4-2
1d041a3
- Exclude s390/s390x architectures
1d041a3
990dc07
* Sun Apr 19 2009 Joost van der Sluis <joost@cnoc.nl> 2.2.4-1
51ff7c0
- Updated to version 2.2.4
51ff7c0
fbde491
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-4
fbde491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fbde491
42dbeb0
* Sat Oct 25 2008 Joost van der Sluis <joost@cnoc.nl> 2.2.2-3
42dbeb0
- Do not distribute the RTL and packages with debug-info included
42dbeb0
- Fix the location of the fpc-binary in the samplecfg script
42dbeb0
44bad17
* Sun Oct 19 2008 Joost van der Sluis <joost@cnoc.nl> 2.2.2-2
44bad17
- Pass -z noexecstack to the linker from within the configuration file fpc.cfg (fpc-bug #11563)
44bad17
- Added patch to fix fpc-bug #11837 for usage with newer gtk2-versions
44bad17
7a044e3
* Wed Aug 13 2008 Joost van der Sluis <joost@cnoc.nl> 2.2.2-1
7a044e3
- Updated to version 2.2.2
7a044e3
- Disabled debuginfo for ppc64 again
7a044e3
- Detect 32 or 64 bit compilation in the configuration file fpc.cfg
7a044e3
5f91b5a
* Sun Jun 22 2008 Joost van der Sluis <joost@cnoc.nl> 2.2.2rc1-1
5f91b5a
- Updated to version 2.2.2rc1
5f91b5a
- Enabled debuginfo for ppc64 again
5f91b5a
- Do not strip the debugdata on x86_64 anymore
5f91b5a
- Packages_base, packages_fcl and packages_extra are merged into packages
5f91b5a
- Don't install packages_fv separately anymore
5f91b5a
- Fix for incorrect path in official fpc 2.2.2rc1-sourcefile
5f91b5a
- Updated licence-tag from "GPL and modified LGPL" to fedora-tag "GPLv2+ and LGPLv2+ with exceptions"
5f91b5a
- Removed UsePrebuildcompiler define for ppc64
5f91b5a
f478c9b
* Wed Apr 16 2008 Joost van der Sluis <joost@cnoc.nl> 2.2.0-12
f478c9b
- Fix for DWARF-debug generation - fixes some more build problems on x86_64 and F9, bugzilla 337051
f478c9b
43c815f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.2.0-11
43c815f
- Autorebuild for GCC 4.3
43c815f
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-10
d0c7ef5
- Strip the debuginfo from grab_vcsa and ppudump, since debugedit chokes on it
d0c7ef5
- Only strip debugdata on x86_64
d0c7ef5
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-9
2c6e177
- Strip the debuginfo from mkxmlrpc, since debugedit chokes on it
2c6e177
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-8
5d20b7a
- Strip the debuginfo from h2pas, since debugedit chokes on it
5d20b7a
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-7
5b4bcd7
- Include the startcompiler on all targets, for the srpm-building
5b4bcd7
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-6
77f91d4
- Disabled debuginfo for ppc64 only
77f91d4
- Enabled smart-linking on ppc64
77f91d4
- Added a patch for building documentation without fpc already installed
77f91d4
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-5
d71c289
- Disabled debuginfo
d71c289
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-4
9c6aca0
- Enabled BuildId, added it to fpc.cfg
9c6aca0
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-3
f88b32d
- Disabled smart-linking on ppc64
f88b32d
d2836fa
* Tue Oct 16 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-2
3713268
- Buildrequirement fpc is not needed when using a pre-built compiler binary
3713268
fbc2525
* Sun Oct 14 2007 Joost van der Sluis <joost@cnoc.nl> 2.2.0-1
fbc2525
- Updated to version 2.2.0
fbc2525
- Updated description
fbc2525
- Enabled smart-linking for ppc
fbc2525
- Do not include the built binary-files in fpc-src
fbc2525
- Added support for ppc64
fbc2525
- Added support to configuration file for dual 32/64 bit installations
fbc2525
- Fixed and enabled debug-package 
fbc2525
1fdb208
* Sat Sep 16 2006 Joost van der Sluis <joost@cnoc.nl> 2.0.4-2
1fdb208
- Fixed documentation building on powerpc
1fdb208
1fdb208
* Fri Sep 15 2006 Joost van der Sluis <joost@cnoc.nl> 2.0.4-1
d8c5ee7
- Updated to version 2.0.4
d8c5ee7
bc29e63
* Wed Mar 1 2006 Joost van der Sluis <joost@cnoc.nl> 2.0.2-4
d9739a2
- Rebuild for Fedora Extras 5
d9739a2
37611fa
* Tue Dec 20 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.2-3
37611fa
- Disabled smart-linking for ppc
37611fa
99b3374
* Tue Dec 20 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.2-2
99b3374
- Updated fpc-2.0.2-G5.patch
99b3374
4c1de19
* Tue Dec 20 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.2-1
4c1de19
- Updated to version 2.0.2
4c1de19
efe981c
* Wed Aug 17 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-4
efe981c
- Added %%{?dist} to release.
efe981c
e04b51a
* Wed Aug 17 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-3
e04b51a
- replaced the ppcpcc-2.1.1 startcompilercompiler for the
e04b51a
  ppcppc-2.0.0 startcompiler 
e04b51a
69fec31
* Wed Aug 17 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-2
69fec31
- Added a patch for compilation on POWER5, and provided
69fec31
  the new ppcppc binary/startcompiler
69fec31
f60f1cb
* Fri Aug 5 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-1
f60f1cb
- Removed gpm-devel requirement
f60f1cb
- Fixed a type in the -src description
f60f1cb
d2836fa
* Thu Jul 28 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-1
f60f1cb
- Added some requirements
f60f1cb
- Added COPYING-info to %%doc
f60f1cb
f60f1cb
* Tue Jun 28 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-0.6
f60f1cb
- Only rtl, fcl and packages are added to src-subpackage
f60f1cb
- Silenced post-script
f60f1cb
- disabled the debuginfo-package
f60f1cb
d2836fa
* Sun Jun 5 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-0.5
f60f1cb
- Added doc-subpackage
f60f1cb
- Added src-subpackage
f60f1cb
f60f1cb
* Fri Jun 3 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-0.4
f60f1cb
- New fix for lib64 on x86_64
f60f1cb
- small patches from Jens Petersen <petersen@redhat.com>
f60f1cb
f60f1cb
* Thu May 26 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-0.3
f60f1cb
- replaced 'lib' and 'lib64' by %%{_lib}
f60f1cb
f60f1cb
* Tue May 24 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-0.2
f60f1cb
- Fixed for lib64 on x86_64
f60f1cb
- Changed summary, description and license
f60f1cb
- Removed examples from installation
f60f1cb
- Make clean removed from clean-section
f60f1cb
- Clean-up
f60f1cb
- replaced $RPM_BUILD_ROOT by %%{buildroot}
f60f1cb
f60f1cb
* Mon May 23 2005 Joost van der Sluis <joost@cnoc.nl> 2.0.0-0.1
f60f1cb
- Initial build.