baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ngtcp2?expand=0&rev=9
This commit is contained in:
commit
11fc584a1b
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
|
2
baselibs.conf
Normal file
2
baselibs.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libngtcp2-16
|
||||||
|
libngtcp2_crypto_gnutls8
|
3
ngtcp2-1.0.1.tar.xz
Normal file
3
ngtcp2-1.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:21c898fa5543d3f2dc203fd0a300a8a7cb70fec21ad7f7a3ec6e119ba4850451
|
||||||
|
size 590100
|
6
ngtcp2-1.0.1.tar.xz.asc
Normal file
6
ngtcp2-1.0.1.tar.xz.asc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iF0EABECAB0WIQT087kUdNHrKYib0O9+hAPV1nPDZgUCZTZdfAAKCRB+hAPV1nPD
|
||||||
|
Zh3JAJ9xspGAE3+6xsFjSnV6rDF1FY7pJgCglgnMPztLiqG12q/YP3IF8SaPavE=
|
||||||
|
=2ZYO
|
||||||
|
-----END PGP SIGNATURE-----
|
4
ngtcp2.changes
Normal file
4
ngtcp2.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 7 12:58:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- Initial package (v1.0.1)
|
39
ngtcp2.keyring
Normal file
39
ngtcp2.keyring
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQGiBEmgJCARBACDsyRcJt0cPqS5I3nooSD4ETmsqXSGoA1QP0NcD3mMDIxfwOk3
|
||||||
|
ZgaLAhQTpylqzYu4uQ5lDcvkpZtN8cA+R+9Bxq1VcY5Jra4t93Eyxd/14oufgg8w
|
||||||
|
GLZ8q2otuUliL+RWPEuuBLNJFrdHeLfITBX88ZyHz8tu0kpWBBVBLb5yYwCg3OmH
|
||||||
|
L59aPl0TIoKGIL/xYs80ixcD/3PA9z6SbChDHRKA647Smrw6QuQHl7Uubg6LYYxz
|
||||||
|
FoxeN3F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QUCSaAkIAIbDAAKCRB+hAPV1nPD
|
||||||
|
ZqpZAJ9Kw73IdA3hw+wQEen991bFlMzHfQCgtG/GMjXB246Qt9XPVvToTSFJQPo=
|
||||||
|
=2agh
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
131
ngtcp2.spec
Normal file
131
ngtcp2.spec
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ngtcp2
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global soname libngtcp2
|
||||||
|
%global sover 16
|
||||||
|
%global gnutls_soname libngtcp2_crypto_gnutls
|
||||||
|
%global gnutls_sover 8
|
||||||
|
Name: ngtcp2
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Implementation of the IETF QUIC protocol
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://nghttp2.org/ngtcp2
|
||||||
|
Source0: https://github.com/ngtcp2/ngtcp2/releases/download/v%{version}/ngtcp2-%{version}.tar.xz
|
||||||
|
Source1: https://github.com/ngtcp2/ngtcp2/releases/download/v%{version}/ngtcp2-%{version}.tar.xz.asc
|
||||||
|
Source2: ngtcp2.keyring
|
||||||
|
Source3: baselibs.conf
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: pkgconfig(cunit)
|
||||||
|
BuildRequires: pkgconfig(gnutls) >= 3
|
||||||
|
BuildRequires: pkgconfig(libnghttp3) >= 1.0.0
|
||||||
|
|
||||||
|
%description
|
||||||
|
ngtcp2 is an effort to implement RFC9000 QUIC protocol.
|
||||||
|
|
||||||
|
%package -n %{soname}-%{sover}
|
||||||
|
Summary: Shared library for ngtcp2
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{soname}-%{sover}
|
||||||
|
Shared C libraries for implementation of QUIC Protocol
|
||||||
|
|
||||||
|
%package -n %{gnutls_soname}%{gnutls_sover}
|
||||||
|
Summary: Shared library for ngtcp2 - GNUTLS backend
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %{gnutls_soname}%{gnutls_sover}
|
||||||
|
Shared C libraries for implementation of QUIC Protocol - GNUTLS backend
|
||||||
|
|
||||||
|
%package -n python3-ngtcp2
|
||||||
|
Summary: Python3 bindings for ngtcp2
|
||||||
|
Group: Development/Libraries/Python
|
||||||
|
|
||||||
|
%description -n python3-ngtcp2
|
||||||
|
Python bindings for implementation of QUIC Protocol
|
||||||
|
|
||||||
|
%package -n %{soname}-devel
|
||||||
|
Summary: Development files for ngtcp2
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: %{soname}-%{sover} = %{version}
|
||||||
|
Provides: %{name}-devel
|
||||||
|
|
||||||
|
%description -n %{soname}-devel
|
||||||
|
Development files for usage with libngtcp2, which implements
|
||||||
|
QUIC Protocol.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for ngtcp2
|
||||||
|
Group: Documentation/HTML
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Documentation for ngtcp2, which includes a shared C library
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n ngtcp2-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
--disable-silent-rules \
|
||||||
|
--enable-lib-only \
|
||||||
|
--with-cunit \
|
||||||
|
--with-libnghttp3 \
|
||||||
|
--with-gnutls \
|
||||||
|
--without-openssl \
|
||||||
|
--without-libev \
|
||||||
|
%{nil}
|
||||||
|
%make_build all
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
|
# Do not ship this
|
||||||
|
rm -rf %{buildroot}%{_datadir}/doc/ngtcp2
|
||||||
|
|
||||||
|
# None of applications using these man pages are built.
|
||||||
|
rm -rf %{buildroot}%{_mandir}/man1/* \
|
||||||
|
doc/manual/html/.buildinfo
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
|
||||||
|
%ldconfig_scriptlets -n %{soname}-%{sover}
|
||||||
|
%ldconfig_scriptlets -n %{gnutls_soname}%{gnutls_sover}
|
||||||
|
|
||||||
|
%files -n %{soname}-%{sover}
|
||||||
|
%license COPYING
|
||||||
|
%{_libdir}/%{soname}.so.%{sover}*
|
||||||
|
|
||||||
|
%files -n %{gnutls_soname}%{gnutls_sover}
|
||||||
|
%license COPYING
|
||||||
|
%{_libdir}/%{gnutls_soname}.so.%{gnutls_sover}*
|
||||||
|
|
||||||
|
%files -n %{soname}-devel
|
||||||
|
%dir %{_includedir}/%{name}/
|
||||||
|
%{_includedir}/%{name}/*.h
|
||||||
|
%{_libdir}/%{soname}.so
|
||||||
|
%{_libdir}/%{gnutls_soname}.so
|
||||||
|
%{_libdir}/pkgconfig/%{soname}.pc
|
||||||
|
%{_libdir}/pkgconfig/libngtcp2_crypto_gnutls.pc
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user