]>
Commit | Line | Data |
---|---|---|
31abdcf1 JB |
1 | Summary: Collection of Video4Linux utilities |
2 | Summary(pl.UTF-8): Zbiór narzędzi do urządzeń Video4Linux | |
24a22ca1 | 3 | Name: v4l-utils |
6081edf3 | 4 | Version: 0.9.1 |
aac6eedb | 5 | Release: 1 |
24a22ca1 JB |
6 | License: GPL v2+ (utilities), LGPL v2.1+ (libraries) |
7 | Group: Applications/System | |
8 | Source0: http://linuxtv.org/downloads/v4l-utils/%{name}-%{version}.tar.bz2 | |
6081edf3 | 9 | # Source0-md5: dce548c1b497a39e59bb52387cf18dc1 |
5872d924 | 10 | URL: http://hansdegoede.livejournal.com/ |
6081edf3 JB |
11 | BuildRequires: QtCore-devel >= 4.4 |
12 | BuildRequires: QtGui-devel >= 4.4 | |
13 | BuildRequires: gettext-devel >= 0.17 | |
b0bb5368 | 14 | BuildRequires: libjpeg-devel |
5872d924 | 15 | BuildRequires: libstdc++-devel |
6081edf3 JB |
16 | BuildRequires: pkgconfig |
17 | BuildRequires: qt4-build >= 4.4 | |
18 | BuildRequires: xorg-lib-libX11-devel | |
19 | Requires: libv4l = %{version}-%{release} | |
aac6eedb SP |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
24a22ca1 JB |
23 | A series of utilities for media devices, allowing to handle the |
24 | proprietary formats available at most webcams (libv4l), and providing | |
25 | tools to test V4L devices. | |
aac6eedb | 26 | |
31abdcf1 JB |
27 | %description -l pl.UTF-8 |
28 | Zbiór narzędzi do urządzeń multimedialnych, pozwalający obsługiwać | |
29 | własnościowe formaty dostępne w większości kamer internetowych | |
30 | (libv4l) oraz testować urządzenia V4L. | |
31 | ||
24a22ca1 | 32 | %package qt |
31abdcf1 JB |
33 | Summary: Qt-based V4L2 test Utility |
34 | Summary(pl.UTF-8): Narzędzie testowe V4L2 oparte na Qt | |
24a22ca1 JB |
35 | License: GPL v2+ |
36 | Group: X11/Applications | |
6081edf3 JB |
37 | Requires: QtCore-devel >= 4.4 |
38 | Requires: QtGui-devel >= 4.4 | |
39 | Requires: libv4l = %{version}-%{release} | |
335dd8cd | 40 | |
24a22ca1 | 41 | %description qt |
31abdcf1 JB |
42 | Graphical Qt V4L2 control panel. |
43 | ||
44 | %description qt -l pl.UTF-8 | |
45 | Graficzny panel kontrolny V4L2 oparty na Qt. | |
aac6eedb | 46 | |
5872d924 TP |
47 | %package -n ir-keytable |
48 | Summary: Alter keymaps of Remote Controller devices | |
31abdcf1 | 49 | Summary(pl.UTF-8): Zmiana map klawiszy urządzeń do zdalnego sterowania |
5872d924 TP |
50 | License: GPL v2+ |
51 | Group: Applications/Console | |
52 | ||
53 | %description -n ir-keytable | |
111595d9 TP |
54 | Dump, Load or Modify IR receiver input tables. This package allows one |
55 | to change the keymap of controller receivers. Those receivers are | |
56 | found as infrared receivers on DVB sticks or on framegrabber cards. | |
57 | Via ir-keytable the mapping from a scancode to the generated event can | |
31abdcf1 JB |
58 | be customized and made persistent. |
59 | ||
60 | %description -n ir-keytable -l pl.UTF-8 | |
61 | ir-keytable to narzędzie pozwalające na zrzucanie, wczytywanie i | |
62 | modyfikowanie tablic wejściowych odbiorników podczerwieni (IR). Ten | |
63 | pakiet pozwala na zmianę tablic klawiszy odbiorników pilotów. | |
64 | Odbiorniki podczerwieni występują na interfejsach DVB lub kartach | |
65 | framegrabberów. Dzięki użyciu ir-keytable można zmienić i zachować | |
66 | odwzorowania między skankodami a generowanymi zdarzeniami. | |
5872d924 | 67 | |
24a22ca1 JB |
68 | %package -n libv4l |
69 | Summary: Abstraction layer on top of video4linux2 devices | |
70 | Summary(pl.UTF-8): Warstwa abstrakcji dla urządzeń video4linux2 | |
71 | License: LGPL v2.1+ | |
72 | Group: Libraries | |
5872d924 | 73 | |
24a22ca1 JB |
74 | %description -n libv4l |
75 | Collection of libraries which adds a thin abstraction layer on top of | |
76 | video4linux2 devices. The purpose of this (thin) layer is to make it | |
77 | easy for application writers to support a wide variety of devices | |
78 | without having to write seperate code for different devices in the | |
79 | same class. | |
5872d924 | 80 | |
24a22ca1 JB |
81 | %description -n libv4l -l pl.UTF-8 |
82 | libv4l to zestaw bibliotek dodający niewielką warstwę abstrakcji dla | |
83 | urządzeń video4linux2. Celem tej warstwy jest ułatwienie autorom | |
84 | aplikacji obsługi szerokiej gamy urządzeń bez pisania osobnego kodu | |
85 | dla różnych urządzeń tej samej klasy. | |
5872d924 | 86 | |
24a22ca1 JB |
87 | %package -n libv4l-devel |
88 | Summary: Header files for libv4l libraries | |
89 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libv4l | |
90 | License: LGPL v2.1+ | |
91 | Group: Development/Libraries | |
92 | Requires: libv4l = %{version}-%{release} | |
93 | ||
94 | %description -n libv4l-devel | |
95 | Header files for libv4l libraries. | |
96 | ||
97 | %description -n libv4l-devel -l pl.UTF-8 | |
98 | Pliki nagłówkowe bibliotek libv4l. | |
5872d924 | 99 | |
6081edf3 JB |
100 | %package -n libv4l-static |
101 | Summary: Static libv4l libraries | |
102 | Summary(pl.UTF-8): Statyczne biblioteki libv4l | |
103 | License: LGPL v2.1+ | |
104 | Group: Development/Libraries | |
105 | Requires: libv4l-devel = %{version}-%{release} | |
106 | ||
107 | %description -n libv4l-static | |
108 | Static libv4l libraries. | |
109 | ||
110 | %description -n libv4l-static -l pl.UTF-8 | |
111 | Statyczne biblioteki libv4l. | |
112 | ||
aac6eedb | 113 | %prep |
24a22ca1 JB |
114 | %setup -q |
115 | ||
aac6eedb | 116 | %build |
6081edf3 JB |
117 | %configure \ |
118 | --disable-silent-rules | |
119 | %{__make} | |
aac6eedb SP |
120 | |
121 | %install | |
122 | rm -rf $RPM_BUILD_ROOT | |
76c43ba6 BZ |
123 | |
124 | %{__make} install \ | |
335dd8cd | 125 | DESTDIR=$RPM_BUILD_ROOT |
aac6eedb | 126 | |
5872d924 TP |
127 | install utils/rds/rds-saa6588 $RPM_BUILD_ROOT%{_bindir} |
128 | install utils/xc3028-firmware/firmware-tool $RPM_BUILD_ROOT%{_bindir}/xc3028-firmware | |
129 | ||
6081edf3 JB |
130 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/{capture-example,stress-buffer} |
131 | %{__rm} $RPM_BUILD_ROOT%{_bindir}/{driver,ioctl,pixfmt,sliced-vbi,vbi}-test | |
132 | ||
133 | # obsoleted by pkg-config | |
134 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
135 | # dlopened modules | |
136 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libv4l/*.la | |
137 | ||
aac6eedb SP |
138 | %clean |
139 | rm -rf $RPM_BUILD_ROOT | |
140 | ||
24a22ca1 JB |
141 | %post -n libv4l -p /sbin/ldconfig |
142 | %postun -n libv4l -p /sbin/ldconfig | |
aac6eedb SP |
143 | |
144 | %files | |
145 | %defattr(644,root,root,755) | |
5872d924 | 146 | %doc ChangeLog README TODO contrib |
31abdcf1 | 147 | %attr(755,root,root) %{_bindir}/cx18-ctl |
5872d924 | 148 | %attr(755,root,root) %{_bindir}/decode_tm6000 |
a82e0b64 JB |
149 | %attr(755,root,root) %{_bindir}/dvb-fe-tool |
150 | %attr(755,root,root) %{_bindir}/dvb-format-convert | |
151 | %attr(755,root,root) %{_bindir}/dvbv5-scan | |
152 | %attr(755,root,root) %{_bindir}/dvbv5-zap | |
31abdcf1 | 153 | %attr(755,root,root) %{_bindir}/ivtv-ctl |
6081edf3 | 154 | %attr(755,root,root) %{_bindir}/rds-ctl |
5872d924 | 155 | %attr(755,root,root) %{_bindir}/rds-saa6588 |
6081edf3 JB |
156 | %attr(755,root,root) %{_bindir}/sliced-vbi-detect |
157 | %attr(755,root,root) %{_bindir}/v4l2-compliance | |
158 | %attr(755,root,root) %{_bindir}/v4l2-ctl | |
159 | %attr(755,root,root) %{_bindir}/v4l2-sysfs-path | |
160 | %attr(755,root,root) %{_bindir}/v4l2grab | |
161 | %attr(755,root,root) %{_bindir}/v4lgrab | |
5872d924 TP |
162 | %attr(755,root,root) %{_bindir}/xc3028-firmware |
163 | %attr(755,root,root) %{_sbindir}/v4l2-dbg | |
164 | ||
24a22ca1 JB |
165 | %files qt |
166 | %defattr(644,root,root,755) | |
5872d924 TP |
167 | %attr(755,root,root) %{_bindir}/qv4l2 |
168 | %{_desktopdir}/qv4l2.desktop | |
169 | %{_iconsdir}/hicolor/*/apps/qv4l2.* | |
24a22ca1 JB |
170 | |
171 | %files -n ir-keytable | |
172 | %defattr(644,root,root,755) | |
31abdcf1 | 173 | %dir %{_sysconfdir}/rc_keymaps |
31abdcf1 | 174 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rc_maps.cfg |
6081edf3 | 175 | /lib/udev/rc_keymaps |
24a22ca1 JB |
176 | /lib/udev/rules.d/70-infrared.rules |
177 | %attr(755,root,root) %{_bindir}/ir-keytable | |
178 | %{_mandir}/man1/ir-keytable.1* | |
179 | ||
180 | %files -n libv4l | |
181 | %defattr(644,root,root,755) | |
6081edf3 JB |
182 | %attr(755,root,root) %{_libdir}/libdvbv5.so.*.*.* |
183 | %attr(755,root,root) %ghost %{_libdir}/libdvbv5.so.0 | |
184 | %attr(755,root,root) %{_libdir}/libv4l1.so.*.*.* | |
185 | %attr(755,root,root) %ghost %{_libdir}/libv4l1.so.0 | |
186 | %attr(755,root,root) %{_libdir}/libv4l2.so.*.*.* | |
187 | %attr(755,root,root) %ghost %{_libdir}/libv4l2.so.0 | |
188 | %attr(755,root,root) %{_libdir}/libv4l2rds.so.*.*.* | |
189 | %attr(755,root,root) %ghost %{_libdir}/libv4l2rds.so.0 | |
190 | %attr(755,root,root) %{_libdir}/libv4lconvert.so.*.*.* | |
191 | %attr(755,root,root) %ghost %{_libdir}/libv4lconvert.so.0 | |
192 | %attr(755,root,root) %{_libdir}/v4l1compat.so | |
193 | %attr(755,root,root) %{_libdir}/v4l2convert.so | |
31abdcf1 | 194 | %dir %{_libdir}/libv4l |
6081edf3 JB |
195 | %attr(755,root,root) %{_libdir}/libv4l/ov511-decomp |
196 | %attr(755,root,root) %{_libdir}/libv4l/ov518-decomp | |
197 | %attr(755,root,root) %{_libdir}/libv4l/v4l1compat.so | |
198 | %attr(755,root,root) %{_libdir}/libv4l/v4l2convert.so | |
24a22ca1 JB |
199 | |
200 | %files -n libv4l-devel | |
201 | %defattr(644,root,root,755) | |
202 | %doc README.lib* | |
6081edf3 | 203 | %attr(755,root,root) %{_libdir}/libdvbv5.so |
31abdcf1 JB |
204 | %attr(755,root,root) %{_libdir}/libv4l1.so |
205 | %attr(755,root,root) %{_libdir}/libv4l2.so | |
6081edf3 | 206 | %attr(755,root,root) %{_libdir}/libv4l2rds.so |
31abdcf1 | 207 | %attr(755,root,root) %{_libdir}/libv4lconvert.so |
24a22ca1 | 208 | %{_includedir}/libv4l*.h |
6081edf3 JB |
209 | %{_includedir}/dvb-*.h |
210 | %{_pkgconfigdir}/libdvbv5.pc | |
31abdcf1 JB |
211 | %{_pkgconfigdir}/libv4l1.pc |
212 | %{_pkgconfigdir}/libv4l2.pc | |
6081edf3 | 213 | %{_pkgconfigdir}/libv4l2rds.pc |
31abdcf1 | 214 | %{_pkgconfigdir}/libv4lconvert.pc |
6081edf3 JB |
215 | |
216 | %files -n libv4l-static | |
217 | %defattr(644,root,root,755) | |
218 | %{_libdir}/libdvbv5.a | |
219 | %{_libdir}/libv4l1.a | |
220 | %{_libdir}/libv4l2.a | |
221 | %{_libdir}/libv4l2rds.a | |
222 | %{_libdir}/libv4lconvert.a |