commit 1aa3b453e52e3371e53e34c449676e779ee2274f Author: Toshaan Bharvani Date: Wed Sep 28 11:56:02 2022 +0200 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/libuv.abignore b/SOURCES/libuv.abignore new file mode 100644 index 0000000..41cabc6 --- /dev/null +++ b/SOURCES/libuv.abignore @@ -0,0 +1,6 @@ +[suppress_function] +symbol_name_regexp = ^uv__.* + +[suppress_function] +symbol_name_regexp = .* +change_kind = added-function diff --git a/SOURCES/libuv.pc.in b/SOURCES/libuv.pc.in new file mode 100644 index 0000000..cbc7062 --- /dev/null +++ b/SOURCES/libuv.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libuv +Description: Development libraries for libuv +Version: @version@ +Libs: -L${libdir} -luv -lrt -lpthread -lnsl -ldl +Cflags: -I{includedir} +URL: http://libuv.org/ diff --git a/SPECS/libuv.spec b/SPECS/libuv.spec new file mode 100644 index 0000000..4183ee2 --- /dev/null +++ b/SPECS/libuv.spec @@ -0,0 +1,478 @@ +# Some of the tests do not work with the network-free environment in Koji +# The packager should run `fedpkg local --with tests` on their machine +# before pushing to Koji +%bcond_with tests + +Name: libuv +Epoch: 1 +Version: 1.42.0 +Release: 1%{?dist} +Summary: Platform layer for node.js + +# the licensing breakdown is described in detail in the LICENSE file +License: MIT and BSD and ISC +URL: http://libuv.org/ +Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz +Source2: %{name}.pc.in +Source3: libuv.abignore + +BuildRequires: autoconf automake libtool +BuildRequires: gcc +BuildRequires: make + +# -- Patches -- # + +%description +libuv is a new platform layer for Node. Its purpose is to abstract IOCP on +Windows and libev on Unix systems. We intend to eventually contain all platform +differences in this library. + +%package devel +Summary: Development libraries for libuv +Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} + +%description devel +Development libraries for libuv + +%package static +Summary: Platform layer for node.js - static library +Requires: %{name}-devel%{?_isa} = %{epoch}:%{version}-%{release} + +%description static +Static library (.a) version of libuv. + + +%prep +%autosetup -n %{name}-v%{version} -p1 + +%build +./autogen.sh +%configure --disable-silent-rules +%make_build + +%install +%make_install +rm -f %{buildroot}%{_libdir}/libuv.la + +mkdir -p %{buildroot}%{_libdir}/libuv/ +install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3} + +%check +%if %{with tests} +%make_build check +%endif + +%ldconfig_scriptlets + +%files +%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md +%doc ChangeLog +%license LICENSE +%{_libdir}/%{name}.so.* +%{_libdir}/libuv/libuv.abignore + +%files devel +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc +%{_includedir}/uv.h +%{_includedir}/uv/ + +%files static +%{_libdir}/%{name}.a + +%changelog +* Fri Sep 17 2021 Zuzana Svetlikova - 1:1.42.0-1 +- Rebased, resolves CVE-2021-22918 +- Resolves: RHBZ#2005319, RHBZ#1979928 + +* Mon Aug 09 2021 Mohan Boddu - 1:1.41.0-3 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 1:1.41.0-2 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Fri Feb 19 2021 Stephen Gallagher - 1.41.0-1 +- Update to 1.41.0 + +* Tue Jan 26 2021 Fedora Release Engineering - 1:1.40.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Sep 28 2020 Stephen Gallagher - 1.40.0-1 +- Update to 1.40.0 + +- https://github.com/libuv/libuv/blob/v1.40.0/ChangeLog + +* Tue Sep 08 2020 Stephen Gallagher - 1.39.0-1 +- Update to 1.39.0 + +* Fri Jul 31 2020 Stephen Gallagher - 1.38.1-1 +- Update to 1.38.1 +- https://github.com/libuv/libuv/blob/v1.38.1/ChangeLog + +* Tue Jul 28 2020 Fedora Release Engineering - 1:1.38.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon May 18 2020 Stephen Gallagher - 1.38.0-2 +- Fix up gating tests + +* Mon May 18 2020 Stephen Gallagher - 1.38.0-1 +- Update to 1.38.0 +- https://github.com/libuv/libuv/blob/v1.38.0/ChangeLog + +* Mon Apr 20 2020 Stephen Gallagher - 1.37.0-1 +- Update to 1.37.0 +- https://github.com/libuv/libuv/blob/v1.37.0/ChangeLog + +* Fri Apr 17 2020 Stephen Gallagher - 1.36.0-3 +- Actually add gating.yaml +- Fix build for EPEL 7 + +* Fri Apr 17 2020 Stephen Gallagher - 1.36.0-2 +- Add abidiff ignore file and add ABI gating test + +* Thu Apr 16 2020 Stephen Gallagher - 1.36.0-1 +- Update to 1.36.0 +- https://github.com/libuv/libuv/blob/v1.36.0/ChangeLog + +* Thu Feb 06 2020 Stephen Gallagher - 1.34.2-1 +- Update to 1.34.2 +- https://github.com/libuv/libuv/blob/v1.34.2/ChangeLog + +* Wed Jan 29 2020 Fedora Release Engineering - 1:1.34.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 13 2020 Stephen Gallagher - 1.34.1-1 +- Update to 1.34.1 +- https://github.com/libuv/libuv/blob/v1.34.1/ChangeLog + +* Fri Dec 06 2019 Stephen Gallagher - 1.34.0-1 +- Update to 1.34.0 +- https://github.com/libuv/libuv/blob/v1.34.0/ChangeLog + +* Mon Dec 02 2019 Stephen Gallagher - 1.33.1-1 +- Update to 1.33.1 +- Drop upstreamed patch +- https://github.com/libuv/libuv/blob/v1.33.1/ChangeLog + +* Mon Oct 21 2019 Stephen Gallagher - 1.33.0-2 +- Add upstream patch to fix aarch64 builds + +* Fri Oct 18 2019 Stephen Gallagher - 1.33.0-1 +- Update to 1.33.0 +- https://github.com/libuv/libuv/blob/v1.33.0/ChangeLog + +* Wed Oct 02 2019 Stephen Gallagher - 1.32.0-1 +- Update to 1.32.0 +- https://github.com/libuv/libuv/blob/v1.32.0/ChangeLog + +* Wed Aug 21 2019 Stephen Gallagher - 1.31.0-0 +- Update to 1.31.0 +- https://github.com/libuv/libuv/blob/v1.31.0/ChangeLog + +* Thu Jul 25 2019 Fedora Release Engineering - 1:1.30.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Jul 02 2019 Stephen Gallagher - 1.30.1-1 +- Update to 1.30.1 +- https://github.com/libuv/libuv/blob/v1.30.1/ChangeLog + +* Thu Jun 27 2019 Stephen Gallagher - 1.30.0-1 +- Update to 1.30.0 +- https://github.com/libuv/libuv/blob/v1.30.0/ChangeLog + +* Tue May 21 2019 Stephen Gallagher - 1.29.1-1 +- Update to 1.29.1 +- https://github.com/libuv/libuv/blob/v1.29.1/ChangeLog + +* Wed May 15 2019 Stephen Gallagher - 1.29.0-1 +- Update to 1.29.0 +- Drop upstreamed patch + +* Fri May 03 2019 Stephen Gallagher - 1.28.0-2 +- Fix regression in uv_fs_poll_stop() (BZ 1703935) + +* Tue Apr 23 2019 Stephen Gallagher - 1.28.0-1 +- Update to libuv 1.28.0 +- https://github.com/libuv/libuv/blob/v1.28.0/ChangeLog + +* Mon Mar 18 2019 Stephen Gallagher - 1.27.0-1 +- Update to libuv 1.27.0 +- https://github.com/libuv/libuv/blob/v1.27.0/ChangeLog + +* Wed Feb 13 2019 Stephen Gallagher - 1.26.0-1 +- Update to 1.26.0 +- https://github.com/libuv/libuv/blob/v1.26.0/ChangeLog + +* Fri Jan 18 2019 Stephen Gallagher - 1.24.1-1 +- Update to 1.24.1 +- https://github.com/libuv/libuv/blob/v1.24.1/ChangeLog + +* Thu Oct 11 2018 Stephen Gallagher - 1.23.2-1 +- Update to 1.23.2 +- https://github.com/libuv/libuv/blob/v1.23.2/ChangeLog + +* Tue Sep 11 2018 Stephen Gallagher - 1.23.0-1 +- Update to 1.23.0 +- https://github.com/libuv/libuv/blob/v1.23.0/ChangeLog + +* Mon Jul 16 2018 Stephen Gallagher - 1.22.0-1 +- Update to 1.22.0 +- https://github.com/libuv/libuv/blob/v1.22.0/ChangeLog + +* Fri Jul 13 2018 Fedora Release Engineering - 1:1.21.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jul 06 2018 Stephen Gallagher - 1.21.0-1 +- Update to 1.21.0 +- https://github.com/libuv/libuv/blob/v1.21.0/ChangeLog + +* Wed May 09 2018 Stephen Gallagher - 1.20.3-1 +- Update to 1.20.3 +- https://github.com/libuv/libuv/blob/v1.20.3/ChangeLog + +* Tue May 01 2018 Stephen Gallagher - 1.20.2-1 +- Update to 1.20.2 +- https://github.com/libuv/libuv/blob/v1.20.2/ChangeLog + +* Tue Apr 03 2018 Igor Gnatenko - 1:1.20.0-1 +- Update to 1.20.0 + +* Mon Feb 26 2018 Stephen Gallagher - 1.19.2-1 +- Update to 1.19.2 +- https://github.com/libuv/libuv/blob/v1.19.2/ChangeLog + +* Wed Feb 07 2018 Fedora Release Engineering - 1:1.19.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 31 2018 Igor Gnatenko - 1:1.19.1-2 +- Switch to %%ldconfig_scriptlets + +* Sat Jan 20 2018 Igor Gnatenko - 1:1.19.1-1 +- Update to 1.19.1 + +* Fri Jan 19 2018 Igor Gnatenko - 1:1.19.0-2 +- Revert few commits which cause regression for nodejs + +* Thu Jan 18 2018 Igor Gnatenko - 1:1.19.0-1 +- Update to 1.19.0 + +* Sat Nov 11 2017 Athmane Madjoudj - 1:1.16.1-1 +- Update to 1.16.1 (rhbz #1512184) + +* Tue Nov 07 2017 Igor Gnatenko - 1.16.0-1 +- Update to 1.16.0 + +* Tue Oct 03 2017 Igor Gnatenko - 1.15.0-1 +- Update to 1.15.0 + +* Fri Sep 08 2017 Stephen Gallagher - 1.14.1-1 +- Update to 1.14.1 +- https://github.com/libuv/libuv/blob/v1.14.1/ChangeLog + +* Thu Aug 17 2017 Stephen Gallagher - 1.14.0-1 +- Update to 1.14.0 +- https://github.com/libuv/libuv/blob/v1.14.0/ChangeLog + +* Thu Aug 03 2017 Fedora Release Engineering - 1:1.13.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1:1.13.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jul 10 2017 Stephen Gallagher - 1.12.0-1 +- Update to 1.13.1 +- https://github.com/libuv/libuv/blob/v1.13.1/ChangeLog + +* Thu Jun 01 2017 Stephen Gallagher - 1.12.0-1 +- Update to 1.12.0 +- https://github.com/libuv/libuv/blob/v1.12.0/ChangeLog + +* Tue Feb 28 2017 Stephen Gallagher - 1.11.0-1 +- Update to 1.11.0 +- https://github.com/libuv/libuv/blob/v1.11.0/ChangeLog + +* Fri Feb 10 2017 Fedora Release Engineering - 1:1.10.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Jan 19 2017 Stephen Gallagher - 1.10.2-1 +- Update to 1.10.2 +- Resolves: RHBZ#1395927 + +* Sat Nov 19 2016 Igor Gnatenko - 1.10.1-1 +- Update to 1.10.1 (RHBZ #1395927) + +* Mon Oct 24 2016 Stephen Gallagher - 1.10.0-1 +- Update to 1.10.0 +- https://github.com/libuv/libuv/blob/v1.10.0/ChangeLog + +* Wed May 18 2016 Stephen Gallagher - 1.9.1-1 +- Update to 1.9.1 +- https://github.com/libuv/libuv/blob/v1.9.1/ChangeLog + +* Mon May 09 2016 Stephen Gallagher - 1.9.0-1 +- Rebase to 1.9.0 to support Node.js 6.x + +* Thu Mar 10 2016 Stephen Gallagher - 1.8.0-1 +- Rebase to 1.8.0 to support Node.js 5.8 + +* Thu Feb 04 2016 Fedora Release Engineering - 1:1.7.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Dec 01 2015 Stephen Gallagher 1.7.5-1 +- Rebase to 1.7.5 to support Node.js 4.2 + +* Wed Jun 17 2015 Fedora Release Engineering - 1:1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Feb 19 2015 T.C. Hollingsworth - 1:1.4.0-1 +- rebase to 1.4.0 + +* Thu Feb 19 2015 T.C. Hollingsworth - 1:0.10.33-2 +- add missing %%{_?isa} to devel requires of main package +- fix some issues with the pkgconfig file and Group reported by Michael Schwendt + +* Thu Feb 19 2015 T.C. Hollingsworth - 1:0.10.33-1 +- new upstream release 0.10.33 + https://github.com/joyent/libuv/blob/v0.10.33/ChangeLog +- update URL to point to the new libuv.org + +* Wed Nov 19 2014 T.C. Hollingsworth - 1:0.10.29-1 +- new upstream release 0.10.29 + https://github.com/joyent/libuv/blob/v0.10.29/ChangeLog + +* Sun Aug 17 2014 Fedora Release Engineering - 1:0.10.28-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 01 2014 T.C. Hollingsworth - 1:0.10.28-1 +- new upstream release 0.10.28 + https://github.com/joyent/libuv/blob/v0.10.28/ChangeLog + +* Thu Jul 03 2014 T.C. Hollingsworth - 1:0.10.27-3 +- build static library for rust (RHBZ#1115975) + +* Sat Jun 07 2014 Fedora Release Engineering - 1:0.10.27-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 02 2014 T.C. Hollingsworth - 1:0.10.27-1 +- new upstream release 0.10.27 + https://github.com/joyent/libuv/blob/v0.10.27/ChangeLog + +* Thu Feb 20 2014 T.C. Hollingsworth - 1:0.10.25-1 +- new upstream release 0.10.25 + https://github.com/joyent/libuv/blob/v0.10.25/ChangeLog + +* Mon Jan 27 2014 T.C. Hollingsworth - 1:0.10.23-1 +- new upstream release 0.10.23 + https://github.com/joyent/libuv/blob/v0.10.23/ChangeLog + +* Thu Dec 19 2013 T.C. Hollingsworth - 1:0.10.21-1 +- new upstream release 0.10.21 + https://github.com/joyent/libuv/blob/v0.10.21/ChangeLog + +* Thu Dec 12 2013 T.C. Hollingsworth - 1:0.10.20-1 +- new upstream release 0.10.20 + https://github.com/joyent/libuv/blob/v0.10.20/ChangeLog + +* Tue Nov 12 2013 T.C. Hollingsworth - 1:0.10.19-1 +- new upstream release 0.10.19 + https://github.com/joyent/libuv/blob/v0.10.19/ChangeLog + +* Fri Oct 18 2013 T.C. Hollingsworth - 1:0.10.18-1 +- new upstream release 0.10.18 + https://github.com/joyent/libuv/blob/v0.10.18/ChangeLog + +* Wed Sep 25 2013 T.C. Hollingsworth - 1:0.10.17-1 +- new upstream release 0.10.17 + https://github.com/joyent/libuv/blob/v0.10.17/ChangeLog + +* Fri Sep 06 2013 T.C. Hollingsworth - 1:0.10.15-1 +- new upstream release 0.10.15 + https://github.com/joyent/libuv/blob/v0.10.15/ChangeLog + +* Tue Aug 27 2013 T.C. Hollingsworth - 1:0.10.14-1 +- new upstream release 0.10.14 + https://github.com/joyent/libuv/blob/v0.10.14/ChangeLog + +* Thu Jul 25 2013 T.C. Hollingsworth - 1:0.10.13-1 +- new upstream release 0.10.13 + https://github.com/joyent/libuv/blob/v0.10.13/ChangeLog + +* Wed Jul 10 2013 T.C. Hollingsworth - 1:0.10.12-1 +- new upstream release 0.10.12 + +* Wed Jun 19 2013 T.C. Hollingsworth - 1:0.10.11-1 +- new upstream release 0.10.11 + +* Fri May 31 2013 T.C. Hollingsworth - 1:0.10.9-1 +- new upstream release 0.10.9 + +* Wed May 29 2013 T.C. Hollingsworth - 1:0.10.8-2 +- fix License tag (RHBZ#968226) + +* Wed May 29 2013 T.C. Hollingsworth - 1:0.10.8-1 +- new upstream release 0.10.8 + +* Wed May 29 2013 T.C. Hollingsworth - 1:0.10.7-1 +- new upstream release 0.10.7 +- drop upstreamed patch from 0.10.5-2 + +* Mon May 13 2013 T.C. Hollingsworth - 1:0.10.5-3 +- don't sed the soname in the spec anymore; the patch takes care of it now +- drop leftover global define for git revision + +* Mon May 13 2013 Stephen Gallagher - 1:0.10.5-2 +- Add patch to properly report soname version information + This patch will be included upstream in 0.10.6 and can be dropped then. +- Remove Bundles(ev) as this has not been true since 0.9.5 + +* Wed Apr 24 2013 T.C. Hollingsworth - 1:0.10.5-1 +- new upstream release 0.10.5 + +* Mon Apr 15 2013 T.C. Hollingsworth - 1:0.10.4-1 +- new upstream release 0.10.4 +- drop upstreamed patch + +* Thu Apr 04 2013 T.C. Hollingsworth - 1:0.10.3-2 +- backport patch that fixes FTBFS in nodejs-0.10.3 + +* Sun Mar 31 2013 tchollingsworth@gmail.com - 1:0.10.3-1 +- rebase to 0.10.3 +- upstream now does proper releases + +* Tue Mar 12 2013 T.C. Hollingsworth - 1:0.10.0-2.git5462dab +- drop the patchlevel from the SONAME since libuv will retain binary + compatibility for the life of the 0.10.x series + +* Mon Mar 11 2013 Stephen Gallagher - 1:0.10.0-1.git5462dab +- Upgrade to 0.10.0 release to match stable Node.js release + +* Thu Feb 28 2013 Stephen Gallagher - 1:0.9.4-4.gitdc559a5 +- Bump epoch for the version downgrade +- The 0.9.7 version hit the Rawhide repo due to the mass rebuild, we need a + clean upgrade path. + +* Thu Feb 21 2013 Stephen Gallagher - 0.9.4-3.gitdc559a5 +- Revert to version 0.9.4 (since 0.9.7 is breaking builds) + +* Thu Feb 14 2013 Fedora Release Engineering - 0.9.7-2.git4ba03dd +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Jan 22 2013 Stephen Gallagher - 0.9.7-1.git4ba03dd +- Bump to version included with Node.js 0.9.7 + +* Wed Dec 26 2012 T.C. Hollingsworth - 0.9.4-0.1.gitdc559a5 +- bump to version included with node 0.9.4 +- drop upstreamed patch +- respect optflags + +* Thu Nov 15 2012 Stephen Gallagher - 0.9.3-0.3.git09b0222 +- Add patch to export uv_inet_* + +* Wed Nov 14 2012 Stephen Gallagher - 0.9.3-0.2.git09b0222 +- Fixes from package review +- Removed doubly-listed include directory +- Update git tarball to the latest upstream code + +* Thu Nov 08 2012 Stephen Gallagher - 0.9.3-0.1.gitd56434a +- Initial package