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