SHA256
3
0
forked from pool/libuv
libuv/libuv.spec

96 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libuv
#
Accepting request 680138 from home:mimi_vx:branches:devel:libraries:c_c++ - update to version 1.26.0 * doc: fix uv_get_free_memory doc (Stephen Belanger) * unix: fix epoll cpu 100% issue (yeyuanfeng) * openbsd,tcp: special handling of EINVAL on connect (ptlomholt) * src,include: define UV_MAXHOSTNAMESIZE (cjihrig) * thread: allow specifying stack size for new thread (Anna Henningsen) * unix: don't attempt to invalidate invalid fd (Ben Noordhuis) * Revert "win,fs: retry if uv_fs_rename fails" (Ben Noordhuis) * aix: manually trigger fs event monitoring (Gireesh Punathil) * unix: rename WRITE_RETRY_ON_ERROR macro (Ben Noordhuis) * unix: refactor uv__write() (Ben Noordhuis) * unix: don't send handle twice on partial write (Ben Noordhuis) * tty,win: fix Alt+key under WSL (Bartosz Sosnowski) * build: support running tests in out-of-tree builds (Jameson Nash) * fsevents: really watch files with fsevents on macos 10.7+ (Jameson Nash) * thread,mingw64: need intrin.h header for SSE2 MemoryBarrier (Jameson Nash) * win: fix sizeof-pointer-div warning (cjihrig) * unix,win: add uv_os_uname() (cjihrig) * win, tty: fix CreateFileW() return value check (Bartosz Sosnowski) * unix: enable IPv6 tests on OpenBSD (ptlomholt) * test: fix test-ipc spawn_helper exit_cb (Santiago Gimeno) * test: fix test-ipc tests (Santiago Gimeno) * unix: better handling of unsupported F_FULLFSYNC (Victor Costan) * unix,stream: fix zero byte writes (Santiago Gimeno) * ibmi: return EISDIR on read from directory fd (Kevin Adler) * build: wrap long lines in Makefile.am (cjihrig) test: fix platform_output test on cygwin (damon-kwok) * gitignore: ignore build/ directory (Damon Kwok) * unix: zero epoll_event before use (Ashe Connor) * doc: replace deprecated build command on macOS (Rick) OBS-URL: https://build.opensuse.org/request/show/680138 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=29
2019-02-28 16:35:33 +01:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.31.0
Release: 0
Summary: Asychronous I/O support library
License: MIT
Group: Development/Libraries/C and C++
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
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
Group: System/Libraries
%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
Group: Development/Libraries/C and C++
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}
%patch1 -p1
%build
./autogen.sh
%configure \
--disable-static
make %{?_smp_mflags} V=1
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%check
make %{?_smp_mflags} 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