Browse Source

updated epgdump-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4855 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 12 years ago
parent
commit
e5fb7775b6
1 changed files with 23 additions and 5 deletions
  1. 23 5
      e/epgdump/epgdump-vl.spec

+ 23 - 5
e/epgdump/epgdump-vl.spec

@@ -2,22 +2,29 @@ Summary:	A progman to extract EPG information from MPEG-TS
 Summary(ja): 	MPEG-TS に含まれる EPG 情報を XML で出力するプログラム
 Name:		epgdump
 Version:	r2
-Release: 	3%{?_dist_release}
+Release: 	4%{?_dist_release}
+##!! We note that up0027.zip isn't a "ZIP" archive. 
+## Indeed, you can check below: 
+## $ file up0027.zip
+## up0027.zip: bzip2 compressed data, block size = 900k
 Source0:	http://2sen.dip.jp/cgi-bin/friioup/source/up0027.zip
 Source1:	http://2sen.dip.jp/cgi-bin/hdusup/source/up0036.gz
 Source2:	http://2sen.dip.jp/cgi-bin/hdusup/source/up0200.gz
 Source3:	http://2sen.dip.jp/cgi-bin/dtvup/source/up0246.zip
 Source4:	http://2sen.dip.jp/cgi-bin/dtvup/source/up0248.zip 
 
+## support new BS/CS channels after 2011-10-01
+Source10:	http://2sen.dip.jp/cgi-bin/dtvup/source/up0740.zip 
+
 ## Vine
-Patch100:	epgdump-r2-change-nhkbs-channels-20110401.patch
+
 
 License:	distributable (see README files for detail)
 Group:		Applications/Multimedia
 #URL:		
 
 #Requires:	
-#BuildRequires:	
+BuildRequires:	unzip
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
 Packager:	kazutaka, munepi
@@ -33,7 +40,7 @@ epgdump は MPEG-TS に含まれる EPG (Electronic Program Guide:
 
 
 %prep
-%setup -q -n %{name}%{version} -c
+%setup -q -n %{name}%{version} -c -a 10
 pushd epgdumpr2
 %__gzip -dc %{SOURCE1}  | patch -p1
 %__gzip -dc %{SOURCE2}  | patch -p1
@@ -41,8 +48,14 @@ popd
 %__unzip %{SOURCE3} && patch -p0 < fix_overflow_184.patch
 %__unzip %{SOURCE4} && patch -p0 < fix_overflow_maxseclen.patch
 
+## support new BS/CS channels after 2011-10-01
+pushd epgdumpr2
+patch < ../epgdump_ch/patch/epgdump.c.patch
+patch < ../epgdump_ch/patch/xmldata.c.patch
+popd
+
 ## Vine
-%patch100 -p1 -b .nhkbs
+
 
 %build
 pushd %{name}%{version}
@@ -66,6 +79,11 @@ popd
 %{_bindir}/%{name}
 
 %changelog
+* Sun Oct 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> r2-4
+- dropped epgdump-r2-change-nhkbs-channels-20110401.patch
+- support new BS/CS channels after 2011-10-01
+- added BuildRequires: unzip
+
 * Sat Apr 09 2011 Munehiro Yamamoto <munepi@vinelinux.org> r2-3
 - applied epgdump-r2-change-nhkbs-channels-20110401.patch