From c4cbb3a13b99367a7213bddc51740b08e2e0e740 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:02:29 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.6-1mamba;Sat Feb 07 2015] --- README.md | 2 ++ libverto.spec | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 libverto.spec diff --git a/README.md b/README.md index 727a2b4..fc2730b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libverto +libverto exists to solve an important problem: many applications and libraries are unable to write asynchronous code because they are unable to pick an event loop. This is particularly true of libraries who want to be useful to many applications who use loops that do not integrate with one another or which use home-grown loops. libverto provides a loop-neutral async api which allows the library to expose asynchronous interfaces and offload the choice of the main loop to the application. + diff --git a/libverto.spec b/libverto.spec new file mode 100644 index 0000000..6193b50 --- /dev/null +++ b/libverto.spec @@ -0,0 +1,84 @@ +Name: libverto +Version: 0.2.6 +Release: 1mamba +Summary: Event loop abstraction for Libraries +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://fedorahosted.org/libverto/ +Source: https://fedorahosted.org/releases/l/i/libverto/libverto-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libevent-devel +BuildRequires: libglib-devel +BuildRequires: libtalloc-devel +BuildRequires: libtevent-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libverto exists to solve an important problem: many applications and libraries are unable to write asynchronous code because they are unable to pick an event loop. This is particularly true of libraries who want to be useful to many applications who use loops that do not integrate with one another or which use home-grown loops. libverto provides a loop-neutral async api which allows the library to expose asynchronous interfaces and offload the choice of the main loop to the application. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libverto-glib.so.* +%{_libdir}/libverto-libevent.so.* +%{_libdir}/libverto-tevent.so.* +%{_libdir}/libverto.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/verto*.h +%{_libdir}/libverto-glib.a +%{_libdir}/libverto-glib.la +%{_libdir}/libverto-glib.so +%{_libdir}/libverto-libevent.a +%{_libdir}/libverto-libevent.la +%{_libdir}/libverto-libevent.so +%{_libdir}/libverto-tevent.a +%{_libdir}/libverto-tevent.la +%{_libdir}/libverto-tevent.so +%{_libdir}/libverto.a +%{_libdir}/libverto.la +%{_libdir}/libverto.so +%{_libdir}/pkgconfig/libverto-glib.pc +%{_libdir}/pkgconfig/libverto-libevent.pc +%{_libdir}/pkgconfig/libverto-tevent.pc +%{_libdir}/pkgconfig/libverto.pc +%doc ChangeLog NEWS README + +%changelog +* Sat Feb 07 2015 Silvan Calarco 0.2.6-1mamba +- package created using the webbuild interface