]> git.pld-linux.org Git - packages/v4l-utils.git/blame - v4l-utils.spec
- updated to 0.8.6
[packages/v4l-utils.git] / v4l-utils.spec
CommitLineData
31abdcf1
JB
1Summary: Collection of Video4Linux utilities
2Summary(pl.UTF-8): Zbiór narzędzi do urządzeń Video4Linux
24a22ca1 3Name: v4l-utils
b0bb5368 4Version: 0.8.6
aac6eedb 5Release: 1
24a22ca1
JB
6License: GPL v2+ (utilities), LGPL v2.1+ (libraries)
7Group: Applications/System
8Source0: http://linuxtv.org/downloads/v4l-utils/%{name}-%{version}.tar.bz2
b0bb5368 9# Source0-md5: 80062780ae90e5955473b09b31e9828a
5872d924
TP
10URL: http://hansdegoede.livejournal.com/
11BuildRequires: QtGui-devel
b0bb5368 12BuildRequires: libjpeg-devel
5872d924 13BuildRequires: libstdc++-devel
aac6eedb
SP
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
24a22ca1
JB
17A series of utilities for media devices, allowing to handle the
18proprietary formats available at most webcams (libv4l), and providing
19tools to test V4L devices.
aac6eedb 20
31abdcf1
JB
21%description -l pl.UTF-8
22Zbiór narzędzi do urządzeń multimedialnych, pozwalający obsługiwać
23własnościowe formaty dostępne w większości kamer internetowych
24(libv4l) oraz testować urządzenia V4L.
25
24a22ca1 26%package qt
31abdcf1
JB
27Summary: Qt-based V4L2 test Utility
28Summary(pl.UTF-8): Narzędzie testowe V4L2 oparte na Qt
24a22ca1
JB
29License: GPL v2+
30Group: X11/Applications
335dd8cd 31
24a22ca1 32%description qt
31abdcf1
JB
33Graphical Qt V4L2 control panel.
34
35%description qt -l pl.UTF-8
36Graficzny panel kontrolny V4L2 oparty na Qt.
aac6eedb 37
5872d924
TP
38%package -n ir-keytable
39Summary: Alter keymaps of Remote Controller devices
31abdcf1 40Summary(pl.UTF-8): Zmiana map klawiszy urządzeń do zdalnego sterowania
5872d924
TP
41License: GPL v2+
42Group: Applications/Console
43
44%description -n ir-keytable
111595d9
TP
45Dump, Load or Modify IR receiver input tables. This package allows one
46to change the keymap of controller receivers. Those receivers are
47found as infrared receivers on DVB sticks or on framegrabber cards.
48Via ir-keytable the mapping from a scancode to the generated event can
31abdcf1
JB
49be customized and made persistent.
50
51%description -n ir-keytable -l pl.UTF-8
52ir-keytable to narzędzie pozwalające na zrzucanie, wczytywanie i
53modyfikowanie tablic wejściowych odbiorników podczerwieni (IR). Ten
54pakiet pozwala na zmianę tablic klawiszy odbiorników pilotów.
55Odbiorniki podczerwieni występują na interfejsach DVB lub kartach
56framegrabberów. Dzięki użyciu ir-keytable można zmienić i zachować
57odwzorowania między skankodami a generowanymi zdarzeniami.
5872d924 58
24a22ca1
JB
59%package -n libv4l
60Summary: Abstraction layer on top of video4linux2 devices
61Summary(pl.UTF-8): Warstwa abstrakcji dla urządzeń video4linux2
62License: LGPL v2.1+
63Group: Libraries
5872d924 64
24a22ca1
JB
65%description -n libv4l
66Collection of libraries which adds a thin abstraction layer on top of
67video4linux2 devices. The purpose of this (thin) layer is to make it
68easy for application writers to support a wide variety of devices
69without having to write seperate code for different devices in the
70same class.
5872d924 71
24a22ca1
JB
72%description -n libv4l -l pl.UTF-8
73libv4l to zestaw bibliotek dodający niewielką warstwę abstrakcji dla
74urządzeń video4linux2. Celem tej warstwy jest ułatwienie autorom
75aplikacji obsługi szerokiej gamy urządzeń bez pisania osobnego kodu
76dla różnych urządzeń tej samej klasy.
5872d924 77
24a22ca1
JB
78%package -n libv4l-devel
79Summary: Header files for libv4l libraries
80Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libv4l
81License: LGPL v2.1+
82Group: Development/Libraries
83Requires: libv4l = %{version}-%{release}
84
85%description -n libv4l-devel
86Header files for libv4l libraries.
87
88%description -n libv4l-devel -l pl.UTF-8
89Pliki nagłówkowe bibliotek libv4l.
5872d924 90
aac6eedb 91%prep
24a22ca1
JB
92%setup -q
93
5f209ac2 94%if "%{pld_release}" == "ac"
95%{__sed} -i 's/-fvisibility=hidden//' */Makefile
96%endif
aac6eedb
SP
97
98%build
5f209ac2 99%{__make} \
100 CC="%{__cc}" \
31abdcf1 101 CXX="%{__cxx}" \
5f209ac2 102 CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall" \
31abdcf1 103 CXXFLAGS="%{rpmcppflags} %{rpmcxxflags} -Wall" \
5f209ac2 104 LDFLAGS="%{rpmcflags} %{rpmldflags}"
aac6eedb
SP
105
106%install
107rm -rf $RPM_BUILD_ROOT
76c43ba6
BZ
108
109%{__make} install \
335dd8cd
JB
110 PREFIX=%{_prefix} \
111 LIBDIR=%{_libdir} \
112 DESTDIR=$RPM_BUILD_ROOT
aac6eedb 113
5872d924
TP
114install utils/rds/rds-saa6588 $RPM_BUILD_ROOT%{_bindir}
115install utils/xc3028-firmware/firmware-tool $RPM_BUILD_ROOT%{_bindir}/xc3028-firmware
116
aac6eedb
SP
117%clean
118rm -rf $RPM_BUILD_ROOT
119
24a22ca1
JB
120%post -n libv4l -p /sbin/ldconfig
121%postun -n libv4l -p /sbin/ldconfig
aac6eedb
SP
122
123%files
124%defattr(644,root,root,755)
5872d924 125%doc ChangeLog README TODO contrib
31abdcf1 126%attr(755,root,root) %{_bindir}/cx18-ctl
5872d924 127%attr(755,root,root) %{_bindir}/decode_tm6000
31abdcf1 128%attr(755,root,root) %{_bindir}/ivtv-ctl
5872d924
TP
129%attr(755,root,root) %{_bindir}/rds-saa6588
130%attr(755,root,root) %{_bindir}/v4l2-*
131%attr(755,root,root) %{_bindir}/xc3028-firmware
132%attr(755,root,root) %{_sbindir}/v4l2-dbg
133
24a22ca1
JB
134%files qt
135%defattr(644,root,root,755)
5872d924
TP
136%attr(755,root,root) %{_bindir}/qv4l2
137%{_desktopdir}/qv4l2.desktop
138%{_iconsdir}/hicolor/*/apps/qv4l2.*
24a22ca1
JB
139
140%files -n ir-keytable
141%defattr(644,root,root,755)
31abdcf1
JB
142%dir %{_sysconfdir}/rc_keymaps
143%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rc_keymaps/*
144%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rc_maps.cfg
24a22ca1
JB
145/lib/udev/rules.d/70-infrared.rules
146%attr(755,root,root) %{_bindir}/ir-keytable
147%{_mandir}/man1/ir-keytable.1*
148
149%files -n libv4l
150%defattr(644,root,root,755)
31abdcf1
JB
151%attr(755,root,root) %{_libdir}/libv4l1.so.0
152%attr(755,root,root) %{_libdir}/libv4l2.so.0
153%attr(755,root,root) %{_libdir}/libv4lconvert.so.0
154%dir %{_libdir}/libv4l
155%attr(755,root,root) %{_libdir}/libv4l/*
24a22ca1
JB
156
157%files -n libv4l-devel
158%defattr(644,root,root,755)
159%doc README.lib*
31abdcf1
JB
160%attr(755,root,root) %{_libdir}/libv4l1.so
161%attr(755,root,root) %{_libdir}/libv4l2.so
162%attr(755,root,root) %{_libdir}/libv4lconvert.so
24a22ca1 163%{_includedir}/libv4l*.h
31abdcf1
JB
164%{_pkgconfigdir}/libv4l1.pc
165%{_pkgconfigdir}/libv4l2.pc
166%{_pkgconfigdir}/libv4lconvert.pc
This page took 0.056477 seconds and 4 git commands to generate.