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