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

Revision 3468, 3.5 KB checked in by munepi, 13 years ago (diff)

updated fuse_b25-vl.spec

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