epgdump-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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: 3%{?_dist_release}
  6. Source0: http://2sen.dip.jp/cgi-bin/friioup/source/up0027.zip
  7. Source1: http://2sen.dip.jp/cgi-bin/hdusup/source/up0036.gz
  8. Source2: http://2sen.dip.jp/cgi-bin/hdusup/source/up0200.gz
  9. Source3: http://2sen.dip.jp/cgi-bin/dtvup/source/up0246.zip
  10. Source4: http://2sen.dip.jp/cgi-bin/dtvup/source/up0248.zip
  11. ## Vine
  12. Patch100: epgdump-r2-change-nhkbs-channels-20110401.patch
  13. License: distributable (see README files for detail)
  14. Group: Applications/Multimedia
  15. #URL:
  16. #Requires:
  17. #BuildRequires:
  18. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  19. Packager: kazutaka, munepi
  20. %description
  21. epgdump is a progman to extract EPG (Electronic Program Guide)
  22. information from MPEG-TS.
  23. %description -l ja
  24. epgdump は MPEG-TS に含まれる EPG (Electronic Program Guide:
  25. 電子番組表) 情報を XML で出力するプログラムです。
  26. %prep
  27. %setup -q -n %{name}%{version} -c
  28. pushd epgdumpr2
  29. %__gzip -dc %{SOURCE1} | patch -p1
  30. %__gzip -dc %{SOURCE2} | patch -p1
  31. popd
  32. %__unzip %{SOURCE3} && patch -p0 < fix_overflow_184.patch
  33. %__unzip %{SOURCE4} && patch -p0 < fix_overflow_maxseclen.patch
  34. ## Vine
  35. %patch100 -p1 -b .nhkbs
  36. %build
  37. pushd %{name}%{version}
  38. %{__make}
  39. popd
  40. %install
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %{__install} -D -m 755 epgdumpr2/%{name} ${RPM_BUILD_ROOT}/%{_bindir}/%{name}
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %files
  46. %defattr(-,root,root)
  47. %doc epgdumpr2/readme.txt
  48. #%doc epgrecd
  49. %{_bindir}/%{name}
  50. %changelog
  51. * Sat Apr 09 2011 Munehiro Yamamoto <munepi@vinelinux.org> r2-3
  52. - applied epgdump-r2-change-nhkbs-channels-20110401.patch
  53. * Fri Oct 15 2010 Munehiro Yamamoto <munepi@vinelinux.org> r2-2
  54. - applied some patches to fix overflow
  55. * Mon Nov 23 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> r2-1
  56. - initial build for Vine Linux