Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Kamil Dudka | 13968119ad | |
Kamil Dudka | 03b2e179a6 |
28
nghttp2.spec
28
nghttp2.spec
|
@ -1,21 +1,19 @@
|
|||
Summary: Experimental HTTP/2 client, server and proxy
|
||||
Summary: Meta-package that only requires libnghttp2
|
||||
Name: nghttp2
|
||||
Version: 1.6.0
|
||||
Release: 1%{?dist}
|
||||
Release: 1%{?dist}.2
|
||||
License: MIT
|
||||
Group: Applications/Internet
|
||||
URL: https://nghttp2.org/
|
||||
Source0: https://github.com/tatsuhiro-t/nghttp2/releases/download/v%{version}/nghttp2-%{version}.tar.xz
|
||||
|
||||
BuildRequires: CUnit-devel
|
||||
BuildRequires: libev-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Requires: libnghttp2%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This package contains the HTTP/2 client, server and proxy programs.
|
||||
This package installs no files. It only requires the libnghttp2 package.
|
||||
|
||||
|
||||
%package -n libnghttp2
|
||||
|
@ -44,6 +42,7 @@ for building applications with libnghttp2.
|
|||
|
||||
%build
|
||||
%configure \
|
||||
--disable-app \
|
||||
--disable-python-bindings \
|
||||
--disable-static \
|
||||
--without-libxml2 \
|
||||
|
@ -66,6 +65,10 @@ rm -f "$RPM_BUILD_ROOT%{_libdir}/libnghttp2.la"
|
|||
# will be installed via %%doc
|
||||
rm -f "$RPM_BUILD_ROOT%{_datadir}/doc/nghttp2/README.rst"
|
||||
|
||||
# do not install man pages and helper scripts for tools that are not available
|
||||
rm -fr "$RPM_BUILD_ROOT%{_datadir}/nghttp2"
|
||||
rm -fr "$RPM_BUILD_ROOT%{_mandir}/man1"
|
||||
|
||||
%post -n libnghttp2 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libnghttp2 -p /sbin/ldconfig
|
||||
|
@ -78,15 +81,6 @@ make %{?_smp_mflags} check
|
|||
|
||||
|
||||
%files
|
||||
%{_bindir}/h2load
|
||||
%{_bindir}/nghttp
|
||||
%{_bindir}/nghttpd
|
||||
%{_bindir}/nghttpx
|
||||
%{_datadir}/nghttp2
|
||||
%{_mandir}/man1/h2load.1*
|
||||
%{_mandir}/man1/nghttp.1*
|
||||
%{_mandir}/man1/nghttpd.1*
|
||||
%{_mandir}/man1/nghttpx.1*
|
||||
|
||||
%files -n libnghttp2
|
||||
%{_libdir}/libnghttp2.so.*
|
||||
|
@ -101,6 +95,12 @@ make %{?_smp_mflags} check
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 27 2016 Kamil Dudka <kdudka@redhat.com> 1.6.0-1.el6.2
|
||||
- make the package build on Fedora when libev-devel is installed
|
||||
|
||||
* Mon Jan 04 2016 Kamil Dudka <kdudka@redhat.com> 1.6.0-1.el6.1
|
||||
- make the package build on RHEL-6 (libnghttp2 only)
|
||||
|
||||
* Fri Dec 25 2015 Kamil Dudka <kdudka@redhat.com> 1.6.0-1
|
||||
- update to the latest upstream release (fixes CVE-2015-8659)
|
||||
|
||||
|
|
Loading…
Reference in New Issue