|
|
@ -5,9 +5,12 @@
|
|
|
|
%global bootstrap 0
|
|
|
|
%global bootstrap 0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# As of 2022-08-17, on EPEL9, tex(imakeidx.sty) is not available.
|
|
|
|
|
|
|
|
%define with_pdfdoc 0
|
|
|
|
|
|
|
|
|
|
|
|
Name: fpc
|
|
|
|
Name: fpc
|
|
|
|
Version: 3.2.2
|
|
|
|
Version: 3.2.2
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Summary: Free Pascal Compiler
|
|
|
|
Summary: Free Pascal Compiler
|
|
|
|
|
|
|
|
|
|
|
|
License: GPLv2+ and LGPLv2+ with exceptions
|
|
|
|
License: GPLv2+ and LGPLv2+ with exceptions
|
|
|
@ -77,11 +80,14 @@ BuildRequires: fpc
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_pdfdoc}
|
|
|
|
BuildRequires: tex(imakeidx.sty)
|
|
|
|
BuildRequires: tex(imakeidx.sty)
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: tex(tex)
|
|
|
|
BuildRequires: tex(tex)
|
|
|
|
BuildRequires: tex(upquote.sty)
|
|
|
|
BuildRequires: tex(upquote.sty)
|
|
|
|
BuildRequires: tetex-fonts
|
|
|
|
BuildRequires: tetex-fonts
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 ppc64le
|
|
|
|
ExclusiveArch: %{arm} aarch64 %{ix86} x86_64 ppc64le
|
|
|
|
|
|
|
|
|
|
|
@ -96,9 +102,14 @@ runtime library (RTL), free component library (FCL) and packages.
|
|
|
|
%package doc
|
|
|
|
%package doc
|
|
|
|
Summary: Free Pascal Compiler - documentation and examples
|
|
|
|
Summary: Free Pascal Compiler - documentation and examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_pdfdoc}
|
|
|
|
%description doc
|
|
|
|
%description doc
|
|
|
|
The fpc-doc package contains the documentation (in pdf format) and examples
|
|
|
|
The fpc-doc package contains the documentation (in pdf format) and examples
|
|
|
|
of Free Pascal.
|
|
|
|
of Free Pascal.
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
|
|
|
The fpc-doc package contains code examples for Free Pascal.
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%package src
|
|
|
|
%package src
|
|
|
|
Summary: Free Pascal Compiler - sources
|
|
|
|
Summary: Free Pascal Compiler - sources
|
|
|
@ -183,7 +194,11 @@ make %{?_smp_mflags} utils_all FPC=${NEWPP} DATA2INC=${DATA2INC} OPT='%{fpcopt}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
# FIXME: -j1 as there is a race - seen on "missing" `rtl.xct'.
|
|
|
|
# FIXME: -j1 as there is a race - seen on "missing" `rtl.xct'.
|
|
|
|
|
|
|
|
%if 0%{?with_pdfdoc}
|
|
|
|
make -j1 -C fpcdocs pdf FPC=${NEWPP}
|
|
|
|
make -j1 -C fpcdocs pdf FPC=${NEWPP}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
make -j1 -C fpcdocs FPC=${NEWPP}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
pushd fpcsrc
|
|
|
|
pushd fpcsrc
|
|
|
@ -208,7 +223,11 @@ make -C doc ${INSTALLOPTS}
|
|
|
|
make -C man ${INSTALLOPTS} INSTALL_MANDIR=%{buildroot}%{_mandir}
|
|
|
|
make -C man ${INSTALLOPTS} INSTALL_MANDIR=%{buildroot}%{_mandir}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_pdfdoc}
|
|
|
|
make -C fpcdocs pdfinstall ${INSTALLOPTS}
|
|
|
|
make -C fpcdocs pdfinstall ${INSTALLOPTS}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
make -C fpcdocs ${INSTALLOPTS}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# create link
|
|
|
|
# create link
|
|
|
|
ln -sf ../%{_lib}/%{name}/%{version}/%{ppcname} %{buildroot}%{_bindir}/%{ppcname}
|
|
|
|
ln -sf ../%{_lib}/%{name}/%{version}/%{ppcname} %{buildroot}%{_bindir}/%{ppcname}
|
|
|
@ -261,14 +280,19 @@ rm -rf %{buildroot}/usr/lib/%{name}/lexyacc
|
|
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%files doc
|
|
|
|
%dir %{_defaultdocdir}/%{name}/
|
|
|
|
%dir %{_defaultdocdir}/%{name}/
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*.pdf
|
|
|
|
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*/*
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*/*
|
|
|
|
|
|
|
|
%if 0%{?with_pdfdoc}
|
|
|
|
|
|
|
|
%doc %{_defaultdocdir}/%{name}/*.pdf
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files src
|
|
|
|
%files src
|
|
|
|
%{_datadir}/fpcsrc
|
|
|
|
%{_datadir}/fpcsrc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Aug 17 2022 Artur Frenszek-Iwicki <fedora@svgames.pl> - 3.2.2-8
|
|
|
|
|
|
|
|
- Disable building .pdf documentation (missing dependencies on EPEL9)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-7
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|