]>
Commit | Line | Data |
---|---|---|
f78e104e | 1 | |
2 | Summary: Utility for setting V4L parameters | |
3 | Name: dov4l | |
4 | Version: 0.9 | |
5 | Release: 1 | |
6 | License: GPL | |
7 | Group: Applications | |
8 | Source0: http://www.vanheusden.com/dov4l/%{name}-%{version}.tgz | |
9 | # Source0-md5: b4cdeb5c7ba2769eb3b63a086117cee5 | |
10 | Patch0: %{name}-Makefile.patch | |
11 | URL: http://www.vanheusden.com/dov4l/ | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | This console-tool sets parameters of a Video4Linux-device. You can set | |
16 | things like picturesize, brightness, contrast, tunerfrequency, etc. | |
17 | etc. You can also retrieve a complete list of all current settings. | |
18 | ||
19 | %prep | |
20 | %setup -q | |
21 | %patch0 -p1 | |
22 | ||
23 | %build | |
24 | %{__make} \ | |
25 | CC="%{__cc}" \ | |
26 | OPTCFLAGS="%{rpmcflags}" \ | |
27 | LDFLAGS="%{rpmldflags}" | |
28 | ||
29 | %install | |
30 | rm -rf $RPM_BUILD_ROOT | |
31 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
32 | ||
33 | install dov4l $RPM_BUILD_ROOT%{_bindir} | |
34 | install dov4l.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %attr(755,root,root) %{_bindir}/dov4l | |
42 | %{_mandir}/man1/dov4l.1* |