SPECS: mythtv.spec - database schema moved to setup package - %ban...

glen glen at pld-linux.org
Sun Sep 4 13:45:05 CEST 2005


Author: glen                         Date: Sun Sep  4 11:45:05 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- database schema moved to setup package
- %banner for db schema setup

---- Files affected:
SPECS:
   mythtv.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/mythtv.spec
diff -u SPECS/mythtv.spec:1.20 SPECS/mythtv.spec:1.21
--- SPECS/mythtv.spec:1.20	Sun Sep  4 13:04:19 2005
+++ SPECS/mythtv.spec	Sun Sep  4 13:44:59 2005
@@ -23,7 +23,7 @@
 Name:		mythtv
 Version:	0.18.1
 #define _snap 20050326
-Release:	0.3
+Release:	0.5
 License:	GPL v2
 Group:		Applications/Multimedia
 Source0:	http://www.mythtv.org/mc/%{name}-%{version}.tar.bz2
@@ -242,6 +242,8 @@
 %patch2 -p1
 %patch3 -p1
 
+rm -rf database/old # not supported in PLD
+
 %build
 %if %{with cpu_autodetect}
 # Make sure we have /proc mounted
@@ -369,10 +371,18 @@
 %post	-n libmyth -p /sbin/ldconfig
 %postun	-n libmyth -p /sbin/ldconfig
 
+%post setup
+#if [ "$1" = 1 ]; then
+%banner -e %{name}-setup <<EOF
+To grant mysql permissions to mythtv, please run
+zcat %{_docdir}/%{name}-setup-%{version}/database/mc.sql.gz | mysql
+EOF
+#fi
+
 %files
 %defattr(644,root,root,755)
 %doc README* UPGRADING AUTHORS COPYING FAQ
-%doc database keys.txt
+%doc keys.txt
 %doc docs contrib configfiles
 
 %files backend
@@ -408,6 +418,7 @@
 
 %files setup
 %defattr(644,root,root,755)
+%doc database
 %attr(755,root,root) %{_bindir}/mythtv-setup
 
 %files themes
@@ -435,6 +446,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2005/09/04 11:44:59  glen
+- database schema moved to setup package
+- %banner for db schema setup
+
 Revision 1.20  2005/09/04 11:04:19  qboosh
 - more general lib64 if
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mythtv.spec?r1=1.20&r2=1.21&f=u




More information about the pld-cvs-commit mailing list