]>
Commit | Line | Data |
---|---|---|
f78e104e | 1 | Summary: Utility for setting V4L parameters |
c8a44309 | 2 | Summary(pl.UTF-8): Narzędzia do ustawiania parametrów V4L |
f78e104e | 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 | |
eccd9e23 JB |
15 | This console-tool sets parameters of a Video4Linux device. You can set |
16 | things like picture size, brightness, contrast, tuner frequency, etc. | |
f78e104e | 17 | etc. You can also retrieve a complete list of all current settings. |
18 | ||
7099170c JR |
19 | %description -l pl.UTF-8 |
20 | To narzędzie konsolowe ustawia parametry urządzenia Video4Linux. | |
21 | Pozwala ustawić parametry takie jak rozmiar obrazu, jasność, kontrast, | |
22 | częstotliwość tunera itp. Można także odczytać pełną listę bieżących | |
23 | ustawień. | |
eccd9e23 | 24 | |
f78e104e | 25 | %prep |
26 | %setup -q | |
27 | %patch0 -p1 | |
28 | ||
29 | %build | |
30 | %{__make} \ | |
31 | CC="%{__cc}" \ | |
32 | OPTCFLAGS="%{rpmcflags}" \ | |
33 | LDFLAGS="%{rpmldflags}" | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
38 | ||
39 | install dov4l $RPM_BUILD_ROOT%{_bindir} | |
40 | install dov4l.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %attr(755,root,root) %{_bindir}/dov4l | |
48 | %{_mandir}/man1/dov4l.1* |