From 71ceaffc4c0c0da4432bcb9ac1f998611de67e54 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Wed, 3 Apr 2024 15:08:29 +0200 Subject: [PATCH] package created using the webbuild interface [release 4.33-1mamba;Wed Apr 03 2024] --- README.md | 2 ++ libev.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libev.spec diff --git a/README.md b/README.md index f44ce11..6bfc0c5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libev +A full-featured and high-performance event loop. + diff --git a/libev.spec b/libev.spec new file mode 100644 index 0000000..7d95d56 --- /dev/null +++ b/libev.spec @@ -0,0 +1,65 @@ +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 +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 4.33-1mamba +- package created using the webbuild interface