libuv/libuv.spec
Matej Cepl 93328b5e7d Accepting request 769949 from home:marxin:branches:devel:libraries:c_c++
- Update to libuv 1.34.2:
  * Remove fno-common-build-errs.patch and rebase
    fix_tests.patch.
  Changes since version 1.34.1:
  * misc: adjust stalebot deadlines (Jameson Nash)
  * test: fix env-vars flakiness (cjihrig)
  * test: avoid truncating output lines (Jameson Nash)
  * darwin: stop calling SetApplicationIsDaemon() (Ben Noordhuis)
  * ibmi: implement uv_interface_addresses() (Xu Meng)
  * osx,fsevent: fix race during uv_loop_close (Jameson Nash)
  * osx,fsevent: clear pointer when deleting it [NFCI] (Jameson Nash)
  * Revert "aix: replace ECONNRESET with EOF if already closed" (Jameson Nash)
  * unix: handle uv__open_cloexec return value correctly (Anna Henningsen)
  Changes since version 1.34.0:
  * unix: fix -Wstrict-aliasing compiler warning (Ben Noordhuis)
  * unix: cache address of dlsym("mkostemp") (Ben Noordhuis)
  * build: remove -pedantic from compiler flags (Ben Noordhuis)
  * Revert "darwin: assume pthread_setname_np() is available" (Ben Noordhuis)
  * Revert "darwin: speed up uv_set_process_title()" (Ben Noordhuis)
  * darwin: assume pthread_setname_np() is available (Ben Noordhuis)
  * ibmi: fix the false isatty() issue on IBMi (Xu Meng)
  * test: fix test failure under NetBSD and OpenBSD (David Carlier)
  * test: skip some test cases on IBMi (Xu Meng)
  * test: skip uv_(get|set)_process_title on IBMi (Xu Meng)
  * doc: remove binaries for Windows from README (Richard Lau)
  * unix: fix -Wunused-but-set-variable warning (George Zhao)
  * unix: pass sysctl size arg using ARRAY_SIZE macro (David Carlier)
  * test: disallow running the test suite as root (cjihrig)
  * unix: suppress -Waddress-of-packed-member warning (Ben Noordhuis)
  * misc: make more tags "not-stale" (Jameson Nash)

OBS-URL: https://build.opensuse.org/request/show/769949
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libuv?expand=0&rev=39
2020-02-04 12:39:36 +00:00

96 lines
2.8 KiB
RPMSpec

#
# spec file for package libuv
#
# Copyright (c) 2020 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.34.2
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}
%autopatch -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