Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37038695
en ru br
ALT Linux repos
S:2.0.21-alt1

Group :: System/Servers
RPM: apache2-mod_http2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: apache2-mod_http2
Version: 2.0.21
Release: alt1
Summary: module implementing HTTP/2 for Apache 2
Group: System/Servers
License: Apache-2.0
URL: https://icing.github.io/mod_h2/
Source0: %name-%version.tar
Source1: %name.watch
Patch0: %name-%version-alt.patch
BuildRequires(pre): apache2-devel > 2.4.27-alt1
BuildRequires: pkgconfig, libnghttp2-devel >= 1.7.0, libssl-devel >= 1.0.2, libaprutil1-devel, libcurl-devel
Provides: mod_h2 = %EVR
Provides: mod_http2 = %EVR
Provides: apache2-mod_h2 = %EVR

%description
The mod_h2 Apache httpd module implements the HTTP2 protocol (h2+h2c) on
top of libnghttp2 for httpd 2.4 servers.

%prep
%setup -q
%patch0 -p1

%build
%autoreconf -fisv
%configure
%make

%install
make DESTDIR=%{buildroot} install
rm -rf %buildroot/etc/httpd/share/doc/

# create configuration

mkdir -p %buildroot%apache2_mods_available
echo "LoadModule http2_module modules/mod_http2.so" > %buildroot%apache2_mods_available/%name.load
echo "LoadModule proxy_http2_module modules/mod_proxy_http2.so" > %buildroot%apache2_mods_available/mod_proxy_http2.load

%files
%doc README README.md ChangeLog AUTHORS LICENSE
%apache2_mods_available/*.load
%apache2_moduledir/mod_http2.so
%apache2_moduledir/mod_proxy_http2.so

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin