|
@@ -1,8 +1,10 @@
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
+
|
|
|
Summary: Abstract asynchronous event notification library
|
|
|
Summary(ja): 非同期イベント通知ライブラリ
|
|
|
Name: libevent
|
|
|
Version: 2.1.8
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
Group: System Environment/Libraries
|
|
|
License: BSD
|
|
|
URL: https://libevent.org/
|
|
@@ -35,6 +37,21 @@ documentation for %{name}. If you like to develop programs using %{name},
|
|
|
you will need to install %{name}-devel.
|
|
|
|
|
|
|
|
|
+%package -n compat32-%{name}
|
|
|
+Summary: Abstract asynchronous event notification library
|
|
|
+Summary(ja): 非同期イベント通知ライブラリ
|
|
|
+Group: System Environment/Libraries
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
+
|
|
|
+%description -n compat32-%{name}
|
|
|
+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. libevent is meant to replace the asynchronous event
|
|
|
+loop found in event driven network servers. An application just needs
|
|
|
+to call event_dispatch() and can then add or remove events dynamically
|
|
|
+without having to change the event loop.
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}-stable
|
|
|
|
|
@@ -73,8 +90,19 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/lib*.so
|
|
|
%{_libdir}/pkgconfig/%{name}*.pc
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
+%files -n compat32-%{name}
|
|
|
+%defattr(-,root,root,0755)
|
|
|
+%doc README
|
|
|
+%{_bindir}/*
|
|
|
+%{_libdir}/lib*.so.*
|
|
|
+%endif
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Nov 09 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-2
|
|
|
+- added a subpackage 'compat32-libevent'.
|
|
|
+
|
|
|
* Sun Nov 04 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.8-1
|
|
|
- updated to 2.1.8.
|
|
|
|