]>
Commit | Line | Data |
---|---|---|
0356c439 | 1 | Summary: Tuning application for DVB cards |
c1095968 | 2 | Summary(pl.UTF-8): Aplikacja do strojenia kart DVB |
0356c439 TP |
3 | Name: dvbtune |
4 | Version: 0.5 | |
7ca65b54 | 5 | Release: 4 |
0356c439 TP |
6 | License: GPL v2+ |
7 | Group: Networking | |
8 | Source0: http://downloads.sourceforge.net/dvbtools/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 5212564c786f2538db753214e0e21473 | |
3ce333d1 | 10 | Patch0: %{name}-dumb31adapters.patch |
c24c5dca | 11 | Patch1: define-int-types.patch |
7ca65b54 | 12 | Patch2: %{name}-dvr.patch |
0356c439 TP |
13 | URL: http://dvbtools.sourceforge.net/ |
14 | BuildRequires: libxml2-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Simple tuning application for DVB cards. | |
19 | ||
c1095968 JB |
20 | %description -l pl.UTF-8 |
21 | Prosta aplikacja do strojenia kart DVB. | |
22 | ||
0356c439 TP |
23 | %prep |
24 | %setup -q | |
3ce333d1 | 25 | %patch0 -p1 |
c24c5dca | 26 | %patch1 -p1 |
7ca65b54 | 27 | %patch2 -p1 |
0356c439 TP |
28 | |
29 | %build | |
30 | %{__make} %{name} xml2vdr \ | |
31 | CFLAGS="%{rpmcflags} -I%{_includedir}/libxml2 -DNEWSTRUCT" | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
36 | ||
37 | install %{name} xml2vdr $RPM_BUILD_ROOT%{_bindir} | |
38 | ||
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %doc scripts README | |
45 | %attr(755,root,root) %{_bindir}/%{name} | |
46 | %attr(755,root,root) %{_bindir}/xml2vdr |