|
|
|
@ -1,16 +1,29 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 21;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Name: npth
|
|
|
|
|
Version: 1.6
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: The New GNU Portable Threads library
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
URL: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git
|
|
|
|
|
Source: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2
|
|
|
|
|
#Source1: ftp://ftp.gnupg.org/gcrypt/npth/npth-%{version}.tar.bz2.sig
|
|
|
|
|
Source0: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: https://gnupg.org/ftp/gcrypt/npth/%{name}-%{version}.tar.bz2.sig
|
|
|
|
|
# Keyring generated from https://gnupg.org/devel/old-signature-keys.asc
|
|
|
|
|
Source2: gpgkey-D8692123C4065DEA5E0F3AB5249B39D24F25E3B6.gpg
|
|
|
|
|
# Manual page is re-used and changed pth-config.1 from pth-devel package
|
|
|
|
|
Source2: npth-config.1
|
|
|
|
|
Source3: npth-config.1
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
nPth is a non-preemptive threads implementation using an API very similar
|
|
|
|
@ -28,15 +41,22 @@ This package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
%make_build
|
|
|
|
|
# avoid multilib conflict
|
|
|
|
|
%ifarch x86_64 i686
|
|
|
|
|
sed -ie 's/".*-redhat-linux-gnu"/"$(uname -m)-redhat-linux-gnu"/' %{name}-config
|
|
|
|
|
sed -ie 's/libs=".* -lnpth/libs="-lnpth/' %{name}-config
|
|
|
|
|
sed -ie 's/Configured for: .*-redhat-linux-gnu/Configured for: x86_64+i686-redhat-linux-gnu/' src/%{name}.h
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 %{S:2}
|
|
|
|
|
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 %{S:3}
|
|
|
|
|
find %{buildroot} -name '*.la' -delete -print
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
@ -57,12 +77,45 @@ make check
|
|
|
|
|
%{_datadir}/aclocal/%{name}.m4
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.6-21
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Wed Jul 17 2024 Stanislav Zidek <szidek@redhat.com> - 1.6-20
|
|
|
|
|
- RHEL-10 CI setup
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6-19
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 15 2023 Michael J Gruber <mjg@fedoraproject.org> - 1.6-13
|
|
|
|
|
- fix multilib devel conflict (rhbz#2031783)
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Dec 06 2022 Michael J Gruber <mjg@fedoraproject.org> - 1.6-11
|
|
|
|
|
- SPDX migration
|
|
|
|
|
|
|
|
|
|
* Wed Aug 31 2022 Michael J Gruber <mjg@fedoraproject.org> - 1.6-10
|
|
|
|
|
- reenable signature verification
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6-7
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -145,3 +198,4 @@ make check
|
|
|
|
|
* Tue Feb 26 2013 Milan Bartos <mbartos@redhat.com> - 0.91-1
|
|
|
|
|
- initial port
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|