epgdump-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Summary: A progman to extract EPG information from MPEG-TS
  2. Summary(ja): MPEG-TS に含まれる EPG 情報を XML で出力するプログラム
  3. Name: epgdump
  4. Version: r2
  5. Release: 4%{?_dist_release}
  6. ##!! We note that up0027.zip isn't a "ZIP" archive.
  7. ## Indeed, you can check below:
  8. ## $ file up0027.zip
  9. ## up0027.zip: bzip2 compressed data, block size = 900k
  10. Source0: http://2sen.dip.jp/cgi-bin/friioup/source/up0027.zip
  11. Source1: http://2sen.dip.jp/cgi-bin/hdusup/source/up0036.gz
  12. Source2: http://2sen.dip.jp/cgi-bin/hdusup/source/up0200.gz
  13. Source3: http://2sen.dip.jp/cgi-bin/dtvup/source/up0246.zip
  14. Source4: http://2sen.dip.jp/cgi-bin/dtvup/source/up0248.zip
  15. ## support new BS/CS channels after 2011-10-01
  16. Source10: http://2sen.dip.jp/cgi-bin/dtvup/source/up0740.zip
  17. ## Vine
  18. License: distributable (see README files for detail)
  19. Group: Applications/Multimedia
  20. #URL:
  21. #Requires:
  22. BuildRequires: unzip
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. Packager: kazutaka, munepi
  25. %description
  26. epgdump is a progman to extract EPG (Electronic Program Guide)
  27. information from MPEG-TS.
  28. %description -l ja
  29. epgdump は MPEG-TS に含まれる EPG (Electronic Program Guide:
  30. 電子番組表) 情報を XML で出力するプログラムです。
  31. %prep
  32. %setup -q -n %{name}%{version} -c -a 10
  33. pushd epgdumpr2
  34. %__gzip -dc %{SOURCE1} | patch -p1
  35. %__gzip -dc %{SOURCE2} | patch -p1
  36. popd
  37. %__unzip %{SOURCE3} && patch -p0 < fix_overflow_184.patch
  38. %__unzip %{SOURCE4} && patch -p0 < fix_overflow_maxseclen.patch
  39. ## support new BS/CS channels after 2011-10-01
  40. pushd epgdumpr2
  41. patch < ../epgdump_ch/patch/epgdump.c.patch
  42. patch < ../epgdump_ch/patch/xmldata.c.patch
  43. popd
  44. ## Vine
  45. %build
  46. pushd %{name}%{version}
  47. %{__make}
  48. popd
  49. %install
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %{__install} -D -m 755 epgdumpr2/%{name} ${RPM_BUILD_ROOT}/%{_bindir}/%{name}
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %files
  55. %defattr(-,root,root)
  56. %doc epgdumpr2/readme.txt
  57. #%doc epgrecd
  58. %{_bindir}/%{name}
  59. %changelog
  60. * Sun Oct 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> r2-4
  61. - dropped epgdump-r2-change-nhkbs-channels-20110401.patch
  62. - support new BS/CS channels after 2011-10-01
  63. - added BuildRequires: unzip
  64. * Sat Apr 09 2011 Munehiro Yamamoto <munepi@vinelinux.org> r2-3
  65. - applied epgdump-r2-change-nhkbs-channels-20110401.patch
  66. * Fri Oct 15 2010 Munehiro Yamamoto <munepi@vinelinux.org> r2-2
  67. - applied some patches to fix overflow
  68. * Mon Nov 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> r2-1
  69. - initial build for Vine Linux