Ticket #9452: 9452-build_myth_sh-mythtv_spec.patch
File 9452-build_myth_sh-mythtv_spec.patch, 24.4 KB (added by , 13 years ago) |
---|
-
rpm/build_myth.sh
From 7081f2da6dedbd2a4a08fa112861aaa57ee8a45e Mon Sep 17 00:00:00 2001 From: David Knight <dlknight@sdf.lonestar.org> Date: Thu, 6 Jan 2011 23:06:28 +0000 Subject: [PATCH] Update of build_myth.sh and mythtv.spec for move to github see ticket #9452 --- rpm/build_myth.sh | 175 ++++++++++++++++++++++++++++------------------------- rpm/mythtv.spec | 176 +++++++++++++++++++++++------------------------------ 2 files changed, 170 insertions(+), 181 deletions(-) diff --git a/rpm/build_myth.sh b/rpm/build_myth.sh index b7e9134..9cf8a71 100755
a b 5 5 # 6 6 # by: Chris Petersen <rpm@forevermore.net> 7 7 # 8 # The latest version of this file can be found in mythtv svn:8 # The latest version of this file can be found in mythtv git repository: 9 9 # 10 # http ://svn.mythtv.org/svn/trunk/packaging/rpm/build_myth.sh $10 # https://github.com/MythTV/packaging/tree/fixes/0.24/rpm/build_myth.sh 11 11 # 12 12 # See --help for usage instructions. 13 13 # … … 28 28 # Hard-code the version of MythTV 29 29 VERSION="0.24" 30 30 31 # Branch should be " trunk" or "stable"32 BRANCH=" trunk"31 # Branch should be "master" or "stable" 32 BRANCH="master" 33 33 34 # Hard-code the svn checkoutdirectory. Leave blank to auto-detect based on34 # Hard-code the git clone directory. Leave blank to auto-detect based on 35 35 # the location of this script 36 SVNDIR=""36 GITDIR="" 37 37 38 38 ############################################################################### 39 39 # Functions to be used by the program … … $PROG --revision REVISION 66 66 EOF 67 67 } 68 68 69 # Update to the latest/requested SVN version70 function updatesvn {71 PKG="$1"72 REV="$2"73 if [ -z "$REV" -o 0"$REV" -lt 1 ]; then74 echo "Updating svn checkout for $PKG"75 REL=`svn up "$SVNDIR"/"$PKG" 2>/dev/null`76 else77 echo "Updating svn checkout for $PKG to r$REV"78 REL=`svn up -r "$REV" "$SVNDIR"/"$PKG" 2>/dev/null`79 fi80 if [ $? != 0 ]; then81 echo "Problem updating svn checkout"82 return $?83 fi84 REL=`echo "$REL" | grep -i revision | sed -e 's/[^0-9]\\+//g'`85 echo "Updated to SVN Revision $REL"86 }87 88 69 # Update the requested spec to the requested revision/branch/version 89 70 function updatespec { 90 71 R="$1" 91 72 SPEC="$2" 92 echo "Updating $SPEC _ svnver to r$R"73 echo "Updating $SPEC _gitver to r$R" 93 74 sed -i \ 94 -e "s,define _ svnrev .\+,define _svnrev r$R," \75 -e "s,define _gitrev .\+,define _svnrev r$R," \ 95 76 -e "s,define branch .\+,define branch $BRANCH," \ 96 77 -e "s,Version:.\+,Version: $VERSION," \ 97 78 $SPEC … … EOF 99 80 100 81 # Function to build mythtv packages 101 82 function buildmyth { 102 # Update the SVN checkout103 updatesvn mythtv "$1"104 updatesvn mythplugins "$1"105 83 # Remove the existing mythtv-devel so it doesn't confuse qmake 106 84 # (we can't override the order of the include file path) 107 85 PKG=`rpm -q mythtv-devel` … … EOF 109 87 echo "Removing existing mythtv-devel package to avoid conflicts" 110 88 sudo rpm -e mythtv-devel.i386 mythtv-devel.x86_64 2>/dev/null 111 89 fi 112 # Update the spec113 updatespec $REL "$ABSPATH/mythtv.spec"114 90 # Clean up any old tarballs that might exist 115 91 rm -f "$ABSPATH"/mythtv/myth*.tar.bz2 116 92 # Create the appropriate tarballs 117 echo "Creating tarballs from svn checkout at $SVNDIR" 118 cd "$SVNDIR" 93 echo "Creating tarballs from git clones at $GITDIR" 119 94 for file in mythtv mythplugins; do 120 if [ -d "$file-$VERSION" ]; then 121 rm -rf "$file-$VERSION" 122 fi 123 echo -n " " 124 mv "$file" "$file-$VERSION" 125 tar jcf "$ABSPATH/mythtv/$file-$VERSION.tar.bz2" --exclude .svn "$file-$VERSION" 126 mv "$file-$VERSION" "$file" 127 echo "$ABSPATH/mythtv/$file-$VERSION.tar.bz2" 95 git archive --format tar --remote "$GITDIR"/ HEAD "$file"/ | bzip2 > "$ABSPATH/mythtv/$file-$GITVER.tar.bz2" 96 echo "$ABSPATH/mythtv/$file-$GITVER.tar.bz2" 128 97 done 129 98 # Build MythTV 130 rpmbuild -bb "$ABSPATH"/mythtv.spec \99 time rpmbuild -bb "$ABSPATH"/mythtv.spec \ 131 100 --define "_sourcedir $ABSPATH/mythtv" \ 132 101 --with debug \ 133 102 --without mytharchive \ … … EOF 141 110 return 142 111 fi 143 112 # Install 144 echo -n "Install r$REL? [n] "113 echo -n "Install $VSTRING? [n] " 145 114 read INST 146 115 if [ "$INST" = "y" -o "$INST" = "Y" -o "$INST" = "yes" ]; then 147 installmyth "$ REL"116 installmyth "$VSTRING" 148 117 else 149 echo "If you wish to install later, just run: $PROG --install \"$ REL\""118 echo "If you wish to install later, just run: $PROG --install \"$VSTRING\"" 150 119 fi 151 120 } 152 121 … … EOF 160 129 rm -f "$ABSPATH"/mythtv-themes/*themes*.tar.bz2 161 130 # Create the appropriate tarballs 162 131 for file in myththemes themes; do 163 if [ -d "$file-$ VERSION" ]; then164 rm -rf "$file-$ VERSION"132 if [ -d "$file-$GITVER" ]; then 133 rm -rf "$file-$GITVER" 165 134 fi 166 135 echo -n " " 167 mv "$file" "$file-$ VERSION"168 tar jcf "$ABSPATH/mythtv-themes/$file-$ VERSION.tar.bz2" --exclude .svn "$file-$VERSION"169 mv "$file-$ VERSION" "$file"170 echo "$ABSPATH/mythtv-themes/$file-$ VERSION.tar.bz2"136 mv "$file" "$file-$GITVER" 137 tar jcf "$ABSPATH/mythtv-themes/$file-$GITVER.tar.bz2" --exclude .svn "$file-$GITVER" 138 mv "$file-$GITVER" "$file" 139 echo "$ABSPATH/mythtv-themes/$file-$GITVER.tar.bz2" 171 140 done 172 141 # Disabled until I can clean this up later -- themes now require mythtv-libs in 173 142 # order to compile. … … EOF 183 152 184 153 # A function to install mythtv packages 185 154 function installmyth { 186 REL="$1"187 155 sudo rpm -Uvh --force --nodeps \ 188 /usr/src/redhat/RPMS/x86_64/mythtv-docs-$ VERSION-0.1.svn.r$REL.*.rpm \189 /usr/src/redhat/RPMS/x86_64/mythtv-libs-$ VERSION-0.1.svn.r$REL.*.rpm \190 /usr/src/redhat/RPMS/x86_64/mythtv-devel-$ VERSION-0.1.svn.r$REL.*.rpm \191 /usr/src/redhat/RPMS/x86_64/mythtv-base-themes-$ VERSION-0.1.svn.r$REL.*.rpm \192 /usr/src/redhat/RPMS/x86_64/mythtv-frontend-$ VERSION-0.1.svn.r$REL.*.rpm \193 /usr/src/redhat/RPMS/x86_64/mythtv-backend-$ VERSION-0.1.svn.r$REL.*.rpm \194 /usr/src/redhat/RPMS/x86_64/mythtv-setup-$ VERSION-0.1.svn.r$REL.*.rpm \195 /usr/src/redhat/RPMS/x86_64/mythtv-common-$ VERSION-0.1.svn.r$REL.*.rpm \196 /usr/src/redhat/RPMS/x86_64/perl-MythTV-$ VERSION-0.1.svn.r$REL.*.rpm \197 /usr/src/redhat/RPMS/x86_64/python-MythTV-$ VERSION-0.1.svn.r$REL.*.rpm \198 /usr/src/redhat/RPMS/x86_64/mythmusic-$ VERSION-0.1.svn.r$REL.*.rpm \199 /usr/src/redhat/RPMS/x86_64/mythbrowser-$ VERSION-0.1.svn.r$REL.*.rpm \200 /usr/src/redhat/RPMS/x86_64/mythnetvision-$ VERSION-0.1.svn.r$REL.*.rpm \201 /usr/src/redhat/RPMS/x86_64/mythvideo-$ VERSION-0.1.svn.r$REL.*.rpm \202 /usr/src/redhat/RPMS/x86_64/mythweather-$ VERSION-0.1.svn.r$REL.*.rpm \203 /usr/src/redhat/RPMS/x86_64/mythtv-debuginfo-$ VERSION-0.1.svn.r$REL.*.rpm204 #/usr/src/redhat/RPMS/x86_64/mythtv-themes-$ VERSION-0.1.svn.r$REL.*.rpm \156 /usr/src/redhat/RPMS/x86_64/mythtv-docs-$GITVER-0.1.git.$GITREV.*.rpm \ 157 /usr/src/redhat/RPMS/x86_64/mythtv-libs-$GITVER-0.1.git.$GITREV.*.rpm \ 158 /usr/src/redhat/RPMS/x86_64/mythtv-devel-$GITVER-0.1.git.$GITREV.*.rpm \ 159 /usr/src/redhat/RPMS/x86_64/mythtv-base-themes-$GITVER-0.1.git.$GITREV.*.rpm \ 160 /usr/src/redhat/RPMS/x86_64/mythtv-frontend-$GITVER-0.1.git.$GITREV.*.rpm \ 161 /usr/src/redhat/RPMS/x86_64/mythtv-backend-$GITVER-0.1.git.$GITREV.*.rpm \ 162 /usr/src/redhat/RPMS/x86_64/mythtv-setup-$GITVER-0.1.git.$GITREV.*.rpm \ 163 /usr/src/redhat/RPMS/x86_64/mythtv-common-$GITVER-0.1.git.$GITREV.*.rpm \ 164 /usr/src/redhat/RPMS/x86_64/perl-MythTV-$GITVER-0.1.git.$GITREV.*.rpm \ 165 /usr/src/redhat/RPMS/x86_64/python-MythTV-$GITVER-0.1.git.$GITREV.*.rpm \ 166 /usr/src/redhat/RPMS/x86_64/mythmusic-$GITVER-0.1.git.$GITREV.*.rpm \ 167 /usr/src/redhat/RPMS/x86_64/mythbrowser-$GITVER-0.1.git.$GITREV.*.rpm \ 168 /usr/src/redhat/RPMS/x86_64/mythnetvision-$GITVER-0.1.git.$GITREV.*.rpm \ 169 /usr/src/redhat/RPMS/x86_64/mythvideo-$GITVER-0.1.git.$GITREV.*.rpm \ 170 /usr/src/redhat/RPMS/x86_64/mythweather-$GITVER-0.1.git.$GITREV.*.rpm \ 171 /usr/src/redhat/RPMS/x86_64/mythtv-debuginfo-$GITVER-0.1.git.$GITREV.*.rpm 172 #/usr/src/redhat/RPMS/x86_64/mythtv-themes-$GITVER-0.1.git.$GITREV.*.rpm \ 205 173 } 206 174 207 175 # And a function to install mythtv theme packages, since they need mythtv-libs … … EOF 236 204 done 237 205 238 206 # Auto-detect the source directory? 239 if [ -z "$SVNDIR" ]; then 240 SVNDIR=$(dirname $(dirname "$ABSPATH")) 241 elif [ ! -d "$SVNDIR" ]; then 242 echo "$SVNDIR does not exist. Please check out using:" 243 echo " svn co http://svn.mythtv.org/svn/trunk/ $SVNDIR" 207 if [ -z "$GITDIR" ]; then 208 GITDIR=$(dirname $(dirname "$ABSPATH"))/mythtv 209 fi 210 if [ ! -d "$GITDIR" ]; then 211 echo "$GITDIR does not exist. Please check out using:" 212 echo " git clone -b fixes/0.24 https://github.com/MythTV/mythtv" 244 213 exit 245 214 fi 246 215 … … EOF 264 233 REV="$1" 265 234 esac 266 235 267 # Sanity check 268 if [ `expr "$REV" : "[^0-9]"` -ne 0 ]; then 269 echo "Invalid revision: $REV" 236 # Make sure our git clone is up to date 237 echo "Fetching latest information from git repository." 238 cd "$GITDIR" 239 git fetch 240 git fetch --tags 241 242 # Get information about the latest/requested Git sha 243 if [[ $REV ]]; then 244 DESCRIBE=`git describe "$REV" -- 2>/dev/null` 245 else 246 DESCRIBE=`git describe -- 2>/dev/null` 247 fi 248 if [[ ! $DESCRIBE ]]; then 249 echo "Unknown/Invalid revision: $REV" 270 250 exit 271 251 fi 252 GITVER=`echo "$DESCRIBE" | sed -e 's,^\([^-]\+\)-.\+$,\1,'` 253 GITREV=`echo "$DESCRIBE" | sed -e 's,^[^-]\+-,,' -e 's,-,.,'` 254 # do some magic here to detect v, b, or pre notations 255 if [[ $GITVER =~ pre$ ]]; then 256 GITVER=${GITVER#v} 257 GITVER=${GITVER%pre} 258 elif [[ $GITVER =~ ^v ]]; then 259 GITVER=${GITVER#v} 260 GITREV=1 261 elif [[ $GITVER =~ ^b ]]; then 262 GITVER=0.$((${GITVER#b0.}+1)) 263 GITREV="0.$GITREV" 264 fi 265 VSTRING="$GITVER.$GITREV" 266 267 # Done doing that, now back to the working dir 268 cd - >/dev/null 272 269 273 270 # What to do now? 274 if [ -z "$REV"]; then275 echo "Building latest revision"271 if [[ ! $REV ]]; then 272 echo "Building $VSTRING (latest revision)" 276 273 else 277 echo "Building Revision: $REV"274 echo "Building $VSTRING" 278 275 fi 279 buildmyth "$REV" 276 277 # Update the revision in the specfile 278 echo "Updating mythtv.spec _gitver to $VSTRING" 279 sed -i \ 280 -e "s,define _gitrev .\+,define _gitrev $GITREV," \ 281 -e "s,define branch .\+,define branch $BRANCH," \ 282 -e "s,define vers_string .\+,define vers_string $DESCRIBE," \ 283 -e "s,Version:.\+,Version: $GITVER," \ 284 mythtv.spec 285 286 # Update the other spec files to the MythTV spec version 287 # later... 288 289 # Build MythTV 290 buildmyth 280 291 281 292 # Done 282 293 exit -
rpm/mythtv.spec
diff --git a/rpm/mythtv.spec b/rpm/mythtv.spec index 1dd2c72..a663cd1 100644
a b 1 1 # 2 # Specfile for building MythTV and MythPlugins RPMs from a subversioncheckout.2 # Specfile for building MythTV and MythPlugins RPMs from a git checkout. 3 3 # 4 4 # by: Chris Petersen <rpm@forevermore.net> 5 5 # Jarod Wilson <jarod@wilsonet.com> … … 11 11 # 12 12 # The latest canonical upstream version of this file can be found at: 13 13 # 14 # http ://svn.mythtv.org/svn/trunk/packaging/rpm/mythtv.spec14 # https://github.com/MythTV/packaging/tree/fixes/0.24/rpm 15 15 # 16 16 # The latest RPM Fusion version can be found at: 17 17 # … … 53 53 # --without mythvideo 54 54 # --without mythweather 55 55 # --without mythzoneminder 56 # --without mythweb57 56 # 58 57 59 58 ################################################################################ … … 64 63 # The vendor name we should attribute the aforementioned entries to 65 64 %define desktop_vendor xris 66 65 67 # SVN Revision number and branch ID 68 %define _svnrev r25992 69 %define branch trunk 66 # MythTV Version string -- preferably the output from git --describe 67 %define vers_string v0.24-93-g2f3a2f8 68 69 # Git Revision number and branch ID 70 %define _gitrev 1 71 %define branch master 70 72 71 73 # 72 74 # Basic descriptive tags for this package: … … Group: Applications/Multimedia 78 80 79 81 # Version/Release info 80 82 Version: 0.24 81 %if "%{branch}" == " trunk"82 Release: 0.1. svn.%{_svnrev}%{?dist}83 %if "%{branch}" == "master" 84 Release: 0.1.git.%{_gitrev}%{?dist} 83 85 %else 84 86 Release: 1%{?dist} 85 87 %endif … … License: GPLv2+ and LGPLv2+ and LGPLv2 and (GPLv2 or QPL) and (GPLv2+ or LGPLv2+ 120 122 %define with_mythnews %{?_without_mythnews: 0} %{!?_without_mythnews: 1} 121 123 %define with_mythvideo %{?_without_mythvideo: 0} %{!?_without_mythvideo: 1} 122 124 %define with_mythweather %{?_without_mythweather: 0} %{!?_without_mythweather: 1} 123 %define with_mythweb %{?_without_mythweb: 0} %{!?_without_mythweb: 1}124 125 %define with_mythzoneminder %{?_without_mythzoneminder: 0} %{!?_without_mythzoneminder: 1} 125 126 %define with_mythnetvision %{?_without_mythnetvision: 0} %{!?_without_mythnetvision: 1} 126 127 … … Source107: mythfrontend.desktop 137 138 Source108: mythtv-setup.png 138 139 Source109: mythtv-setup.desktop 139 140 Source110: mysql.txt 140 Source401: mythweb.conf141 141 142 142 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 143 143 … … This package contains components needed by multiple other MythTV components. 559 559 560 560 ################################################################################ 561 561 562 %package -n mythffmpeg 563 Summary: MythTV build of FFmpeg 564 Group: Applications/Multimedia 565 566 %description -n mythffmpeg 567 Several MythTV utilities interact with FFmpeg, which changes its parameters 568 often enough to make it a hassle to support the variety of versions used by 569 MythTV users. This is a snapshot of the FFmpeg code so that MythTV utilities 570 can interact with a known verion. 571 572 ################################################################################ 573 562 574 %if %{with_perl} 563 575 564 576 %package -n perl-MythTV … … Requires: mythnews = %{version}-%{release} 613 625 Requires: mythbrowser = %{version}-%{release} 614 626 Requires: mytharchive = %{version}-%{release} 615 627 Requires: mythzoneminder = %{version}-%{release} 616 Requires: mythweb = %{version}-%{release}617 628 Requires: mythnetvision = %{version}-%{release} 618 629 619 630 %description -n mythplugins … … A MythTV module that displays a weather forecast. 771 782 772 783 %endif 773 784 ################################################################################ 774 %if %{with_mythweb}775 776 %package -n mythweb777 Summary: The web interface to MythTV778 Group: Applications/Multimedia779 Requires: httpd >= 1.3.26780 Requires: php >= 5.1781 Requires: php-mysql782 # php-process is broken out from main php package in Fedora 11 and later783 %if 0%{?fedora} >= 11784 Requires: php-process785 %endif786 787 %description -n mythweb788 The web interface to MythTV.789 790 %endif791 ################################################################################792 785 %if %{with_mythzoneminder} 793 786 794 787 %package -n mythzoneminder … … on demand content. 842 835 843 836 ##### MythTV 844 837 845 cd mythtv-%{version} 838 cd mythtv 839 840 # Set the mythtv --version string 841 cat > VERSION <<EOF 842 SOURCE_VERSION=%{vers_string} 843 BRANCH=%{branch} 844 EOF 846 845 847 846 # Drop execute permissions on contrib bits, since they'll be %doc 848 847 find contrib/ -type f -exec chmod -x "{}" \; … … cd .. 874 873 ##### MythPlugins 875 874 %if %{with_plugins} 876 875 877 cd mythplugins -%{version}876 cd mythplugins 878 877 879 878 # Fix /mnt/store -> /var/lib/mythmusic 880 879 cd mythmusic … … cd mythplugins-%{version} 886 885 sed -i -e 's,/share/Movies/dvd,%{_localstatedir}/lib/mythvideo,' mythvideo/globalsettings.cpp 887 886 cd .. 888 887 889 # Fix up permissions for MythWeb890 cd mythweb891 chmod -R g-w ./*892 cd ..893 894 888 # Add execute bits to mythvideo python helper scripts 895 889 find mythvideo/mythvideo/scripts/ -name '*.py' -exec chmod +x "{}" \; 896 890 897 # Remove unwanted execute bits from php mythweb files898 find mythweb/ -name '*.php' -exec chmod -x "{}" \;899 900 891 # And back to the compile root 901 892 cd .. 902 893 … … cd .. 907 898 %build 908 899 909 900 # First, we build MythTV 910 cd mythtv -%{version}901 cd mythtv 911 902 912 903 # Similar to 'percent' configure, but without {_target_platform} and 913 904 # {_exec_prefix} etc... MythTV no longer accepts the parameters that the … … cd mythtv-%{version} 978 969 --enable-debug 979 970 980 971 # Insert rpm version-release for mythbackend --version output 981 sed -i -e 's,###SOURCE_VERSION###,%{version}-%{release} (%_ svnrev),' version.sh972 sed -i -e 's,###SOURCE_VERSION###,%{version}-%{release} (%_gitrev),' version.sh 982 973 983 974 # Make 984 975 make %{?_smp_mflags} … … cd mythtv-%{version} 987 978 cd .. 988 979 mkdir temp 989 980 temp=`pwd`/temp 990 make -C mythtv -%{version}install INSTALL_ROOT=$temp981 make -C mythtv install INSTALL_ROOT=$temp 991 982 export LD_LIBRARY_PATH=$temp%{_libdir}:$LD_LIBRARY_PATH 992 983 993 984 # Next, we build the plugins 994 985 %if %{with_plugins} 995 cd mythplugins -%{version}986 cd mythplugins 996 987 997 988 # Fix things up so they can find our "temp" install location for mythtv-libs 998 989 echo "QMAKE_PROJECT_DEPTH = 0" >> settings.pro … … cd mythplugins-%{version} 1081 1072 rm -rf %{buildroot} 1082 1073 1083 1074 # First, install MythTV 1084 cd mythtv -%{version}1075 cd mythtv 1085 1076 1086 1077 make install INSTALL_ROOT=%{buildroot} 1087 1078 … … cd mythtv-%{version} 1126 1117 1127 1118 # MythPlugins 1128 1119 %if %{with_plugins} 1129 cd mythplugins -%{version}1120 cd mythplugins 1130 1121 1131 1122 make install INSTALL_ROOT=%{buildroot} 1132 1123 … … cd mythplugins-%{version} 1154 1145 %{buildroot}%{_datadir}/mythtv/games/PC/gamelist.xml 1155 1146 %endif 1156 1147 1157 %if %{with_mythweb}1158 cd mythweb1159 mkdir -p %{buildroot}%{_datadir}/mythweb1160 cp -a * %{buildroot}%{_datadir}/mythweb/1161 mkdir -p %{buildroot}%{_datadir}/mythweb/{image_cache,php_sessions}1162 1163 mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d1164 cp %{SOURCE401} %{buildroot}%{_sysconfdir}/httpd/conf.d/1165 # drop .htaccess file, settings handled in the above1166 rm -f %{buildroot}%{_datadir}/mythweb/data/.htaccess1167 cd ..1168 %endif1169 1170 1148 # And back to the build/install root 1171 1149 cd .. 1172 1150 %endif … … fi 1203 1181 1204 1182 %files docs 1205 1183 %defattr(-,root,root,-) 1206 %doc mythtv-%{version}/README* mythtv-%{version}/UPGRADING 1207 %doc mythtv-%{version}/AUTHORS mythtv-%{version}/COPYING mythtv-%{version}/FAQ 1208 %doc mythtv-%{version}/database mythtv-%{version}/keys.txt 1209 %doc mythtv-%{version}/docs/*.html mythtv-%{version}/docs/*.png 1210 %doc mythtv-%{version}/docs/*.txt mythtv-%{version}/contrib 1211 %doc mythtv-%{version}/PACKAGE-LICENSING 1184 %doc mythtv/README* mythtv/UPGRADING 1185 %doc mythtv/AUTHORS mythtv/COPYING mythtv/FAQ 1186 %doc mythtv/database mythtv/keys.txt 1187 %doc mythtv/docs/*.html mythtv/docs/*.png 1188 %doc mythtv/docs/*.txt mythtv/contrib 1189 %doc %{_datadir}/mythtv/fonts/*.txt 1190 %doc mythtv/PACKAGE-LICENSING 1212 1191 1213 1192 %files common 1214 1193 %defattr(-,root,root,-) … … fi 1292 1271 %dir %{_datadir}/mythtv/build 1293 1272 %{_datadir}/mythtv/build/settings.pro 1294 1273 1274 %files -n mythffmpeg 1275 %defattr(-,root,root,-) 1276 %{_bindir}/mythffmpeg 1277 %{_bindir}/mythffplay 1278 1295 1279 %if %{with_perl} 1296 1280 %files -n perl-MythTV 1297 1281 %defattr(-,root,root,-) … … fi 1316 1300 %if %{with_plugins} 1317 1301 %files -n mythplugins 1318 1302 %defattr(-,root,root,-) 1319 %doc mythplugins -%{version}/COPYING1303 %doc mythplugins/COPYING 1320 1304 1321 1305 %if %{with_mytharchive} 1322 1306 %files -n mytharchive 1323 1307 %defattr(-,root,root,-) 1324 %doc mythplugins -%{version}/mytharchive/AUTHORS1325 %doc mythplugins -%{version}/mytharchive/COPYING1326 %doc mythplugins -%{version}/mytharchive/README1327 %doc mythplugins -%{version}/mytharchive/TODO1308 %doc mythplugins/mytharchive/AUTHORS 1309 %doc mythplugins/mytharchive/COPYING 1310 %doc mythplugins/mytharchive/README 1311 %doc mythplugins/mytharchive/TODO 1328 1312 %{_bindir}/mytharchivehelper 1329 1313 %{_libdir}/mythtv/plugins/libmytharchive.so 1330 1314 %{_datadir}/mythtv/archivemenu.xml … … fi 1336 1320 %if %{with_mythbrowser} 1337 1321 %files -n mythbrowser 1338 1322 %defattr(-,root,root,-) 1339 %doc mythplugins -%{version}/mythbrowser/AUTHORS1340 %doc mythplugins -%{version}/mythbrowser/COPYING1341 %doc mythplugins -%{version}/mythbrowser/README1323 %doc mythplugins/mythbrowser/AUTHORS 1324 %doc mythplugins/mythbrowser/COPYING 1325 %doc mythplugins/mythbrowser/README 1342 1326 %{_libdir}/mythtv/plugins/libmythbrowser.so 1343 1327 %{_datadir}/mythtv/i18n/mythbrowser_*.qm 1344 1328 %endif … … fi 1346 1330 %if %{with_mythgallery} 1347 1331 %files -n mythgallery 1348 1332 %defattr(-,root,root,-) 1349 %doc mythplugins -%{version}/mythgallery/AUTHORS1350 %doc mythplugins -%{version}/mythgallery/COPYING1351 %doc mythplugins -%{version}/mythgallery/README1333 %doc mythplugins/mythgallery/AUTHORS 1334 %doc mythplugins/mythgallery/COPYING 1335 %doc mythplugins/mythgallery/README 1352 1336 %{_libdir}/mythtv/plugins/libmythgallery.so 1353 1337 %{_datadir}/mythtv/i18n/mythgallery_*.qm 1354 1338 %{_localstatedir}/lib/pictures … … fi 1377 1361 %if %{with_mythmusic} 1378 1362 %files -n mythmusic 1379 1363 %defattr(-,root,root,-) 1380 %doc mythplugins -%{version}/mythmusic/AUTHORS1381 %doc mythplugins -%{version}/mythmusic/COPYING1382 %doc mythplugins -%{version}/mythmusic/README1364 %doc mythplugins/mythmusic/AUTHORS 1365 %doc mythplugins/mythmusic/COPYING 1366 %doc mythplugins/mythmusic/README 1383 1367 %{_libdir}/mythtv/plugins/libmythmusic.so 1384 1368 %{_localstatedir}/lib/mythmusic 1385 1369 %{_datadir}/mythtv/musicmenu.xml … … fi 1390 1374 %if %{with_mythnews} 1391 1375 %files -n mythnews 1392 1376 %defattr(-,root,root,-) 1393 %doc mythplugins -%{version}/mythnews/AUTHORS1394 %doc mythplugins -%{version}/mythnews/COPYING1395 %doc mythplugins -%{version}/mythnews/README1377 %doc mythplugins/mythnews/AUTHORS 1378 %doc mythplugins/mythnews/COPYING 1379 %doc mythplugins/mythnews/README 1396 1380 %{_libdir}/mythtv/plugins/libmythnews.so 1397 1381 %{_datadir}/mythtv/mythnews 1398 1382 %{_datadir}/mythtv/i18n/mythnews_*.qm … … fi 1401 1385 %if %{with_mythvideo} 1402 1386 %files -n mythvideo 1403 1387 %defattr(-,root,root,-) 1404 %doc mythplugins -%{version}/mythvideo/COPYING1405 %doc mythplugins -%{version}/mythvideo/README*1388 %doc mythplugins/mythvideo/COPYING 1389 %doc mythplugins/mythvideo/README* 1406 1390 %{_libdir}/mythtv/plugins/libmythvideo.so 1407 1391 %{_datadir}/mythtv/mythvideo 1408 1392 %{_datadir}/mythtv/i18n/mythvideo_*.qm … … fi 1414 1398 %if %{with_mythweather} 1415 1399 %files -n mythweather 1416 1400 %defattr(-,root,root,-) 1417 %doc mythplugins -%{version}/mythweather/AUTHORS1418 %doc mythplugins -%{version}/mythweather/COPYING1419 %doc mythplugins -%{version}/mythweather/README1401 %doc mythplugins/mythweather/AUTHORS 1402 %doc mythplugins/mythweather/COPYING 1403 %doc mythplugins/mythweather/README 1420 1404 %{_libdir}/mythtv/plugins/libmythweather.so 1421 1405 %{_datadir}/mythtv/i18n/mythweather_*.qm 1422 1406 %{_datadir}/mythtv/weather_settings.xml … … fi 1424 1408 %{_datadir}/mythtv/mythweather/* 1425 1409 %endif 1426 1410 1427 %if %{with_mythweb}1428 %files -n mythweb1429 %defattr(-,root,root,-)1430 %doc mythplugins-%{version}/mythweb/README1431 %config(noreplace) %{_sysconfdir}/httpd/conf.d/mythweb.conf1432 %defattr(-,apache,apache,0775)1433 %dir %{_datadir}/mythweb1434 %{_datadir}/mythweb/*1435 %endif1436 1437 1411 %if %{with_mythzoneminder} 1438 1412 %files -n mythzoneminder 1439 1413 %defattr(-,root,root,-) … … fi 1446 1420 %if %{with_mythnetvision} 1447 1421 %files -n mythnetvision 1448 1422 %defattr(-,root,root,-) 1449 %doc mythplugins -%{version}/mythnetvision/AUTHORS1450 %doc mythplugins -%{version}/mythnetvision/ChangeLog1451 %doc mythplugins -%{version}/mythnetvision/README1423 %doc mythplugins/mythnetvision/AUTHORS 1424 %doc mythplugins/mythnetvision/ChangeLog 1425 %doc mythplugins/mythnetvision/README 1452 1426 %{_bindir}/mythfillnetvision 1453 1427 %{_libdir}/mythtv/plugins/libmythnetvision.so 1454 1428 %{_datadir}/mythtv/mythnetvision … … fi 1461 1435 ################################################################################ 1462 1436 1463 1437 %changelog 1438 * Thu Jan 06 2011 David Knight <dlknight@sdf.lonestar.org> 0.24-0.1.git 1439 - Split out mythweb 1440 - Update for Git 1441 1464 1442 * Sat Aug 28 2010 Jarod Wilson <jarod@wilsonet.com> 0.24-0.1.svn 1465 1443 - Fix up perl bindings 1466 1444 - Enable crystalhd support