libverto/libverto.spec

85 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: libverto
Version: 0.3.2
Release: 1mamba
Summary: Event loop abstraction for Libraries
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/latchset/libverto/
Source: https://github.com/latchset/libverto.git/%{version}/libverto-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libevent-devel
BuildRequires: libglib-devel
## AUTOBUILDREQ-END
%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}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
autoreconf -f -i
%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 Jan 01 2022 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
- automatic version update by autodist
* Sat Feb 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.6-1mamba
- package created using the webbuild interface