From: Elan Ruusamäe Date: Sun, 6 Dec 2015 11:03:27 +0000 (+0200) Subject: add bcond for mod_h264_streaming X-Git-Tag: auto/ac/lighttpd-1.4.38-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flighttpd.git;a=commitdiff_plain;h=ef46c98 add bcond for mod_h264_streaming disable it, as it doesn't build now --- diff --git a/lighttpd.spec b/lighttpd.spec index bb30c24..e2b251d 100644 --- a/lighttpd.spec +++ b/lighttpd.spec @@ -21,6 +21,7 @@ %bcond_with webdav_locks # webdav locks with extra efsprogs deps %bcond_with valgrind # compile code with valgrind support. %bcond_with deflate # build deflate module (needs patch update with current svn) +%bcond_with h264_streaming # build h264_streaming module %if %{with webdav_locks} %define webdav_progs 1 @@ -838,7 +839,7 @@ Plik monitrc do monitorowania serwera www lighttpd. #%patch100 -p0 %patch0 -p1 %patch1 -p1 -%patch2 -p1 +%{?with_h264_streaming:%patch2 -p1} %patch3 -p1 %{?with_deflate:%patch5 -p1} %patch6 -p1 @@ -940,7 +941,9 @@ cp -p %{SOURCE109} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evasive.conf cp -p %{SOURCE110} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_evhost.conf cp -p %{SOURCE112} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_fastcgi.conf cp -p %{SOURCE113} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_flv_streaming.conf +%if %{with h264_streaming} cp -p %{SOURCE136} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_h264_streaming.conf +%endif cp -p %{SOURCE114} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_indexfile.conf cp -p %{SOURCE115} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_proxy.conf cp -p %{SOURCE118} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/50_mod_rrdtool.conf @@ -1232,10 +1235,12 @@ fi %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_flv_streaming.conf %attr(755,root,root) %{_libdir}/mod_flv_streaming.so +%if %{with h264_streaming} %files mod_h264_streaming %defattr(644,root,root,755) %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*mod_h264_streaming.conf %attr(755,root,root) %{_libdir}/mod_h264_streaming.so +%endif %files mod_indexfile %defattr(644,root,root,755)