66 lines
1.4 KiB
RPMSpec
66 lines
1.4 KiB
RPMSpec
|
Name: libev
|
||
|
Version: 4.33
|
||
|
Release: 1mamba
|
||
|
Summary: A full-featured and high-performance event loop
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://software.schmorp.de/pkg/libev.html
|
||
|
Source: http://dist.schmorp.de/libev/libev-%{version}.tar.gz
|
||
|
License: BSD
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
A full-featured and high-performance event loop.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
# conflicting with libevent
|
||
|
rm %{buildroot}%{_includedir}/event.h
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libev.so.*
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/ev++.h
|
||
|
%{_includedir}/ev.h
|
||
|
%{_libdir}/libev.a
|
||
|
%{_libdir}/libev.so
|
||
|
%{_mandir}/man3/ev.3*
|
||
|
%doc README TODO
|
||
|
|
||
|
%changelog
|
||
|
* Wed Apr 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 4.33-1mamba
|
||
|
- package created using the webbuild interface
|