2017-10-07 20:36:16 +00:00
|
|
|
Name: gawkextlib
|
|
|
|
Summary: Library providing common infrastructure for gawk extension libraries
|
2017-11-18 20:12:19 +00:00
|
|
|
Version: 1.0.4
|
2024-01-14 21:25:02 +00:00
|
|
|
Release: 16%{?dist}
|
2017-10-07 20:36:16 +00:00
|
|
|
License: GPLv3+
|
|
|
|
|
|
|
|
URL: https://sourceforge.net/projects/gawkextlib
|
|
|
|
Source: %{url}/files/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
Requires: gawk
|
|
|
|
BuildRequires: gawk-devel
|
2018-03-30 17:27:37 +00:00
|
|
|
BuildRequires: gcc
|
2017-10-07 20:36:16 +00:00
|
|
|
|
|
|
|
# Make sure the API version is compatible with our source code:
|
|
|
|
BuildRequires: gawk(abi) >= 1.1
|
2024-01-14 21:25:02 +00:00
|
|
|
BuildRequires: gawk(abi) < 5.0
|
2020-12-18 23:05:41 +00:00
|
|
|
BuildRequires: make
|
2017-10-07 20:36:16 +00:00
|
|
|
|
|
|
|
# At runtime, the ABI must be compatible with the compile-time version
|
2017-10-08 02:17:32 +00:00
|
|
|
%global gawk_api_version %(gawk 'BEGINFILE {if (ERRNO) nextfile} match($0, /#define gawk_api_(major|minor)_version[[:space:]]+([[:digit:]]+)/, f) {v[f[1]] = f[2]} END {print (v["major"] "." v["minor"])}' /usr/include/gawkapi.h)
|
2017-10-07 20:36:16 +00:00
|
|
|
Requires: gawk(abi) >= %{gawk_api_version}
|
|
|
|
Requires: gawk(abi) < %(echo %{gawk_api_version} | gawk -F. '{printf "%d.0\n", $1+1}')
|
|
|
|
|
|
|
|
# This is the default as of Fedora 23:
|
|
|
|
%global _hardened_build 1
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} is a library providing common support infrastructure for gawk
|
|
|
|
extensions. This package provides 'libgawkextlib', which is used by various
|
|
|
|
gawk extension modules -- for example gawk-xml, gawk-pgsql, and more.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files and libraries for gawkextlib development
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: gawk-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains the header files and libraries
|
|
|
|
needed to develop gawk extension modules that use %{name} facilities.
|
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2017-11-23 16:09:28 +00:00
|
|
|
%make_build
|
2017-10-07 20:36:16 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2019-01-22 17:39:01 +00:00
|
|
|
%ldconfig_scriptlets
|
2017-10-07 20:36:16 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
|
|
|
%{_libdir}/lib%{name}.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/lib%{name}.so
|
|
|
|
%{_includedir}/%{name}.h
|
|
|
|
|
|
|
|
# =============================================================================
|
|
|
|
|
|
|
|
%changelog
|
2024-01-14 21:25:02 +00:00
|
|
|
* Sun Jan 14 2024 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.4-16
|
|
|
|
- Update BuildRequires gawk(abi) to indicate compatibility with gawk 5.3 major
|
|
|
|
api version 4
|
|
|
|
|
2023-07-19 20:50:48 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-19 04:25:35 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-21 04:10:43 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-20 03:58:17 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 23:50:41 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 06:24:17 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-27 18:19:01 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-28 19:37:34 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 01:32:30 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-23 19:26:35 +00:00
|
|
|
* Tue Jul 23 2019 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.4-6
|
|
|
|
- Update BuildRequires gawk(abi) to indicate compatibility with gawk 5 major
|
|
|
|
api version 3
|
|
|
|
|
2019-01-31 20:37:28 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 01:09:41 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-30 17:27:37 +00:00
|
|
|
* Fri Mar 30 2018 Andrew J. Schorr <ajschorr@fedoraproject.org> - 1.0.4-3
|
|
|
|
- Add BuildRequires: gcc
|
|
|
|
|
2018-02-07 10:39:20 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-11-18 20:12:19 +00:00
|
|
|
* Sat Nov 18 2017 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.4-1
|
|
|
|
- Update to new upstream release
|
|
|
|
|
2017-11-17 15:27:30 +00:00
|
|
|
* Mon Nov 13 2017 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.3-2
|
|
|
|
- Rebuilt against new version of gawk
|
|
|
|
|
2017-10-07 20:36:16 +00:00
|
|
|
* Sat Jul 23 2016 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.3-1
|
|
|
|
- Rebuilt for new release
|
|
|
|
|
|
|
|
* Thu Oct 30 2014 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.0-1
|
|
|
|
* Restructure so each extension package will be distributed separately.
|
|
|
|
|
|
|
|
* Fri Aug 31 2012 Andrew Schorr <ajschorr@fedoraproject.org> - 0.3.9-1
|
|
|
|
- Update a few obsolete references to xmlgawk to say gawkextlib.
|
|
|
|
|
|
|
|
* Sun Jul 22 2012 Andrew Schorr <ajschorr@fedoraproject.org> - 0.3.0-1
|
|
|
|
- Rename from gawklib to gawkextlib.
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Andrew Schorr <ajschorr@fedoraproject.org> - 0.2.0-1
|
|
|
|
- This version has been tested and should work.
|
|
|
|
|
|
|
|
* Thu Jul 19 2012 Andrew Schorr <ajschorr@fedoraproject.org> - 0.1.9-1
|
|
|
|
- Initial packaging. This has not been tested and almost certainly contains
|
|
|
|
errors.
|