forked from pool/libverto
Accepting request 305944 from home:guohouzuo:freeipa
OBS-URL: https://build.opensuse.org/request/show/305944 OBS-URL: https://build.opensuse.org/package/show/network/libverto?expand=0&rev=1
This commit is contained in:
commit
1c4df1f4c8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
libverto-0.2.6.tar.gz
Normal file
3
libverto-0.2.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17eca6a3855f4884e2e7095e91501767d834b3bf313a6f59a93303f54ac91c9e
|
||||
size 352690
|
107
libverto.changes
Normal file
107
libverto.changes
Normal file
@ -0,0 +1,107 @@
|
||||
-------------------------------------------------------------------
|
||||
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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 17 00:00:00 UTC 2014 - rel-eng@lists.fedoraproject.org
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 18 00:00:00 UTC 2014 - spot@fedoraproject.org
|
||||
|
||||
- fix license handling
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 7 00:00:00 UTC 2014 - rel-eng@lists.fedoraproject.org
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 12 00:00:00 UTC 2014 - npmccallum@redhat.com
|
||||
|
||||
- Update to 0.2.6
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 3 00:00:00 UTC 2013 - rel-eng@lists.fedoraproject.org
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 00:00:00 UTC 2013 - rel-eng@lists.fedoraproject.org
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 25 00:00:00 UTC 2012 - npmccallum@redhat.com
|
||||
|
||||
- Update to 0.2.5
|
||||
- Drop libverto-0.2.4-fix-libev.patch
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 7 00:00:00 UTC 2012 - npmccallum@redhat.com
|
||||
|
||||
- Don't build libev on RHEL
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 00:00:00 UTC 2012 - rel-eng@lists.fedoraproject.org
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 13 00:00:00 UTC 2012 - npmccallum@redhat.com
|
||||
|
||||
- Added libverto-0.2.4-fix-libev.patch
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 00:00:00 UTC 2012 - npmccallum@redhat.com
|
||||
|
||||
- Update to 0.2.4 release
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 8 00:00:00 UTC 2012 - npmccallum@redhat.com
|
||||
|
||||
- Update to 0.2.3 release
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 13 00:00:00 UTC 2012 - rel-eng@lists.fedoraproject.org
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 11 00:00:00 UTC 2011 - npmccallum@redhat.com
|
||||
|
||||
- Fix Requires to have proper ISA dependencies
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 10 00:00:00 UTC 2011 - npmccallum@redhat.com
|
||||
|
||||
- Update to 0.2.1
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 15 00:00:00 UTC 2011 - npmccallum@redhat.com
|
||||
|
||||
- Initial release
|
||||
|
||||
|
204
libverto.spec
Normal file
204
libverto.spec
Normal file
@ -0,0 +1,204 @@
|
||||
#
|
||||
# spec file for package libverto
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libverto
|
||||
Version: 0.2.6
|
||||
Release: 4%{?dist}
|
||||
Summary: Main loop abstraction library
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
Url: https://fedorahosted.org/libverto/
|
||||
Source0: http://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: glib2-devel
|
||||
BuildRequires: libev-devel
|
||||
BuildRequires: libtevent-devel
|
||||
%global lib_version 1
|
||||
|
||||
%description -n libverto
|
||||
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 libverto%{lib_version}
|
||||
Summary: Runtime libraries for libverto
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libverto%{lib_version}
|
||||
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 %{name}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}%{lib_version} = %{version}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package glib%{lib_version}
|
||||
Summary: Backend module for %{name} - glib
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description glib%{lib_version}
|
||||
Module for %{name} which provides integration with glib.
|
||||
|
||||
This package does NOT yet provide %{name}-module-base.
|
||||
|
||||
%package glib-devel
|
||||
Summary: Development files for %{name}-glib%{lib_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-glib%{lib_version}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description glib-devel
|
||||
The %{name}-glib-devel package contains libraries and header files for
|
||||
developing applications that use %{name}-glib%{lib_version}.
|
||||
|
||||
%package tevent%{lib_version}
|
||||
Summary: Backend module for %{name} - tevent
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: %{name}-module-base = %{version}-%{release}
|
||||
|
||||
%description tevent%{lib_version}
|
||||
Module for %{name} which provides integration with tevent.
|
||||
|
||||
This package provides %{name}-module-base since it supports io, timeout
|
||||
and signal.
|
||||
|
||||
%package tevent-devel
|
||||
Summary: Development files for %{name}-tevent%{lib_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-tevent%{lib_version}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description tevent-devel
|
||||
The %{name}-tevent-devel package contains libraries and header files for
|
||||
developing applications that use %{name}-tevent.
|
||||
|
||||
%package libev%{lib_version}
|
||||
Summary: Backend module for %{name} - libev%{lib_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: %{name}-module-base = %{version}-%{release}
|
||||
|
||||
%description libev%{lib_version}
|
||||
Module for %{name} which provides integration with libev.
|
||||
|
||||
This package provides %{name}-module-base since it supports io, timeout
|
||||
and signal.
|
||||
|
||||
%package libev-devel
|
||||
Summary: Development files for %{name}-libev%{lib_version}
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-libev%{lib_version}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description libev-devel
|
||||
The %{name}-libev-devel package contains libraries and header files for
|
||||
developing applications that use %{name}-libev.
|
||||
|
||||
This package provides %{name}-module-base since it supports io, timeout
|
||||
and signal.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
find %{buildroot} -name '*.so.*T' -delete
|
||||
|
||||
%post -n libverto%{lib_version} -p /sbin/ldconfig
|
||||
%postun -n libverto%{lib_version} -p /sbin/ldconfig
|
||||
|
||||
%post glib%{lib_version} -p /sbin/ldconfig
|
||||
%postun glib%{lib_version} -p /sbin/ldconfig
|
||||
|
||||
%post tevent%{lib_version} -p /sbin/ldconfig
|
||||
%postun tevent%{lib_version} -p /sbin/ldconfig
|
||||
|
||||
%post libev%{lib_version} -p /sbin/ldconfig
|
||||
%postun libev%{lib_version} -p /sbin/ldconfig
|
||||
|
||||
%files -n libverto%{lib_version}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog NEWS README COPYING
|
||||
%{_libdir}/%{name}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/verto.h
|
||||
%{_includedir}/verto-module.h
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%files glib%{lib_version}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/%{name}-glib.so.*
|
||||
|
||||
%files glib-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/verto-glib.h
|
||||
%{_libdir}/%{name}-glib.so
|
||||
%{_libdir}/pkgconfig/%{name}-glib.pc
|
||||
|
||||
%files tevent%{lib_version}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/%{name}-tevent.so.*
|
||||
|
||||
%files tevent-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/verto-tevent.h
|
||||
%{_libdir}/%{name}-tevent.so
|
||||
%{_libdir}/pkgconfig/%{name}-tevent.pc
|
||||
|
||||
%files libev%{lib_version}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/%{name}-libev.so.*
|
||||
|
||||
%files libev-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/verto-libev.h
|
||||
%{_libdir}/%{name}-libev.so
|
||||
%{_libdir}/pkgconfig/%{name}-libev.pc
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user