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