SHA256
3
0
forked from pool/libuv
libuv/libuv.spec
Matej Cepl f23d9d73a2 Accepting request 874731 from home:dirkmueller:Factory
- update to 1.41.0:
  * mailmap: update contact information for richardlau
  * build: add asan checks
  * unix: report bind error in uv_tcp_connect
  * doc: uv_tcp_bind
  * test: fix pump and tcp_write_batch benchmarks
  * doc: mark IBM i as Tier 2 support
  * doc,poll: add notes
  * linux: fix -Wincompatible-pointer-types warning
  * linux: fix -Wsign-compare warning
  * unix,win: harmonize uv_read_start
  * unix,win: more uv_read_start
  * build: turn on -fno-strict-aliasing
  * stream: add uv_pipe and uv_socketpair to the API
  * unix,win: initialize timer `timeout` field
  * bsd-ifaddrs: improve comments
  * test: remove unnecessary uv_fs_stat
  * fs: fix utime/futime timestamp rounding errors
  * test: ensure reliable floating point comparison
  * unix,fs: fix uv_fs_sendfile
  * unix: fix uv_fs_stat when using statx
  * linux,macos: fix uv_set_process_title regression
  * doc: clarify UDP errors and recvmmsg
  * test-getaddrinfo: use example.invalid
  * Revert "build: fix android autotools build"
  * unix,fs: on DVS fs, statx returns EOPNOTSUPP
  * win, fs: mkdir really return UV_EINVAL for invalid names
  * tools: migrate tools/make_dist_html.py to python3
  * unix: fix uv_uptime
  * unix: check for partial copy_file_range support

OBS-URL: https://build.opensuse.org/request/show/874731
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=50
2021-02-24 15:25:14 +00:00

94 lines
2.7 KiB
RPMSpec

#
# spec file for package libuv
#
# Copyright (c) 2021 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.41.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
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
%setup -q -n %{name}-v%{version}
%autopatch -p1
%build
./autogen.sh
%configure \
--disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
%make_build check
%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