source: projects/specs/trunk/f/fuse_b25/fuse_b25-vl.spec @ 2656

Revision 2656, 2.4 KB checked in by munepi, 13 years ago (diff)

updated fuse_b25-vl.spec

Line 
1%define devtool b25dvr
2
3Name:           fuse_b25
4Version:        0.3.0
5Summary:        FUSE filesystem to descramble streams from ISDB-T/S DVB devices
6Release:        2%{?_dist_release}
7Source0:        http://2sen.dip.jp/cgi-bin/dtvup/source/up0543.zip
8Source1:        http://2sen.dip.jp/cgi-bin/dtvup/source/up0548.zip
9Patch0:         fuse_b25-0.3.0-b25dvr-console_apps.patch
10Group:          System Environment/Base
11License:        GPLv3
12
13BuildRequires:  unzip
14BuildRequires:  fuse-devel >= 2.8, pcsc-lite-devel
15Requires:       fuse >= 2.8, pcsc-lite
16
17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18
19Packager:       munepi
20
21
22%description
23Fuse filesystems which mounts on a backed-up /dev/dvb/adapterN/dvr0 and
24relays output streams from the real device to standard DVB applications,
25as well as descrambling MULTI2 with pcscd.
26 
27This 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
41%patch0 -p1 -b .vine
42
43
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
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
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
Note: See TracBrowser for help on using the repository browser.