fuse_b25-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %define devtool b25dir
  2. Name: fuse_b25
  3. Version: 0.4.0
  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/up0594.zip
  7. Patch0: fuse_b25-0.3.0-b25dvr-console_apps.patch
  8. Group: System Environment/Base
  9. License: GPLv3
  10. BuildRequires: unzip
  11. BuildRequires: fuse-devel >= 2.8, pcsc-lite-devel
  12. Requires: fuse >= 2.8, pcsc-lite
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Packager: munepi
  15. %description
  16. Fuse filesystems which mounts on a backed-up /dev/dvb/adapterN/dvr0 and
  17. relays output streams from the real device to standard DVB applications,
  18. as well as descrambling MULTI2 with pcscd.
  19. This package includes a helper script to backup/restore the real dvr0 device.
  20. %prep
  21. [ -d %{name}-%{version} ] && %__rm -rf %{name}-%{version}
  22. %__unzip -o %{SOURCE0}
  23. %__tar zxf %{name}-%{version}/%{name}-%{version}.tar.gz
  24. %setup -D -T %{name}-%{version}
  25. %build
  26. %configure
  27. %__make %{?_smp_mflags}
  28. %install
  29. %__rm -rf $RPM_BUILD_ROOT
  30. %__make install DESTDIR=$RPM_BUILD_ROOT
  31. %__install -d $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
  32. %__install -p -m 0644 helper/pam.d/%{devtool} $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/
  33. %__install -d $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
  34. %__install -p -m 0644 helper/console.apps/%{devtool} $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/
  35. %__ln_s /usr/bin/consolehelper $RPM_BUILD_ROOT%{_bindir}/%{devtool}
  36. %clean
  37. %__rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc AUTHORS COPYING ChangeLog NEWS README README.old
  41. %doc helper/80-fuse_b25.rules
  42. %{_bindir}/%{name}
  43. %{_bindir}/%{devtool}
  44. %{_sbindir}/%{devtool}
  45. %config %{_sysconfdir}/security/console.apps/%{devtool}
  46. %config %{_sysconfdir}/pam.d/%{devtool}
  47. %changelog
  48. * Fri Mar 25 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.4.0-1
  49. - new upstream release
  50. - dropped rendvr0, fuse_b25.org
  51. * Mon Feb 07 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.0-2
  52. - fixed PROGRAM and added GUI=no in console.apps/b25dvr
  53. * Sun Feb 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 0.3.0-1
  54. - initial build
  55. * Mon Dec 6 2010 0p1pp1 - 0.2.1-1
  56. - updated to ver. 0.2.1
  57. * Fri Sep 17 2010 0p1pp1 - 0.2-1
  58. - updated to ver.0.2
  59. * Fri Dec 11 2009 0p1pp1 - 0.1
  60. - initial release