CBL-Mariner/SPECS/libevent/libevent.spec

88 строки
2.5 KiB
Plaintext

Summary: An Event notification library.
Name: libevent
Version: 2.1.12
Release: 1%{?dist}
License: BSD
URL: http://libevent.org
Source0: https://github.com/%{name}/%{name}/releases/download/release-%{version}-stable/%{name}-%{version}-stable.tar.gz
Group: System/Library
Vendor: Microsoft Corporation
Distribution: Mariner
BuildRequires: pkg-config
BuildRequires: openssl-devel
Requires: openssl
%description
The libevent API provides a mechanism to execute a callback function when a specific event
occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also
support callbacks due to signals or regular timeouts.
%package devel
Summary: Development files for libevent
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
The subpackage includes all development related headers and library.
%prep
%setup -q -n %{name}-%{version}-stable
%build
%configure --disable-static --disable-libevent-regress
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot} -name '*.la' -delete
%check
make %{?_smp_mflags} -k check
%post -p /sbin/ldconfig
%files
%defattr(-,root,root)
%license LICENSE
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_bindir}/event_rpcgen.py
%{_libdir}/*.so
%{_libdir}/pkgconfig/libevent.pc
%{_libdir}/pkgconfig/libevent_pthreads.pc
%{_libdir}/pkgconfig/libevent_openssl.pc
%{_libdir}/pkgconfig/libevent_core.pc
%{_libdir}/pkgconfig/libevent_extra.pc
%changelog
* Fri Mar 11 2022 Jon Slobodzian <joslobo@microsoft.com> - 2.1.12-1
- Upgrade to 2.1.12
* Tue Feb 08 2022 Thomas Crain <thcrain@microsoft.com> - 2.1.8-4
- Remove unused `%%define sha1` lines
- License verified
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 2.1.8-3
- Added %%license line automatically
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 2.1.8-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Apr 03 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> - 2.1.8-1
- Upgraded to version 2.1.8. (fixes CVE-2016-10195)
* Tue Jul 26 2016 Divya Thaluru <dthaluru@vmware.com> - 2.0.22-4
- Removed packaging of debug files
* Wed Jul 13 2016 Alexey Makhalov <amakhalov@vmware.com> - 2.0.22-3
- Added openssl runtime requirement
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 2.0.22-2
- GA - Bump release of all rpms
* Thu Apr 28 2016 Kumar Kaushik <kaushikk@vmware.com> - 2.0.22-1
- Initial Version.