packages: mythplugins/mythplugins.spec - added mythweb lighttpd config and...
w.kier
w.kier at pld-linux.org
Fri May 14 13:59:24 CEST 2010
Author: w.kier Date: Fri May 14 11:59:24 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added mythweb lighttpd config and few tips
---- Files affected:
packages/mythplugins:
mythplugins.spec (1.55 -> 1.56)
---- Diffs:
================================================================
Index: packages/mythplugins/mythplugins.spec
diff -u packages/mythplugins/mythplugins.spec:1.55 packages/mythplugins/mythplugins.spec:1.56
--- packages/mythplugins/mythplugins.spec:1.55 Fri May 14 10:41:49 2010
+++ packages/mythplugins/mythplugins.spec Fri May 14 13:59:18 2010
@@ -40,12 +40,15 @@
Name: mythplugins
Version: 0.23
#Release: fix%{fix}.1
-Release: 0.1
+Release: 0.2
License: GPL v2
Group: Applications/Multimedia
Source0: ftp://ftp.osuosl.org/pub/mythtv/%{name}-%{version}.tar.bz2
# Source0-md5: be44db841f9e03d0d17ab449545b38aa
Source1: mythweb.conf
+Source2: mythweb_lighttpd.conf
+Source3: htdigest.sh
+Source4: http_servers_conf_tips.txt
#Patch0: %{name}-lib64.patch
#Patch1: %{name}-paths.patch
Patch2: mythweb-chdir.patch
@@ -407,14 +410,22 @@
%if %{with mythweb}
cd mythweb
+cp -a %{SOURCE3} ./
+cp -a %{SOURCE4} ./
install -d $RPM_BUILD_ROOT%{_datadir}/mythweb
install -d $RPM_BUILD_ROOT/var/cache/mythweb/{image_cache,php_sessions,tv_icons}
install -d $RPM_BUILD_ROOT%{_webapps}/%{_webapp}
+install -d $RPM_BUILD_ROOT/etc/lighthttpd/webapps.d
+#install -d $RPM_BUILD_ROOT%{_docdir}/mythweb-%{version}
cp -a *.php *.pl classes configuration includes js modules skins $RPM_BUILD_ROOT%{_datadir}/mythweb
ln -sf /var/cache/mythweb $RPM_BUILD_ROOT%{_datadir}/data
install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
install %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/lighthttpd/webapps.d/mythweb.conf
+#install %{SOURCE3} $RPM_BUILD_ROOT%{_docdir}/mythweb-%{version}/htdigest.sh
+#install %{SOURCE4} $RPM_BUILD_ROOT%{_docdir}/mythweb-%{version}/http_servers_conf_tips.txt
touch $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/htpasswd
+touch $RPM_BUILD_ROOT%{_datadir}/mythweb/htdigest
cd -
%endif
@@ -475,6 +486,10 @@
%service -q httpd reload
fi
+%post -n mythweb
+echo "Read %{_docdir}/mythweb-%{version}/http_servers_conf_tips.txt.gz to find
+which packages you can need to run mythweb and how to set it quickly."
+
%files
%defattr(644,root,root,755)
@@ -654,6 +669,9 @@
%files -n mythweb
%defattr(644,root,root,755)
%doc mythweb/README mythweb/mythweb.conf.lighttpd
+%doc mythweb/htdigest.sh
+%doc mythweb/http_servers_conf_tips.txt
+
#%doc mythweb/data/htaccess
%dir %attr(750,root,http) %{_webapps}/%{_webapp}
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
@@ -661,6 +679,7 @@
#%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*.php
#%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*.dat
%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/htpasswd
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/lighthttpd/webapps.d/mythweb.conf
%{_datadir}/mythweb
%dir %attr(771,root,http) /var/cache/mythweb
%dir %attr(771,root,http) /var/cache/mythweb/image_cache
@@ -729,6 +748,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.56 2010/05/14 11:59:18 w.kier
+- added mythweb lighttpd config and few tips
+
Revision 1.55 2010/05/14 08:41:49 w.kier
- mythmusic descriptions
- added require to mythnetvision
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mythplugins/mythplugins.spec?r1=1.55&r2=1.56&f=u
More information about the pld-cvs-commit
mailing list