Author: glen Date: Fri Nov 4 00:04:20 2005 GMT Module: SPECS Tag: DEVEL ---- Log message: - merge mythweb from HEAD
---- Files affected: SPECS: mythplugins.spec (1.12.2.3 -> 1.12.2.4) ---- Diffs: ================================================================ Index: SPECS/mythplugins.spec diff -u SPECS/mythplugins.spec:1.12.2.3 SPECS/mythplugins.spec:1.12.2.4 --- SPECS/mythplugins.spec:1.12.2.3 Fri Nov 4 01:00:16 2005 +++ SPECS/mythplugins.spec Fri Nov 4 01:04:14 2005 @@ -16,10 +16,12 @@ #Source0: http://www.mythtv.org/mc/%{name}-%{version}.tar.bz2 Source0: %{name}-%{_snap}.tar.bz2 # Source0-md5: 021633295bdcc34f31580239cb0b1074 +Source1: mythweb.conf Patch0: %{name}-configure.patch Patch1: %{name}-libversion.patch Patch2: %{name}-lib64.patch Patch3: %{name}-paths.patch +Patch4: mythweb-config.patch URL: http://www.mythtv.org/ %if %{with binary} BuildRequires: OpenGL-devel @@ -212,14 +214,29 @@ Messengerem oraz dostawcami usług SIP, takimi jak Free World Dialup (fwd.pulver.com). +%package -n mythweb +Summary: The web interface to MythTV +Summary(pl): Interfejs WWW do MythTV +Group: Applications/Multimedia +Requires: apache >= 1.3.33-2 +Requires: php >= 3:4.2.2 +Requires: php-mysql >= 3:4.2.2 + +%description -n mythweb +The web interface to MythTV. + +%description -n mythweb -l pl +Interfejs WWW do MythTV. + %prep %setup -q %{?_snap:-n %{name}} -#%patch0 -p1 -#%patch1 -p1 +%patch0 -p1 +%patch1 -p1 %if %{_lib} != "lib" %patch2 -p1 %endif %patch3 -p1 +%patch4 -p1 %if %{with binary} # include mythtv build settings @@ -279,9 +296,33 @@ cp -a mythgame/gamelist.xml $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC %endif +# mythweb +install -d $RPM_BUILD_ROOT{%{_sysconfdir}/mythweb,%{_datadir}/mythweb/languages,/var/cache/mythweb/{image_cache,php_sessions}} +# trash +rm -f mythweb/themes/compact.tar.bz2 +cp -a mythweb/*.{html,php} $RPM_BUILD_ROOT%{_datadir}/mythweb +cp -a mythweb/languages/*.php $RPM_BUILD_ROOT%{_datadir}/mythweb/languages +cp -a mythweb/{images,includes,js,themes,vxml} $RPM_BUILD_ROOT%{_datadir}/mythweb +cp -a mythweb/{images,includes,js,languages,themes,vxml} $RPM_BUILD_ROOT%{_datadir}/mythweb +cp -a mythweb/config/* $RPM_BUILD_ROOT%{_sysconfdir}/mythweb +install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/mythweb/apache.conf +touch $RPM_BUILD_ROOT%{_sysconfdir}/mythweb/htpasswd + %clean rm -rf $RPM_BUILD_ROOT +%triggerin -n mythweb -- apache1 >= 1.3.33-2 +%apache_config_install -v 1 -c %{_sysconfdir}/mythweb/apache.conf + +%triggerun -n mythweb -- apache1 >= 1.3.33-2 +%apache_config_uninstall -v 1 + +%triggerin -n mythweb -- apache >= 2.0.0 +%apache_config_install -v 2 -c %{_sysconfdir}/mythweb/apache.conf + +%triggerun -n mythweb -- apache >= 2.0.0 +%apache_config_uninstall -v 2 + %files %defattr(644,root,root,755) @@ -441,12 +482,28 @@ %{_datadir}/mythtv/themes/default/phone.png %{_datadir}/mythtv/i18n/mythphone_*.qm +%files -n mythweb +%defattr(644,root,root,755) +%doc mythweb/{README,TODO} mythweb/languages/*.{pl,txt} +%attr(750,root,http) %dir %{_sysconfdir}/mythweb +%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mythweb/apache.conf +%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mythweb/*.php +%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mythweb/*.dat +%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mythweb/htpasswd +%{_datadir}/mythweb +%dir /var/cache/mythweb +%dir %attr(771,root,http) /var/cache/mythweb/image_cache +%dir %attr(771,root,http) /var/cache/mythweb/php_sessions + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.12.2.4 2005/11/04 00:04:14 glen +- merge mythweb from HEAD + Revision 1.12.2.3 2005/11/04 00:00:16 glen - 20051104 snap - partial with binary bcond @@ -456,6 +513,15 @@ Revision 1.12.2.1 2005/10/22 15:33:36 glen - try building against snap of mythtv + +Revision 1.15 2005/10/25 22:16:05 glen +- typo + +Revision 1.14 2005/10/25 21:40:34 qboosh +- pl for mythweb + +Revision 1.13 2005/10/25 21:23:30 glen +- added mythweb package Revision 1.12 2005/10/19 22:09:24 glen - fix build ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/mythplugins.spec?r1=1.12.2.3&r2=1.12.2.4&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
