%define apache_libexecdir %(apxs -q LIBEXECDIR) Name: apache2-mod_xforward Version: 0.6 Release: lp151.1.2 Summary: Apache module implementing handling of X-FORWARD headers License: Apache-2.0 Url: https://www.gitorious.org/opensuse/apache2-mod_xforward Source: %{name}-%{version}.tar.bz2 BuildRequires: httpd-devel Requires: httpd %description The xforward module implements internal redirection based on X-Forward response header. When this header is seen by Apache it uses the apache mod_proxy module to proxy the given URL. %prep %setup -n %{name} %build apxs -c mod_xforward.c %install mkdir -p $RPM_BUILD_ROOT/%{apache_libexecdir} cp -p .libs/mod_xforward.so $RPM_BUILD_ROOT/%{apache_libexecdir} %files %defattr(-,root,root) %{apache_libexecdir}/*.so %changelog * Mon Mar 2 2020 openEuler Buildteam - 0.6-lp151.1.2 - Package init