libverto/libverto.spec

85 lines
2.6 KiB
RPMSpec
Raw Normal View History

Name: libverto
Version: 0.2.6
Release: 1mamba
Summary: Event loop abstraction for Libraries
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.2.6-1mamba
- package created using the webbuild interface