forked from pool/libuv
Dirk Mueller
0fd50d80b4
* adjust stalebot deadline - Update to version 1.24.0: 0001-linux-remove-epoll-syscall-wrappers.patch and * unix: make uv_guess_handle work properly for AIX (Gireesh * build: remove unused 'component' GYP option (Saúl Ibarra * win: use the MSVC provided snprintf where possible (Jason * unix: only undo fs req registration in async mode (Ben * test: fix fs_event_watch_file_currentdir flakiness (Santiago * unix: skip prohibited syscalls on tvOS and watchOS (Nathan * docs: clarify documentation of uv_tcp_init_ex (Andrius * win: properly return UV_EBADF when _close() fails (Nicholas * test,freebsd: skip udp_dual_stack if not supported (Santiago * test: fix -Wtautological-pointer-compare warnings (Saúl Ibarra * linux,fs: fix p{read,write}v with a 64bit offset (Saúl Ibarra * win: fix path for removed and renamed fs events (Joran Dirk * win: do not read more from stream than available (Jeremy * test: fix self-deadlocks in thread_rwlock_trylock (Ben * unix: don't block for io if any io handle is primed (Saúl * linux: work around epoll bug in kernels < 2.6.37 (Ben * unix: prevent infinite loop in uv__run_pending (Saúl Ibarra Corretgé) * unix: make sure UDP send callbacks are asynchronous (Saúl * aix: add ahafs autoconf detection and README notes (Andrew * core: add ability to customize memory allocator (Saúl Ibarra * doc: clarify that the thread pool primites are not thread safe * unix: fix glibc-2.20+ macro incompatibility (Massimiliano * doc: add Sphinx plugin for generating links to man pages * doc: link system and library calls to man pages (Saúl * doc: document uv_getnameinfo_t.{host|service} (Saúl Ibarra OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=71
97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package libuv
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define somajor 1
|
|
Name: libuv
|
|
Version: 1.47.0
|
|
Release: 0
|
|
Summary: Asychronous I/O support library
|
|
License: MIT
|
|
URL: https://libuv.org
|
|
Source0: https://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
|
Source1: https://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz.sign
|
|
# https://github.com/libuv/libuv/blob/v1.x/MAINTAINERS.md
|
|
Source2: %{name}.keyring
|
|
Source3: baselibs.conf
|
|
Patch1: fix_tests.patch
|
|
# PATCH-FIX-UPSTREAM: gh#libuv/libuv#4285
|
|
Patch2: ppc64-disable-liburing.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libtool
|
|
BuildRequires: pkgconfig
|
|
|
|
%description
|
|
libuv is a support library with a focus on asynchronous I/O. It was
|
|
primarily developed for use by Node.js, but it is also used by
|
|
Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
|
|
|
%package -n libuv%{somajor}
|
|
Summary: Asychronous I/O support library
|
|
|
|
%description -n libuv%{somajor}
|
|
libuv is a support library with a focus on asynchronous I/O. It was
|
|
primarily developed for use by Node.js, but it is also used by
|
|
Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
|
|
|
%package devel
|
|
Summary: Development libraries for libuv
|
|
BuildRequires: glibc-devel
|
|
Requires: libuv%{somajor} = %{version}
|
|
|
|
%description devel
|
|
Development files for libuv.
|
|
|
|
libuv is a support library with a focus on asynchronous I/O. It was
|
|
primarily developed for use by Node.js, but it is also used by
|
|
Mozilla's Rust language, Luvit, Julia, pyuv, and others.
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{name}-v%{version}
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure \
|
|
--disable-static
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%check
|
|
%if !0%{?qemu_user_space_build}
|
|
%make_build check
|
|
%endif
|
|
|
|
%post -n libuv%{somajor} -p /sbin/ldconfig
|
|
%postun -n libuv%{somajor} -p /sbin/ldconfig
|
|
|
|
%files -n libuv%{somajor}
|
|
%license LICENSE
|
|
%{_libdir}/libuv.so.%{somajor}*
|
|
|
|
%files devel
|
|
%doc AUTHORS CONTRIBUTING.md ChangeLog README.md
|
|
%license LICENSE
|
|
%{_libdir}/libuv.so
|
|
%{_includedir}/uv*
|
|
%{_libdir}/pkgconfig/libuv.pc
|
|
|
|
%changelog
|