fuse_b25-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. %define devtool b25dir
  2. Name: fuse_b25
  3. Version: 0.4.8
  4. Summary: FUSE filesystem to descramble streams from ISDB-T/S DVB devices
  5. Release: 1%{?_dist_release}
  6. Source0: http://2sen.dip.jp/cgi-bin/dtvup/source/up0664.zip
  7. #Patch0: fuse_b25-0.4.0-stream-iconv_open-utf16be.patch
  8. ## Vine
  9. Patch10: fuse_b25-0.4.0-b25dir-console_apps.patch
  10. Group: System Environment/Base
  11. License: GPLv3
  12. BuildRequires: unzip
  13. BuildRequires: fuse-devel >= 2.8, pcsc-lite-devel
  14. Requires: fuse >= 2.8, pcsc-lite
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Packager: munepi
  17. %description
  18. Fuse filesystems which mounts on a backed-up /dev/dvb/adapterN/dvr0 and
  19. relays output streams from the real device to standard DVB applications,
  20. as well as descrambling MULTI2 with pcscd.
  21. This package includes a helper script to backup/restore the real dvr0 device.
  22. %prep
  23. [ -d %{name}-%{version} ] && %__rm -rf %{name}-%{version}
  24. %__unzip -o %{SOURCE0}
  25. (cd %{name}-%{version}
  26. %__unzip -o %{name}-%{version}.zip || exit 1
  27. )
  28. %setup -D -T -n %{name}-%{version}/%{name}-%{version}
  29. #%patch0 -p0 -b .utf16be
  30. %patch10 -p1 -b .vine
  31. %build
  32. %configure
  33. %__make %{?_smp_mflags}
  34. %install
  35. %__rm -rf $RPM_BUILD_ROOT
  36. %__make install DESTDIR=$RPM_BUILD_ROOT
  37. %__install -d $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
  38. %__install -p -m 0644 helper/pam.d/%{devtool} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/
  39. %__install -d $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
  40. %__install -p -m 0644 helper/console.apps/%{devtool} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/
  41. %__ln_s /usr/bin/consolehelper $RPM_BUILD_ROOT%{_bindir}/%{devtool}
  42. %clean
  43. %__rm -rf $RPM_BUILD_ROOT
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc AUTHORS COPYING ChangeLog NEWS README README.old
  47. %doc helper/80-fuse_b25.rules
  48. %{_bindir}/%{name}
  49. %{_bindir}/%{devtool}
  50. %{_sbindir}/%{devtool}
  51. %config %{_sysconfdir}/security/console.apps/%{devtool}
  52. %config %{_sysconfdir}/pam.d/%{devtool}
  53. %changelog
  54. * Sat Jun 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.8-1
  55. - new upstream release
  56. - dropped old patches/archives
  57. * Wed May 04 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.6-1
  58. - new upstream release
  59. - applied 0008-fix-memory-corrupution2.patch
  60. * Fri Apr 15 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.5-1
  61. - new upstream release
  62. - applied 0007-fix-memory-corruption.patch
  63. * Sun Mar 27 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.4-1
  64. - new upstream release
  65. - applied fuse_b25-0.4.0-stream-iconv_open-utf16be.patch
  66. - applied fuse_b25-0.4.0-b25dir-console_apps.patch
  67. * Fri Mar 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.0-1
  68. - new upstream release
  69. - dropped rendvr0, fuse_b25.org
  70. * Mon Feb 07 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.0-2
  71. - fixed PROGRAM and added GUI=no in console.apps/b25dvr
  72. * Sun Feb 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.0-1
  73. - initial build
  74. * Mon Dec 6 2010 0p1pp1 - 0.2.1-1
  75. - updated to ver. 0.2.1
  76. * Fri Sep 17 2010 0p1pp1 - 0.2-1
  77. - updated to ver.0.2
  78. * Fri Dec 11 2009 0p1pp1 - 0.1
  79. - initial release