|
|
|
@ -46,10 +46,10 @@
|
|
|
|
|
|
|
|
|
|
Name: gawk
|
|
|
|
|
Summary: The GNU version of the AWK text processing utility
|
|
|
|
|
Version: 5.3.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 5.1.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
|
|
|
|
|
License: GPL-3.0-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-3-Clause
|
|
|
|
|
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
|
|
|
|
|
|
|
|
|
|
URL: https://www.gnu.org/software/gawk/
|
|
|
|
|
Source0: https://ftp.gnu.org/gnu/gawk/gawk-%{version}.tar.xz
|
|
|
|
@ -73,6 +73,7 @@ BuildRequires: grep
|
|
|
|
|
BuildRequires: ghostscript
|
|
|
|
|
|
|
|
|
|
# Extending GAWK possibilities:
|
|
|
|
|
BuildRequires: libsigsegv-devel
|
|
|
|
|
BuildRequires: mpfr-devel
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
|
|
|
|
@ -114,7 +115,7 @@ BuildRequires: make
|
|
|
|
|
# Upstream patches -- official upstream patches released by upstream since the
|
|
|
|
|
# ---------------- last rebase that are necessary for any reason:
|
|
|
|
|
#Patch000: example000.patch
|
|
|
|
|
|
|
|
|
|
Patch001: proc-rv.patch
|
|
|
|
|
#Parts of the patch dealing with .info files, were removed, some parts of documentation might be broken
|
|
|
|
|
|
|
|
|
|
#Patch008: gawk-api-version.patch
|
|
|
|
@ -137,8 +138,6 @@ BuildRequires: make
|
|
|
|
|
# --------------------- some point in the future:
|
|
|
|
|
#Patch200: gawk-4.2.1-200-fix-build-for-f29.patch
|
|
|
|
|
|
|
|
|
|
#Pma is en experimental feature added in 5.2.0, and the tests is currently not very stable.
|
|
|
|
|
Patch201: disable-the-pma-test.patch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The gawk package contains the GNU version of AWK text processing utility. AWK is
|
|
|
|
@ -248,21 +247,18 @@ ln -sf /usr/libexec/awk %{buildroot}%{_libexecdir}/gawk
|
|
|
|
|
# Install the all the documentation in the same folder - /usr/share/doc/gawk:
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html/gawk/
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html/gawkinet/
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_docdir}/%{name}/eg/data/
|
|
|
|
|
|
|
|
|
|
install -m 0644 -p html/gawk/* %{buildroot}%{_docdir}/%{name}/html/gawk/
|
|
|
|
|
install -m 0644 -p html/gawkinet/* %{buildroot}%{_docdir}/%{name}/html/gawkinet/
|
|
|
|
|
|
|
|
|
|
install -m 0644 -p doc/gawk.{pdf,ps} %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
install -m 0644 -p doc/gawkinet.{pdf,ps} %{buildroot}%{_docdir}/%{name}
|
|
|
|
|
install -m 0644 -p awklib/eg/data/* %{buildroot}%{_docdir}/%{name}/eg/data/
|
|
|
|
|
|
|
|
|
|
# === PACKAGING INSTRUCTIONS ==================================================
|
|
|
|
|
|
|
|
|
|
#%files -f %{name}.lang
|
|
|
|
|
%files
|
|
|
|
|
%{_bindir}/*awk
|
|
|
|
|
%{_bindir}/gawkbug
|
|
|
|
|
%{_libdir}/*awk
|
|
|
|
|
%{_datadir}/*awk
|
|
|
|
|
%{_libexecdir}/*awk
|
|
|
|
@ -289,59 +285,20 @@ install -m 0644 -p awklib/eg/data/* %{buildroot}%{_docdir}/%{name}/eg/data/
|
|
|
|
|
%doc %{_docdir}/%{name}/gawk.{pdf,ps}
|
|
|
|
|
%doc %{_docdir}/%{name}/gawkinet.{pdf,ps}
|
|
|
|
|
%doc %{_docdir}/%{name}/html
|
|
|
|
|
%doc %{_docdir}/%{name}/eg
|
|
|
|
|
%doc %{_infodir}/gawk_*
|
|
|
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 5.3.0-4
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.3.0-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 11 2024 Jakub Martisko <jamartis@redhat.com> - 5.3.0-1
|
|
|
|
|
- New upstream release - 5.3.0
|
|
|
|
|
- libsigsegv should no longer be needed for the build
|
|
|
|
|
Resolves rhbz#2247650
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 22 2023 Jakub Martisko <jamartis@redhat.com> - 5.2.2-1
|
|
|
|
|
- New upstream release - 5.2.2
|
|
|
|
|
- Disable the pma test for now (it breaks the build right now).
|
|
|
|
|
Resolves rhbz#2124101
|
|
|
|
|
|
|
|
|
|
* Tue Apr 11 2023 Lukáš Zaoral <lzaoral@redhat.com> - 5.1.1-6
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Mar 30 2022 Jakub Martisko <jamartis@redhat.com> - 5.1.1-3
|
|
|
|
|
- Include the sample data files in the gawk-doc subpackage
|
|
|
|
|
Resolves: rhbz#2069821
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
* Wed Feb 16 2022 Jakub Martisko <jamartis@redhat.com> - 5.1.0-6
|
|
|
|
|
Fix the issue with incorect handling of return values of some processes
|
|
|
|
|
Resolves: rhbz#2055107
|
|
|
|
|
|
|
|
|
|
* Mon Nov 01 2021 Jakub Martisko <jamartis@redhat.com> - 5.1.1-1
|
|
|
|
|
- New upstream release - 5.1.1
|
|
|
|
|
Resolves rhbz#2018296
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.1.0-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 5.1.0-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|