mod_http2/mod_http2.spec

113 lines
2.7 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:04:44 -04:00
%{!?_httpd_mmn: %global _httpd_mmn %(cat %{_includedir}/httpd/.mmn 2>/dev/null || echo 0-0)}
Name: mod_http2
2023-12-26 11:33:57 +08:00
Version: 2.0.25
2022-11-10 08:26:27 +00:00
Release: 1
2019-09-30 11:04:44 -04:00
Summary: Support for the HTTP/2 transport layer
License: ASL 2.0
URL: https://icing.github.io/mod_h2/
Source0: https://github.com/icing/mod_h2/releases/download/v%{version}/%{name}-%{version}.tar.gz
2022-11-10 08:26:27 +00:00
2023-02-20 15:47:52 +08:00
BuildRequires: make gcc pkgconfig httpd-devel >= 2.4.20 libnghttp2-devel >= 1.7.0 openssl-devel >= 1.0.2 autoconf libtool hostname
2019-09-30 11:04:44 -04:00
Requires: httpd-mmn = %{_httpd_mmn}
%description
The mod_h2 Apache httpd module implements the HTTP2 protocol (h2+h2c) on
top of libnghttp2 for httpd 2.4 servers.
2019-09-30 11:04:44 -04:00
%package_help
%prep
2023-02-20 15:47:52 +08:00
%autosetup -p1
2019-09-30 11:04:44 -04:00
%build
2021-12-04 11:32:32 +08:00
autoreconf -i
%configure --with-apxs=%{_httpd_apxs}
%make_build
2019-09-30 11:04:44 -04:00
%install
%make_install
mkdir -p %{buildroot}%{_httpd_modconfdir}
echo "LoadModule http2_module modules/mod_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-h2.conf
echo "LoadModule proxy_http2_module modules/mod_proxy_http2.so" > %{buildroot}%{_httpd_modconfdir}/10-proxy_h2.conf
%check
make check
%files
%defattr(-,root,root)
%doc AUTHORS
%license LICENSE
%{_httpd_moddir}/*.so
%config(noreplace) %{_httpd_modconfdir}/*.conf
%files help
%defattr(-,root,root)
%doc ChangeLog README README.md
%exclude /etc/httpd/share/doc/*
%changelog
2023-12-26 11:33:57 +08:00
* Tue Dec 26 2023 gaihuiying <eaglegai@163.com> - 2.0.25-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC: update mod_http2 to 2.0.25
2023-07-21 16:45:41 +08:00
* Fri Jul 21 2023 gaihuiying <eaglegai@163.com> - 2.0.20-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC: update mod_http2 to 2.0.20
2023-02-20 15:47:52 +08:00
* Mon Feb 20 2023 li-long315 <lilong@kylinos.cn> - 2.0.11-1
- Type:Update
- ID:NA
- SUG:NA
- DESC: update mod_http2 to 2.0.11
2022-11-10 08:26:27 +00:00
* Thu Nov 10 2022 gaihuiying <eaglegai@163.com> - 2.0.3-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC: update mod_http2 to 2.0.3
* Wed Oct 19 2022 gaihuiying <eaglegai@163.com> - 1.15.25-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:modify description about mod_http2
2021-12-04 11:32:32 +08:00
* Sat Mar 19 2022 quanhongfei <quanhongfei@h-partners.com> - 1.15.25-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update mod_http2 to 1.15.25
2021-01-27 16:28:23 +08:00
* Wed Jan 27 2021 xihaochen <xihaochen@huawei.com> - 1.15.16-1
- Type:requirements
- ID:NA
- SUG:NA
- DESC: update mod_http2 to 1.15.16
2020-07-17 14:51:02 +08:00
* Fri Jul 17 2020 cuibaobao <cuibaobao1@huawei.com> - 1.15.13-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update mod_http2 to 1.15.13-2
2020-06-23 17:07:02 +08:00
* Tue Jun 23 2020 gaihuiying <gaihuiying1@huawei.com> - 1.15.11-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update mod_http2 to 1.15.11-1
2019-09-30 11:04:44 -04:00
* Thu Sep 05 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.10.20-4
- Type:enhance
- ID:NA
- SUG:NA
- DESC:new rule
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.10.20-3
- Package init