2014-09-16 12:17:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package libuv
|
|
|
|
#
|
2021-02-24 16:25:14 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-09-16 12:17:12 +02: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 23:44:02 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-09-16 12:17:12 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-02-12 15:43:59 +01:00
|
|
|
%define somajor 1
|
2014-09-16 12:17:12 +02:00
|
|
|
Name: libuv
|
2021-09-13 10:00:42 +02:00
|
|
|
Version: 1.42.0
|
2015-02-12 15:43:59 +01:00
|
|
|
Release: 0
|
2016-07-28 12:09:15 +02:00
|
|
|
Summary: Asychronous I/O support library
|
2014-09-16 12:17:12 +02:00
|
|
|
License: MIT
|
2019-09-04 07:50:15 +02:00
|
|
|
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
|
2020-02-24 15:24:36 +01:00
|
|
|
Source3: baselibs.conf
|
2018-10-12 09:37:45 +02:00
|
|
|
Patch1: fix_tests.patch
|
2015-02-12 15:43:59 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2014-09-16 12:17:12 +02:00
|
|
|
BuildRequires: libtool
|
2017-10-19 13:28:19 +02:00
|
|
|
BuildRequires: pkgconfig
|
2014-09-16 12:17:12 +02:00
|
|
|
|
|
|
|
%description
|
2016-07-28 12:09:15 +02: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 12:17:12 +02:00
|
|
|
|
|
|
|
%package -n libuv%{somajor}
|
2016-07-28 12:09:15 +02:00
|
|
|
Summary: Asychronous I/O support library
|
2014-09-16 12:17:12 +02:00
|
|
|
|
|
|
|
%description -n libuv%{somajor}
|
2016-07-28 12:09:15 +02: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 12:17:12 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development libraries for libuv
|
|
|
|
BuildRequires: glibc-devel
|
2015-02-12 15:43:59 +01:00
|
|
|
Requires: libuv%{somajor} = %{version}
|
2014-09-16 12:17:12 +02:00
|
|
|
|
|
|
|
%description devel
|
2016-07-28 12:09:15 +02:00
|
|
|
Development files for libuv.
|
2014-09-16 12:17:12 +02:00
|
|
|
|
2016-07-28 12:09:15 +02: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 12:17:12 +02:00
|
|
|
|
|
|
|
%prep
|
2019-09-04 07:50:15 +02:00
|
|
|
%setup -q -n %{name}-v%{version}
|
2020-01-09 15:28:55 +01:00
|
|
|
%autopatch -p1
|
2014-09-16 12:17:12 +02:00
|
|
|
|
|
|
|
%build
|
2016-02-01 10:09:09 +01:00
|
|
|
./autogen.sh
|
2015-12-06 21:05:24 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static
|
2020-02-24 15:24:36 +01:00
|
|
|
%make_build
|
2014-09-16 12:17:12 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2015-02-12 15:43:59 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
|
|
|
|
%check
|
2020-02-24 15:24:36 +01:00
|
|
|
%make_build check
|
2014-09-16 12:17:12 +02:00
|
|
|
|
|
|
|
%post -n libuv%{somajor} -p /sbin/ldconfig
|
|
|
|
%postun -n libuv%{somajor} -p /sbin/ldconfig
|
2017-10-19 13:28:19 +02:00
|
|
|
|
2014-09-16 12:17:12 +02:00
|
|
|
%files -n libuv%{somajor}
|
2019-09-04 07:50:15 +02:00
|
|
|
%license LICENSE
|
2014-09-16 12:17:12 +02:00
|
|
|
%{_libdir}/libuv.so.%{somajor}*
|
|
|
|
|
|
|
|
%files devel
|
2018-10-12 09:37:45 +02:00
|
|
|
%doc AUTHORS CONTRIBUTING.md ChangeLog README.md
|
|
|
|
%license LICENSE
|
2014-09-16 12:17:12 +02:00
|
|
|
%{_libdir}/libuv.so
|
|
|
|
%{_includedir}/uv*
|
|
|
|
%{_libdir}/pkgconfig/libuv.pc
|
|
|
|
|
|
|
|
%changelog
|