2014-09-16 10:17:12 +00:00
|
|
|
#
|
|
|
|
# spec file for package libuv
|
|
|
|
#
|
2019-02-28 15:35:33 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2014-09-16 10:17:12 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2018-11-22 22:44:02 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-09-16 10:17:12 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-02-12 14:43:59 +00:00
|
|
|
%define somajor 1
|
2014-09-16 10:17:12 +00:00
|
|
|
Name: libuv
|
2019-04-01 14:01:34 +00:00
|
|
|
Version: 1.27.0
|
2015-02-12 14:43:59 +00:00
|
|
|
Release: 0
|
2016-07-28 10:09:15 +00:00
|
|
|
Summary: Asychronous I/O support library
|
2014-09-16 10:17:12 +00:00
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2018-11-22 22:44:02 +00:00
|
|
|
URL: http://libuv.org
|
2017-11-07 11:41:22 +00:00
|
|
|
# Using URL from upstream project fails due to ipv6 redirect
|
|
|
|
# Source0: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz
|
|
|
|
# Source1: http://dist.libuv.org/dist/v%{version}/libuv-v%{version}.tar.gz.sign
|
|
|
|
# Source2: %{name}.keyring
|
|
|
|
Source0: https://github.com/libuv/libuv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2018-10-12 07:37:45 +00:00
|
|
|
Patch1: fix_tests.patch
|
2015-02-12 14:43:59 +00:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2014-09-16 10:17:12 +00:00
|
|
|
BuildRequires: libtool
|
2017-10-19 11:28:19 +00:00
|
|
|
BuildRequires: pkgconfig
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%description
|
2016-07-28 10:09:15 +00:00
|
|
|
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.
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%package -n libuv%{somajor}
|
2016-07-28 10:09:15 +00:00
|
|
|
Summary: Asychronous I/O support library
|
2014-09-16 10:17:12 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libuv%{somajor}
|
2016-07-28 10:09:15 +00:00
|
|
|
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.
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries for libuv
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
BuildRequires: glibc-devel
|
2015-02-12 14:43:59 +00:00
|
|
|
Requires: libuv%{somajor} = %{version}
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%description devel
|
2016-07-28 10:09:15 +00:00
|
|
|
Development files for libuv.
|
2014-09-16 10:17:12 +00:00
|
|
|
|
2016-07-28 10:09:15 +00:00
|
|
|
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.
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%prep
|
Accepting request 560211 from home:avindra
- Update to version 1.18.0
* unix,win: add uv_os_getpid()
* unix: remove incorrect assertion in uv_shutdown()
* aix: fix -Wmaybe-uninitialized warning
* win,doc: remove note about SIGWINCH on Windows
* doc: fix IRC URL in CONTRIBUTING.md
- 1.17.0
* ibmi: add support for new platform
* unix: keep track of bound sockets sent via spawn
* unix: avoid malloc() call in uv_spawn()
* zos: add strnlen() implementation
* test: add threadpool init/teardown test
* test: avoid malloc() in threadpool test
* test: lower number of tasks in threadpool test
* test: fix test-spawn compilation
* doc: clarify the description of uv_loop_alive()
* win: issue memory barrier in uv_thread_join()
* win: map UV_FS_O_EXLOCK to a share mode of 0
* win: fix build on case-sensitive file systems
* win: fix test runner build with mingw64
* win: remove unused variable in test/test-fs.c
- 1.16.1
* unix: move net/if.h include
* win: fix undeclared NDIS_IF_MAX_STRING_SIZE
- 1.16.0
* unix,win: add fs open flags, map O_DIRECT|O_DSYNC
* win, fs: fix non-symlink reparse points
* test: fix -Wstrict-prototypes warnings
* unix, windows: map ENOTTY errno
* unix: fall back to fsync() if F_FULLFSYNC fails
* unix: do not close invalid kqueue fd after fork
* zos: reset epoll data after fork
* zos: skip fork_threadpool_queue_work_simple
* test: keep platform_output as first test
* unix,win: add uv_os_getppid()
* test: fix const qualification compiler warning
* doc: mark uv_default_loop() as not thread safe
* win, pipe: null-initialize stream->shutdown_req
* tty, win: get SetWinEventHook pointer at startup
* test: no extra new line in skipped test output
* pipe: allow access from other users
* unix,win: add uv_if_{indextoname,indextoiid}
* win: fix non-English dlopen error message
* win: change st_blksize from `2048` to `4096`
- Small spec file cleanup
OBS-URL: https://build.opensuse.org/request/show/560211
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=23
2017-12-28 09:32:12 +00:00
|
|
|
%setup -q
|
2018-10-12 07:37:45 +00:00
|
|
|
%patch1 -p1
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%build
|
2016-02-01 09:09:09 +00:00
|
|
|
./autogen.sh
|
2015-12-06 20:05:24 +00:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags} V=1
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2015-02-12 14:43:59 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%check
|
2018-10-12 07:37:45 +00:00
|
|
|
make %{?_smp_mflags} check
|
2014-09-16 10:17:12 +00:00
|
|
|
|
|
|
|
%post -n libuv%{somajor} -p /sbin/ldconfig
|
|
|
|
%postun -n libuv%{somajor} -p /sbin/ldconfig
|
2017-10-19 11:28:19 +00:00
|
|
|
|
2014-09-16 10:17:12 +00:00
|
|
|
%files -n libuv%{somajor}
|
|
|
|
%{_libdir}/libuv.so.%{somajor}*
|
|
|
|
|
|
|
|
%files devel
|
2018-10-12 07:37:45 +00:00
|
|
|
%doc AUTHORS CONTRIBUTING.md ChangeLog README.md
|
|
|
|
%license LICENSE
|
2014-09-16 10:17:12 +00:00
|
|
|
%{_libdir}/libuv.so
|
|
|
|
%{_includedir}/uv*
|
|
|
|
%{_libdir}/pkgconfig/libuv.pc
|
|
|
|
|
|
|
|
%changelog
|