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