SHA256
3
0
forked from pool/libuv
libuv/libuv.spec
Adam Majer 62b7abdcc4 Accepting request 687284 from home:mimi_vx:branches:devel:libraries:c_c++
- update to 1.27.0
 * doc: describe unix signal handling better (Vladimír Čunát)
 * linux: use statx() to obtain file birth time (Ben Noordhuis)
 * src: fill sockaddr_in6.sin6_len when it's defined (Santiago Gimeno)
 * test: relax uv_hrtime() test assumptions (Ben Noordhuis)
 * build: make cmake install LICENSE only once (Thomas Karl Pietrowski)
 * bsd: plug uv_fs_event_start() error path fd leak (Ben Noordhuis)
 * doc: add note about uv_run() not being reentrant (Ben Noordhuis)
 * unix, win: make fs-poll close wait for resource cleanup (Anna Henningsen)
 * doc: fix typo in uv_thread_options_t definition (Ryan Liptak)
 * win: skip winsock initialization in safe mode (evgley)
 * unix: refactor getsockname/getpeername methods (Santiago Gimeno)
 * udp: add support for UDP connected sockets (Santiago Gimeno)
 * build: add missing header (cjihrig)
 * test: change spawn_stdin_stdout return to void (Andrew Paprocki)
 * test: remove call to floor() in test driver (Andrew Paprocki)

OBS-URL: https://build.opensuse.org/request/show/687284
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=31
2019-04-01 14:01:34 +00:00

96 lines
2.9 KiB
RPMSpec

#
# spec file for package libuv
#
# 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.27.0
Release: 0
Summary: Asychronous I/O support library
License: MIT
Group: Development/Libraries/C and C++
URL: http://libuv.org
# 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
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
%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}
%{_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