libuv/libuv.spec

105 lines
2.5 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:57:10 +08:00
Name: libuv
Epoch: 1
2023-05-04 16:57:30 +08:00
Version: 1.44.2
Release: 1
2019-12-14 18:57:10 +08:00
Summary: A multi-platform support library with a focus on asynchronous I/O
2021-09-25 00:53:54 +08:00
# from README.md
License: MIT and CC-BY-4.0
2019-12-14 18:57:10 +08:00
URL: http://libuv.org/
Source0: http://dist.libuv.org/dist/v%{version}/%{name}-v%{version}.tar.gz
2023-05-04 16:57:30 +08:00
Source2: %{name}.pc.in
Source3: libuv.abignore
2019-12-14 18:57:10 +08:00
2022-12-08 15:37:25 +08:00
Patch1: backport-Skip-some-tests.patch
BuildRequires: autoconf automake libtool gcc make
2019-12-14 18:57:10 +08:00
%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 its 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}
2019-12-14 18:57:10 +08:00
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
2023-05-04 16:57:30 +08:00
mkdir -p %{buildroot}%{_libdir}/libuv/
install -Dm0644 -t %{buildroot}%{_libdir}/libuv/ %{SOURCE3}
2019-12-14 18:57:10 +08:00
%ldconfig_scriptlets
%check
2022-06-20 15:38:14 +08:00
make check
2019-12-14 18:57:10 +08:00
%files
%license LICENSE
%{_libdir}/%{name}.so.*
2023-05-04 16:57:30 +08:00
%{_libdir}/libuv/libuv.abignore
2019-12-14 18:57:10 +08:00
%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
2023-05-04 16:57:30 +08:00
* 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
2022-12-08 15:37:25 +08:00
* Thu Dec 08 2022 shixuantong <shixuantong1@huawei.com> - 1:1.42.0-3
- skip some test
2022-06-20 15:38:14 +08:00
* 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
2021-09-25 00:53:54 +08:00
- upgrade version to 1.42.0
2021-01-26 19:51:47 +08:00
* Tue Jan 26 2021 liudabo <liudabo1@huawei.com> - 1.40.0-1
- upgrade version to 1.40.0
2020-12-15 11:39:50 +08:00
* 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
2020-07-27 21:30:13 +08:00
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:version update 1.38.1
2020-06-01 14:29:20 +08:00
* Mon Jun 1 2020 lizhenhua <lizhenhua21@huawei.com> - 1.35.0-1
- update to 1.35.0
2019-12-14 18:57:10 +08:00
* Tue Dec 3 2019 mengxian <mengxian@huawei.com> - 1.23.0-2
- Package init