diff --git a/nghttp2-0.7.5.tar.xz b/nghttp2-0.7.5.tar.xz deleted file mode 100644 index 6020d4f..0000000 --- a/nghttp2-0.7.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b2a05b4481881228db90314e14cb33511037a9e5940e31b826b688f27a6628d1 -size 858444 diff --git a/nghttp2-0.7.9.tar.xz b/nghttp2-0.7.9.tar.xz new file mode 100644 index 0000000..9755354 --- /dev/null +++ b/nghttp2-0.7.9.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a6c26248b6bd18034da423a391f545c6f2c81fcf6a8757f53db800b2e5de84b +size 873048 diff --git a/nghttp2.changes b/nghttp2.changes index 6f49930..0167e05 100644 --- a/nghttp2.changes +++ b/nghttp2.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Apr 4 16:55:55 UTC 2015 - mpluskal@suse.com + +- Enable python bindings +- Update to 0.7.9 + * Implements h2-14 protocol (http://tools.ietf.org/html/draft-ietf-httpbis-http2-14) + * Implements HPACK 09 (http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-09) + * h2load: Fix crash if -t > -c + * h2load: Add -d option to upload data to server + * nghttpx: Forward only "trailers" keyword in te when forwarding HTTP/2 backend + * nghttpx: Fix PUSH_PROMISE header field corruption [GH-194] + * nghttpx: Fix te header field is duplicated when forwarding HTTP/2 backend + * nghttp, nghttpd: Add --hexdump option to hexdump incoming traffic. + * examples: Place AM_CPPFLAGS first to use in-package header files first [GH-192] +- Changes for 0.7.8 + * Implements h2-14 protocol (http://tools.ietf.org/html/draft-ietf-httpbis-http2-14) + * Implements HPACK 09 (http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-09) + * Validate :path header field for http or https URI scheme + * NULL-terminate header field name and value presented by callback + * README.rst: Cleaned up the grammar a bit (Patch from Ross Smith II) + * h2load: fix for segfault by reserving correct worker count (Patch from Stefan Eissing) + ------------------------------------------------------------------- Wed Mar 18 21:29:49 UTC 2015 - jengelh@inai.de diff --git a/nghttp2.spec b/nghttp2.spec index 537a798..32f39e1 100644 --- a/nghttp2.spec +++ b/nghttp2.spec @@ -16,19 +16,21 @@ # +%define lib_name lib%{name}-5 +%define lib_name_asio lib%{name}_asio1 Name: nghttp2 -Version: 0.7.5 +Version: 0.7.9 Release: 0 Summary: Implementation of Hypertext Transfer Protocol version 2 in C License: MIT Group: Development/Libraries/C and C++ Url: https://nghttp2.org/ - #Git-Clone: git://github.com/tatsuhiro-t/nghttp2 Source: https://github.com/tatsuhiro-t/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz BuildRequires: boost-devel BuildRequires: gcc-c++ BuildRequires: pkg-config +BuildRequires: python-Cython BuildRequires: python-Sphinx BuildRequires: pkgconfig(cunit) BuildRequires: pkgconfig(jansson) @@ -48,24 +50,31 @@ We have also developed load test and benchmarking tool for HTTP/2 and SPDY. HPACK encoder and decoder are available as public API. -%package -n lib%{name}-5 +%package -n %{lib_name} Summary: Shared library for %{name} Group: System/Libraries -%description -n lib%{name}-5 +%description -n %{lib_name} Shared C libraries for implementation of Hypertext Transfer Protocol version 2 -%package -n lib%{name}_asio0 +%package -n %{lib_name_asio} Summary: Shared library for %{name} Group: System/Libraries -%description -n lib%{name}_asio0 +%description -n %{lib_name_asio} Shared librarios for asynchronous implementation of Hypertext Transfer Protocol version 2 +%package -n python-%{name} +Summary: Python bindings for %{name} +Group: Development/Libraries/Python + +%description -n python-%{name} +Python bindings for implementation of Hypertext Transfer Protocol version 2 + %package -n lib%{name}-devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: lib%{name}-5 = %{version} +Requires: %{lib_name} = %{version} Provides: %{name}-devel %description -n lib%{name}-devel @@ -75,7 +84,7 @@ Transfer Protocol version 2. %package -n lib%{name}_asio-devel Summary: Development files for %{name} Group: Development/Languages/C and C++ -Requires: lib%{name}_asio0 = %{version} +Requires: %{lib_name_asio} = %{version} %description -n lib%{name}_asio-devel Development files for usage with lib%{name}_aio, which implements asynchronous @@ -95,6 +104,7 @@ server and proxy. %build %configure \ --enable-asio-lib \ + --enable-python-bindings \ --disable-static make %{?_smp_mflags} all html @@ -103,34 +113,38 @@ make %{?_smp_mflags} check %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -rm -f "%{buildroot}/%{_libdir}"/*.la +find %{buildroot} -type f -name "*.la" -delete -print # none of applications using these man pages is built rm -rf %{buildroot}%{_mandir}/man1/* rm -rf doc/manual/html/.buildinfo -%post -n lib%{name}-5 -p /sbin/ldconfig +%post -n %{lib_name} -p /sbin/ldconfig -%post -n lib%{name}_asio0 -p /sbin/ldconfig +%post -n %{lib_name_asio} -p /sbin/ldconfig -%postun -n lib%{name}-5 -p /sbin/ldconfig +%postun -n %{lib_name} -p /sbin/ldconfig -%postun -n lib%{name}_asio0 -p /sbin/ldconfig +%postun -n %{lib_name_asio} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/deflatehd %{_bindir}/inflatehd -%files -n lib%{name}-5 +%files -n %{lib_name} %defattr(-,root,root) %doc COPYING %{_libdir}/lib%{name}.so.* -%files -n lib%{name}_asio0 +%files -n %{lib_name_asio} %defattr(-,root,root) %doc COPYING %{_libdir}/lib%{name}_asio.so.* +%files -n python-%{name} +%defattr(-,root,root) +%{python_sitearch}/* + %files -n lib%{name}-devel %defattr(-,root,root) %doc ChangeLog @@ -144,6 +158,8 @@ rm -rf doc/manual/html/.buildinfo %defattr(-,root,root) %dir %{_includedir}/%{name} %{_includedir}/%{name}/asio_http2.h +%{_includedir}/nghttp2/asio_http2_client.h +%{_includedir}/nghttp2/asio_http2_server.h %{_libdir}/lib%{name}_asio.so %{_libdir}/pkgconfig/lib%{name}_asio.pc