blob: a469995f5c37c4d87a535ec4699cc34ab47100a6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
Name: libuv
Epoch: 1
Version: 1.44.2
Release: 1
Summary: A multi-platform support library with a focus on asynchronous I/O
# from README.md
License: MIT and CC-BY-4.0
URL: http://libuv.org/
Source0: http://dist.libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz
Source2: %{name}.pc.in
Source3: libuv.abignore
Patch1: backport-Skip-some-tests.patch
BuildRequires: autoconf automake libtool gcc make
%description
libuv is a multi-platform support library with a focus on asynchronous I/O.
It was primarily developed for use by Node.js, but it’s also used by Luvit,
Julia, pyuv, and others.
%package devel
Summary: Development libraries for libuv
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-static < %{version}-%{release}
Provides: %{name}-static
%description devel
Development libraries for libuv
%package_help
%prep
%autosetup -p1 -n %{name}-v%{version}
%build
./autogen.sh
%configure --disable-silent-rules
%make_build
%install
%make_install
%delete_la
mkdir -p %{buildroot}%{_libdir}/libuv/
install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
%ldconfig_scriptlets
%check
make check
%files
%license LICENSE
%{_libdir}/%{name}.so.*
%{_libdir}/libuv/libuv.abignore
%files devel
%{_libdir}/%{name}.so
%{_libdir}/%{name}.a
%{_libdir}/pkgconfig/%{name}.pc
%{_includedir}/uv.h
%{_includedir}/uv/
%files help
%doc README.md AUTHORS CONTRIBUTING.md MAINTAINERS.md SUPPORTED_PLATFORMS.md
%doc ChangeLog
%changelog
* Thu May 04 2023 lilong <lilong@kylinos.cn> - 1:1.44.2-1
- Upgrade to 1.44.2
* Mon Apr 24 2023 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-5
- fix Obsoletes in spec and remove ldconfig_scriptlets from check
* Thu Dec 15 2022 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-4
- add make to buildrequires
* Thu Dec 08 2022 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-3
- skip some test
* Mon Jun 20 2022 renhongxun <renhongxun@h-partners.com> - 1.42.0-2
- enable check
* Sat Sep 25 2021 sdlzx <hdu_sdlzx@163.com> - 1.42.0-1
- upgrade version to 1.42.0
* Tue Jan 26 2021 liudabo <liudabo1@huawei.com> - 1.40.0-1
- upgrade version to 1.40.0
* Mon Dec 14 2020 wangxiao <wangxiao65@huawei.com> - 1.38.1-2
- fix CVE-2020-8252
* Mon Jul 27 2020 wenzhanli <wenzhanli2@huawei.com> - 1.38.1-1
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:version update 1.38.1
* Mon Jun 1 2020 lizhenhua <lizhenhua21@huawei.com> - 1.35.0-1
- update to 1.35.0
* Tue Dec 3 2019 mengxian <mengxian@huawei.com> - 1.23.0-2
- Package init
|