Sisyphus repository
Last update: 16 october 2021 | SRPMs: 17363 | Visits: 22092076
en ru br
ALT Linux repos
S:1.42.0-alt1

Group :: Development/Tools
RPM: libuv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_without asserts
Name: libuv
Version: 1.42.0
Release: alt1

Summary: Evented I/O for NodeJS

Group: Development/Tools
License: MIT License
Url: https://github.com/libuv/libuv

# Source-url: https://github.com/libuv/libuv/archive/v%version.tar.gz

Source: %name-%version.tar

Patch: libuv-fix-tests-ipv6.patch

BuildRequires: /proc
BuildRequires: gcc-c++ openssl-devel zlib-devel

%description
libuv is a new platform layer for Node. Its purpose is to abstract IOCP on Windows
and libev on Unix systems. We intend to eventually contain all platform differences in this library.

%package devel
Summary: Devel package for libuv
Group: Development/Other
License: GPL
Requires: %name = %version-%release

%description devel
libuv header and build tools.

%prep
%setup
%patch -p2

%build
# due option hack in autogen.sh
#autoreconf
./autogen.sh
%if_without asserts
   CFLAGS+="-DNDEBUG"
%endif
%configure --disable-static
%make_build
%make_build test/run-tests

# not for hasher

%check
%make check

%install
%makeinstall_std
# FIXME: --disable-static does no disable static
rm -f %buildroot%_libdir/%name.a

%files
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_includedir/*
%_pkgconfigdir/%name.pc


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin