Sync from SUSE:ALP:Source:Standard:1.0 libverto revision 3ac3dc5406f61cc9031efb389f15cae6

This commit is contained in:
Adrian Schröter 2023-08-01 14:13:04 +02:00
commit a30b329305
10 changed files with 499 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

5
_multibuild Normal file
View File

@ -0,0 +1,5 @@
<multibuild>
<package>libverto-glib.spec</package>
<package>libverto-libev.spec</package>
</multibuild>

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libverto1
libverto-devel
libverto-glib1
libverto-libev1

BIN
libverto-0.3.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

49
libverto-glib.changes Normal file
View File

@ -0,0 +1,49 @@
-------------------------------------------------------------------
Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.3.1:
* Fix rare leak of DSO in module_load
* Turn off -Wcast-function-type
* Work around libev not being c89-compliant
* Minor release bumps for verto_cleanup()
* Leak fixes
* Enforce strict c89 compliance for portability
* Many warning fixes
* Fix memleak in libverto:vfree
* Update mutex usage to improve debugging
* Add verto_cleanup() to free loaded_modules
* Make C99 requirement explicit
-------------------------------------------------------------------
Tue Jun 6 13:42:00 UTC 2017 - hguo@suse.com
- There is no change made about the package itself, this is only
copying over some changelog texts from SLE package:
- [fate#320326](https://fate.suse.com/320326)
-------------------------------------------------------------------
Mon May 16 10:25:59 UTC 2016 - mlin@suse.com
- Split off libev, glib and tevent module to sub-package
-------------------------------------------------------------------
Mon Jun 22 08:47:23 UTC 2015 - hguo@suse.com
- Remove irrelevant changelog entries from changelog file.
-------------------------------------------------------------------
Sat May 30 13:12:32 UTC 2015 - sor.alexei@meowr.ru
- Add baselibs.conf to enable multilib.
- Spec cleanup.
-------------------------------------------------------------------
Fri May 8 14:55:09 CEST 2015 - pth@suse.de
- Name shared library packages according to policy.
-------------------------------------------------------------------
Fri May 8 09:45:34 UTC 2015 - hguo@suse.com
- Source extracted from Fedora 21 release SRPM, with minor adjustments.

96
libverto-glib.spec Normal file
View File

@ -0,0 +1,96 @@
#
# spec file for package libverto-glib
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 1
%define src_name libverto
Name: libverto-glib
Version: 0.3.2
Release: 0
Summary: Main loop abstraction library
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/latchset/libverto
Source: https://github.com/latchset/libverto/releases/download/%{version}/libverto-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libverto) = %{version}
%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.
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 -n %{src_name}-glib%{sover}
Summary: Backend module for libverto -- glib
Group: Development/Libraries/C and C++
Requires: libverto%{sover} = %{version}
%description -n %{src_name}-glib%{sover}
Module for libverto which provides integration with glib.
This package does NOT yet provide libverto-module-base.
%package -n %{src_name}-glib-devel
Summary: Development files for libverto-glib%{sover}
Group: Development/Libraries/C and C++
Requires: %{src_name}-devel%{?_isa} = %{version}
Requires: %{src_name}-glib%{sover}%{?_isa} = %{version}
%description -n %{src_name}-glib-devel
The libverto-glib-devel package contains libraries and header files
for developing applications that use libverto-glib.
%prep
%setup -q -n %{src_name}-%{version}
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -name '*.so.*T' -delete
# stuff in libverto already
rm -rf %{buildroot}/%{_includedir}/verto-module.h %{buildroot}/%{_includedir}/verto.h
rm -rf %{buildroot}/%{_libdir}/%{src_name}.so*
rm -rf %{buildroot}/%{_libdir}/pkgconfig/%{src_name}.pc
%post -n %{src_name}-glib%{sover} -p /sbin/ldconfig
%postun -n %{src_name}-glib%{sover} -p /sbin/ldconfig
%files -n %{src_name}-glib%{sover}
%{_libdir}/%{src_name}-glib.so.*
%files -n %{src_name}-glib-devel
%{_includedir}/verto-glib.h
%{_libdir}/%{src_name}-glib.so
%{_libdir}/pkgconfig/%{src_name}-glib.pc
%changelog

49
libverto-libev.changes Normal file
View File

@ -0,0 +1,49 @@
-------------------------------------------------------------------
Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.3.1:
* Fix rare leak of DSO in module_load
* Turn off -Wcast-function-type
* Work around libev not being c89-compliant
* Minor release bumps for verto_cleanup()
* Leak fixes
* Enforce strict c89 compliance for portability
* Many warning fixes
* Fix memleak in libverto:vfree
* Update mutex usage to improve debugging
* Add verto_cleanup() to free loaded_modules
* Make C99 requirement explicit
-------------------------------------------------------------------
Tue Jun 6 13:42:00 UTC 2017 - hguo@suse.com
- There is no change made about the package itself, this is only
copying over some changelog texts from SLE package:
- [fate#320326](https://fate.suse.com/320326)
-------------------------------------------------------------------
Mon May 16 10:25:59 UTC 2016 - mlin@suse.com
- Split off libev, glib and tevent module to sub-package
-------------------------------------------------------------------
Mon Jun 22 08:47:23 UTC 2015 - hguo@suse.com
- Remove irrelevant changelog entries from changelog file.
-------------------------------------------------------------------
Sat May 30 13:12:32 UTC 2015 - sor.alexei@meowr.ru
- Add baselibs.conf to enable multilib.
- Spec cleanup.
-------------------------------------------------------------------
Fri May 8 14:55:09 CEST 2015 - pth@suse.de
- Name shared library packages according to policy.
-------------------------------------------------------------------
Fri May 8 09:45:34 UTC 2015 - hguo@suse.com
- Source extracted from Fedora 21 release SRPM, with minor adjustments.

98
libverto-libev.spec Normal file
View File

@ -0,0 +1,98 @@
#
# spec file for package libverto-libev
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 1
%define src_name libverto
Name: libverto-libev
Version: 0.3.2
Release: 0
Summary: Main loop abstraction library
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/latchset/libverto
Source: https://github.com/latchset/libverto/releases/download/%{version}/libverto-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libev)
BuildRequires: pkgconfig(libverto) = %{version}
%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.
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 -n %{src_name}-libev%{sover}
Summary: Backend module for libverto -- libev%{sover}
Group: Development/Libraries/C and C++
Requires: libverto%{sover} = %{version}
Provides: %{src_name}-module-base = %{version}
%description -n %{src_name}-libev%{sover}
Module for libverto which provides integration with libev.
This package provides libverto-module-base since it supports io,
timeout and signal.
%package -n %{src_name}-libev-devel
Summary: Development files for libverto-libev%{sover}
Group: Development/Libraries/C and C++
Requires: %{src_name}-devel%{?_isa} = %{version}
Requires: %{src_name}-libev%{sover}%{?_isa} = %{version}
%description -n %{src_name}-libev-devel
The libverto-libev-devel package contains libraries and header
files for developing applications that use libverto-libev.
%prep
%setup -q -n %{src_name}-%{version}
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -name '*.so.*T' -delete
# stuff in libverto already
rm -rf %{buildroot}/%{_includedir}/verto-module.h %{buildroot}/%{_includedir}/verto.h
rm -rf %{buildroot}/%{_libdir}/%{src_name}.so*
rm -rf %{buildroot}/%{_libdir}/pkgconfig/%{src_name}.pc
%post -n %{src_name}-libev%{sover} -p /sbin/ldconfig
%postun -n %{src_name}-libev%{sover} -p /sbin/ldconfig
%files -n %{src_name}-libev%{sover}
%{_libdir}/%{src_name}-libev.so.*
%files -n %{src_name}-libev-devel
%{_includedir}/verto-libev.h
%{_libdir}/%{src_name}-libev.so
%{_libdir}/pkgconfig/%{src_name}-libev.pc
%changelog

74
libverto.changes Normal file
View File

@ -0,0 +1,74 @@
-------------------------------------------------------------------
Mon Apr 24 10:09:44 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Add _multibuild to define 2nd spec file as additional flavor.
Eliminates the need for source package links in OBS.
-------------------------------------------------------------------
Sat Sep 24 09:08:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.3.2:
* Fix use-after-free in verto_reinitialize
* Fix use-after-free in verto_free()
* Remove broken tevent support
-------------------------------------------------------------------
Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.3.1:
* Fix rare leak of DSO in module_load
* Turn off -Wcast-function-type
* Work around libev not being c89-compliant
* Minor release bumps for verto_cleanup()
* Leak fixes
* Enforce strict c89 compliance for portability
* Many warning fixes
* Fix memleak in libverto:vfree
* Update mutex usage to improve debugging
* Add verto_cleanup() to free loaded_modules
* Make C99 requirement explicit
-------------------------------------------------------------------
Thu Feb 22 15:14:25 UTC 2018 - fvogt@suse.com
- Use %license (boo#1082318)
-------------------------------------------------------------------
Sun Oct 29 10:08:08 UTC 2017 - meissner@suse.com
- add libverto-devel baselib for use by libkrb5-devel-32bit,
for use by Wine 32bit.
-------------------------------------------------------------------
Tue Jun 6 13:42:00 UTC 2017 - hguo@suse.com
- There is no change made about the package itself, this is only
copying over some changelog texts from SLE package:
- [fate#320326](https://fate.suse.com/320326)
-------------------------------------------------------------------
Mon May 16 10:25:59 UTC 2016 - mlin@suse.com
- Split off libev, glib and tevent module to sub-package
-------------------------------------------------------------------
Mon Jun 22 08:47:23 UTC 2015 - hguo@suse.com
- Remove irrelevant changelog entries from changelog file.
-------------------------------------------------------------------
Sat May 30 13:12:32 UTC 2015 - sor.alexei@meowr.ru
- Add baselibs.conf to enable multilib.
- Spec cleanup.
-------------------------------------------------------------------
Fri May 8 14:55:09 CEST 2015 - pth@suse.de
- Name shared library packages according to policy.
-------------------------------------------------------------------
Fri May 8 09:45:34 UTC 2015 - hguo@suse.com
- Source extracted from Fedora 21 release SRPM, with minor adjustments.

98
libverto.spec Normal file
View File

@ -0,0 +1,98 @@
#
# spec file for package libverto
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 1
Name: libverto
Version: 0.3.2
Release: 0
Summary: Main loop abstraction library
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/latchset/libverto
Source: https://github.com/latchset/libverto/releases/download/%{version}/libverto-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: pkgconfig
%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.
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 -n %{name}%{sover}
Summary: Runtime libraries for libverto
Group: Development/Libraries/C and C++
%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.
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
Summary: Development files for libverto
Group: Development/Libraries/C and C++
Requires: %{name}%{sover} = %{version}
%description devel
The libverto-devel package contains libraries and header files
for developing applications that use libverto.
%prep
%setup -q
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -name '*.so.*T' -delete
%post -n libverto%{sover} -p /sbin/ldconfig
%postun -n libverto%{sover} -p /sbin/ldconfig
%files -n libverto%{sover}
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_libdir}/%{name}.so.*
%files devel
%{_includedir}/verto.h
%{_includedir}/verto-module.h
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog