Summary: Apache module to send files efficiently Name: mod_xsendfile Version: 0.12 Release: 20%{?dist} License: ASL 2.0 URL: https://tn123.org/%{name}/ Source0: https://tn123.org/%{name}/%{name}-%{version}.tar.bz2 Source1: xsendfile.conf BuildRequires: gcc BuildRequires: httpd-devel Requires: httpd-mmn = %{_httpd_mmn} %description %{name} is a small Apache2 module that processes X-SENDFILE headers registered by the original output handler. If it encounters the presence of such header it will discard all output and send the file specified by that header instead using Apache internals including all optimizations like caching-headers and sendfile or mmap if configured. It is useful for processing script-output of e.g. php, perl or any cgi. %prep %setup -q %build %{_httpd_apxs} -c %{name}.c %install rm -rf $%{buildroot} mkdir -p %{buildroot}/%{_httpd_moddir} %{_httpd_apxs} -i -S LIBEXECDIR=%{buildroot}/%{_httpd_moddir} -n %{name} %{name}.la mkdir -p %{buildroot}/%{_httpd_modconfdir} cp -p %SOURCE1 %{buildroot}/%{_httpd_modconfdir} %files %doc docs/* %config(noreplace) %{_httpd_modconfdir}/xsendfile.conf %{_httpd_moddir}/%{name}.so %changelog * Wed Jan 29 2020 Fedora Release Engineering - 0.12-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.12-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.12-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.12-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.12-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.12-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.12-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.12-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Mar 27 2012 Orion Poplawski 0.12-5 - Rebuild for httpd 2.4, update for new module guidelines * Fri Jan 13 2012 Fedora Release Engineering - 0.12-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Apr 25 2011 Orion Poplawski 0.12-3 - Fix license tag * Wed Dec 1 2010 Orion Poplawski 0.12-2 - Upstream fixed tar ball packaging * Mon Oct 25 2010 Orion Poplawski 0.12-1 - Initial package