2015-05-09 12:40:58 +02:00
|
|
|
#
|
|
|
|
# spec file for package libverto
|
|
|
|
#
|
2023-04-27 23:58:17 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-05-09 12:40:58 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-08-27 12:01:27 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-05-09 12:40:58 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2015-05-31 13:20:18 +02:00
|
|
|
%define sover 1
|
2015-05-09 12:40:58 +02:00
|
|
|
Name: libverto
|
2022-09-28 18:35:23 +02:00
|
|
|
Version: 0.3.2
|
2015-05-09 12:42:35 +02:00
|
|
|
Release: 0
|
2015-05-09 12:40:58 +02:00
|
|
|
Summary: Main loop abstraction library
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2020-08-27 12:01:27 +02:00
|
|
|
URL: https://github.com/latchset/libverto
|
|
|
|
Source: https://github.com/latchset/libverto/releases/download/%{version}/libverto-%{version}.tar.gz
|
2015-05-31 13:20:18 +02:00
|
|
|
Source1: baselibs.conf
|
2020-08-27 12:02:05 +02:00
|
|
|
BuildRequires: pkgconfig
|
2015-05-31 13:20:18 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
libverto provides a way for libraries to expose asynchronous
|
|
|
|
interfaces without having to choose a particular event loop,
|
|
|
|
offloading this decision to the end application which consumes the
|
|
|
|
library.
|
2015-05-09 12:40:58 +02:00
|
|
|
|
|
|
|
If you are packaging an application, not library, based on libverto,
|
|
|
|
you should depend either on a specific implementation module or you
|
|
|
|
can depend on the virtual provides 'libverto-module-base'. This will
|
|
|
|
ensure that you have at least one module installed that provides io,
|
|
|
|
timeout and signal functionality. Currently glib is the only module
|
|
|
|
that does not provide these three because it lacks signal. However,
|
|
|
|
glib will support signal in the future.
|
|
|
|
|
2015-05-31 13:20:18 +02:00
|
|
|
%package -n %{name}%{sover}
|
2015-05-09 12:40:58 +02:00
|
|
|
Summary: Runtime libraries for libverto
|
2015-05-31 13:20:18 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-05-09 12:40:58 +02:00
|
|
|
|
2015-05-31 13:20:18 +02:00
|
|
|
%description -n %{name}%{sover}
|
|
|
|
libverto provides a way for libraries to expose asynchronous
|
|
|
|
interfaces without having to choose a particular event loop,
|
|
|
|
offloading this decision to the end application which consumes the
|
|
|
|
library.
|
2015-05-09 12:40:58 +02:00
|
|
|
|
|
|
|
If you are packaging an application, not library, based on libverto,
|
|
|
|
you should depend either on a specific implementation module or you
|
|
|
|
can depend on the virtual provides 'libverto-module-base'. This will
|
|
|
|
ensure that you have at least one module installed that provides io,
|
|
|
|
timeout and signal functionality. Currently glib is the only module
|
|
|
|
that does not provide these three because it lacks signal. However,
|
|
|
|
glib will support signal in the future.
|
|
|
|
|
|
|
|
%package devel
|
2015-05-31 13:20:18 +02:00
|
|
|
Summary: Development files for libverto
|
2015-05-09 12:40:58 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2015-05-31 13:20:18 +02:00
|
|
|
Requires: %{name}%{sover} = %{version}
|
2015-05-09 12:40:58 +02:00
|
|
|
|
|
|
|
%description devel
|
2015-05-31 13:20:18 +02:00
|
|
|
The libverto-devel package contains libraries and header files
|
|
|
|
for developing applications that use libverto.
|
2015-05-09 12:40:58 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
2020-08-27 12:02:05 +02:00
|
|
|
%make_build
|
2015-05-09 12:40:58 +02:00
|
|
|
|
|
|
|
%install
|
2015-05-31 13:20:18 +02:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2015-05-09 12:40:58 +02:00
|
|
|
find %{buildroot} -name '*.so.*T' -delete
|
|
|
|
|
2015-05-31 13:20:18 +02:00
|
|
|
%post -n libverto%{sover} -p /sbin/ldconfig
|
|
|
|
%postun -n libverto%{sover} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libverto%{sover}
|
2018-02-27 10:37:46 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2015-05-09 12:40:58 +02:00
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/verto.h
|
|
|
|
%{_includedir}/verto-module.h
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
%changelog
|