1Name: v4l-utils 2Version: @PACKAGE_VERSION@ 3Release: 1%{?dist} 4Summary: Utilities for video4linux and DVB devices 5# libdvbv5, dvbv5 utils, ir-keytable and v4l2-sysfs-path are GPLv2 only 6License: GPLv2+ and GPLv2 7URL: http://www.linuxtv.org/downloads/v4l-utils/ 8 9Source0: http://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.xz 10 11BuildRequires: alsa-lib-devel 12BuildRequires: desktop-file-utils 13BuildRequires: doxygen 14BuildRequires: gettext 15BuildRequires: kernel-headers 16BuildRequires: libjpeg-devel 17BuildRequires: qt5-qtbase-devel 18BuildRequires: meson >= 0.56 19BuildRequires: json-c-devel 20 21BuildRequires: systemd-devel 22# For /usr/share/pkgconfig/udev.pc 23BuildRequires: systemd 24 25 26# BPF decoder dependencies - currently broken 27%define with_bpf 0 28 29%if %{with_bpf} 30BuildRequires: elfutils-libelf-devel clang 31%endif 32 33# For /lib/udev/rules.d ownership 34Requires: systemd-udev 35Requires: libv4l%{?_isa} = %{version}-%{release} 36 37%description 38v4l-utils is a collection of various video4linux (V4L) and DVB utilities. The 39main v4l-utils package contains cx18-ctl, ir-keytable, ivtv-ctl, v4l2-ctl and 40v4l2-sysfs-path. 41 42 43%package devel-tools 44Summary: Utilities for v4l2 / DVB driver development and debugging 45# decode_tm6000 is GPLv2 only 46License: GPLv2+ and GPLv2 47Requires: libv4l%{?_isa} = %{version}-%{release} 48 49%description devel-tools 50Utilities for v4l2 / DVB driver authors: decode_tm6000, v4l2-compliance and 51v4l2-dbg. 52 53 54%package -n qv4l2 55Summary: QT v4l2 test control and streaming test application 56License: GPLv2+ 57Requires: libv4l%{?_isa} = %{version}-%{release} 58 59%description -n qv4l2 60QT v4l2 test control and streaming test application. 61 62 63%package -n libv4l 64Summary: Collection of video4linux support libraries 65# Some of the decompression helpers are GPLv2, the rest is LGPLv2+ 66License: LGPLv2+ and GPLv2 67URL: http://hansdegoede.livejournal.com/3636.html 68 69%description -n libv4l 70libv4l is a collection of libraries which adds a thin abstraction layer on 71top of video4linux2 devices. The purpose of this (thin) layer is to make it 72easy for application writers to support a wide variety of devices without 73having to write separate code for different devices in the same class. libv4l 74consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2. 75 76libv4lconvert offers functions to convert from any (known) pixel-format 77to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420. 78 79libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent 80of the drivers for those devices supporting v4l1 compatibility (which many 81v4l2 drivers do not). 82 83libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the 84application transparent libv4lconvert conversion where necessary. 85 86 87%package -n libdvbv5 88Summary: Libraries to control, scan and zap on Digital TV channels 89License: GPLv2 90 91%description -n libdvbv5 92Libraries to control, scan and zap on Digital TV channels 93 94%package -n libdvbv5-gconv 95Summary: Gconv files with the charsets For Digital TV. 96License: GPLv2 97 98%description -n libdvbv5-gconv 99Some digital TV standards define their own charsets. Add library 100support for them: EN 300 468 and ARIB STD-B24 101 102%package -n libv4l-devel 103Summary: Development files for libv4l 104License: LGPLv2+ 105URL: http://hansdegoede.livejournal.com/3636.html 106Requires: libv4l%{?_isa} = %{version}-%{release} 107 108%description -n libv4l-devel 109The libv4l-devel package contains libraries and header files for 110developing applications that use libv4l. 111 112 113%package -n libdvbv5-devel 114Summary: Development files for libdvbv5 115License: GPLv2 116Requires: libdvbv5%{?_isa} = %{version}-%{release} 117 118%description -n libdvbv5-devel 119The libdvbv5-devel package contains libraries and header 120files for developing applications that use libdvbv5. 121 122 123%prep 124%autosetup -p1 125%meson -Dbpf=disabled -Ddoxygen-man=true -Ddoxygen-html=false 126 127%build 128%meson_build 129 130%install 131%meson_install 132find $RPM_BUILD_ROOT -name '*.la' -delete 133rm -f $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so} 134desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qv4l2.desktop 135%find_lang %{name} 136%find_lang libdvbv5 137 138 139%ldconfig_scriptlets -n libv4l 140 141%ldconfig_scriptlets -n libdvbv5 142 143%files -f %{name}.lang 144%doc README.md 145%dir %{_sysconfdir}/rc_keymaps 146%config(noreplace) %{_sysconfdir}/rc_maps.cfg 147%{_udevrulesdir}/70-infrared.rules 148%{_udevrulesdir}/../rc_keymaps/* 149%{_bindir}/cx18-ctl 150%{_bindir}/cec* 151%{_bindir}/dvb* 152%{_bindir}/ir-ctl 153%{_bindir}/ir-keytable 154%{_bindir}/ivtv-ctl 155%{_bindir}/media-ctl 156%{_bindir}/rds-ctl 157%{_bindir}/v4l2-ctl 158%{_bindir}/v4l2-sysfs-path 159%{_mandir}/man1/*.1* 160%{_mandir}/man5/*.5* 161%exclude %{_mandir}/man1/qv4l2.1* 162%exclude %{_mandir}/man1/v4l2-compliance.1* 163 164%files devel-tools 165%doc README.md 166%{_bindir}/decode_tm6000 167%{_bindir}/v4l2-compliance 168%{_mandir}/man1/v4l2-compliance.1* 169%{_sbindir}/v4l2-dbg 170 171%files -n qv4l2 172%doc README.md 173%{_bindir}/qv4l2 174%{_bindir}/qvidcap 175%{_bindir}/v4l2-tracer 176%{_datadir}/applications/qv4l2.desktop 177%{_datadir}/applications/qvidcap.desktop 178%{_datadir}/icons/hicolor/*/apps/qv4l2.* 179%{_datadir}/icons/hicolor/*/apps/qvidcap.* 180%{_mandir}/man1/qv4l2.1* 181%{_mandir}/man1/qvidcap.1* 182 183%files -n libv4l 184%doc ChangeLog README.libv4l TODO 185%license COPYING.libv4l COPYING.libdvbv5 COPYING 186%{_libdir}/libv4l 187%{_libdir}/libv4l*.so.* 188 189%files -n libv4l-devel 190%doc README.lib-multi-threading 191%{_includedir}/libv4l*.h 192%{_libdir}/libv4l*.so 193%{_libdir}/pkgconfig/libv4l*.pc 194 195%files -n libdvbv5 -f libdvbv5.lang 196%doc ChangeLog lib/libdvbv5/README 197%license COPYING 198%{_libdir}/libdvbv5*.so.* 199 200%files -n libdvbv5-gconv 201%{_libdir}/gconv/*.so 202%{_libdir}/gconv/gconv-modules 203 204%files -n libdvbv5-devel 205%{_includedir}/libdvbv5/*.h 206%{_libdir}/libdvbv5*.so 207%{_libdir}/pkgconfig/libdvbv5*.pc 208%{_mandir}/man3/*.3* 209 210 211%changelog 212* Mon Mar 20 2023 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.25.0-1 213- Updated to latest development branch 214 215* Sun Sep 22 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.18.0-1 216- Updated to latest stable release 217 218* Mon Sep 02 2019 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.16.7-1 219- Updated to new fix release with NIT parsing fix 220 221* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.5-4 222- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild 223 224* Wed May 1 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.5-3 225- The actual fix for libdvbv5 (rhbz 1695023) 226 227* Tue Apr 16 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.5-2 228- Upstream fix for libdvbv5 (rhbz 1695023) 229 230* Sun Mar 31 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.5-1 231- New upstream release 1.16.5 232 233* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16.3-2 234- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild 235 236* Mon Dec 17 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.6.3-1 237- Updated to new fix release, with should solve BPF protocol packaging issues 238 239* Thu Nov 22 2018 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 1.6.2-2 240- Add dependencies needed to build BPF code 241 242* Mon Nov 19 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.16.2-1 243- New upstream release 1.16.2 244 245* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.2-3 246- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild 247 248* Sun Apr 29 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.14.2-2 249- Add sys/sysmacros.h include fix patch 250 251* Sun Apr 29 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.14.2-1 252- New upstream release 1.14.2 253 254* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.5-7 255- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild 256 257* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.12.5-6 258- Remove obsolete scriptlets 259 260* Thu Nov 02 2017 Hans de Goede <hdegoede@redhat.com> - 1.12.5-5 261- Fix libv4lconvert failing on some hardware (rhbz#1508706) 262 263* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.5-4 264- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 265 266* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.5-3 267- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 268 269* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.5-2 270- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 271 272* Fri May 12 2017 Hans de Goede <hdegoede@redhat.com> - 1.12.5-1 273- New upstream bugfix release 1.12.5 274 275* Mon May 8 2017 Hans de Goede <hdegoede@redhat.com> - 1.12.4-1 276- New upstream release 1.12.4 277 278* Sun Mar 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.12.3-1 279- New upstream release 1.12.3 280 281* Sun Feb 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.12.2-1 282- New upstream release 1.12.2 283- Add new CEC utils 284 285* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2 286- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 287 288* Thu Dec 15 2016 Hans de Goede <hdegoede@redhat.com> - 1.10.1-1 289- New upstream release 1.10.1 290- Fix FTBFS (rhbz#1402087) 291 292* Tue Mar 1 2016 Hans de Goede <hdegoede@redhat.com> - 1.10.0-2 293- Update upside down table to apply to PEGATRON laptops (rhbz#1311545) 294 295* Wed Feb 24 2016 Hans de Goede <hdegoede@redhat.com> - 1.10.0-1 296- Upgrade to new upstream release 1.10.0 297- Use qt5 instead of qt4 for qv4l2 298 299* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-2 300- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 301 302* Mon Oct 12 2015 Gregor Jasny <gjasny@googlemail.com> - 1.8.1-1 303- Upgrade to version 1.8.1 304 305* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3 306- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 307 308* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.6.2-2 309- Rebuilt for GCC 5 C++11 ABI change 310 311* Sat Nov 22 2014 Mauro Carvalho Chehab <mchehab@osg.samsung.com> - 1.6.2-1 312- Update to version 1.6.2 with contains several bugfixes 313 314* Thu Nov 20 2014 Hans de Goede <hdegoede@redhat.com> - 1.6.0-2 315- Fix crash when decoding 1920x1080 jpeg to YUV420 316 317* Sun Oct 05 2014 Mauro Carvalho Chehab - 1.6.0-1 318- Upgrade to version 1.6.0 319 320* Mon Sep 08 2014 Mauro Carvalho Chehab - 1.4.0-1 321- Upgrade to version 1.4.0 322 323* Fri Aug 22 2014 Mauro Carvalho Chehab - 1.2.1-3 324- Add ALSA support on qv4l2 and fix a couple issues at spec file 325 326* Thu Aug 21 2014 Mauro Carvalho Chehab - 1.2.1-2 327- Update to version 1.2.1 and add package for libdvbv5 328 329* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3 330- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 331 332* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2 333- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 334 335* Sat Aug 3 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.0-1 336- New upstream release 1.0.0 final 337- Drop libdvb5 (made private upstream for now) 338 339* Fri Jun 14 2013 Hans de Goede <hdegoede@redhat.com> - 0.9.5-2 340- Add a few libv4l2rds patches from upstream, which bring libv4l2rds to its 341 final API / ABI, so that apps build against it won't need a rebuild in the 342 future 343 344* Sun Jun 9 2013 Hans de Goede <hdegoede@redhat.com> - 0.9.5-1 345- New upstream release 0.9.5 (rhbz#970412) 346- Modernize specfile a bit 347 348* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-6 349- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 350 351* Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 0.8.8-5 352- rebuild due to "jpeg8-ABI" feature drop 353 354* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.8.8-4 355- rebuild against new libjpeg 356 357* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-3 358- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 359 360* Mon Jul 9 2012 Hans de Goede <hdegoede@redhat.com> - 0.8.8-2 361- Cherry-pick 2 patches from upstream git fixing an exotic crash (rhbz#838279) 362 363* Tue May 22 2012 Hans de Goede <hdegoede@redhat.com> - 0.8.8-1 364- New upstream release 0.8.8 365- Add patches from upstream git to improve Pixart JPEG decoding 366- Add patch from upstream git to fix building with latest kernels (rhbz#823863) 367 368* Mon Apr 9 2012 Hans de Goede <hdegoede@redhat.com> - 0.8.7-1 369- New upstream release 0.8.7 370- Fixes rhbz#807656 371 372* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-2 373- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 374 375* Sun Jul 17 2011 Hans de Goede <hdegoede@redhat.com> 0.8.5-1 376- New upstream release 0.8.5 377- Fixes rhbz#711492 378 379* Wed Jun 1 2011 Hans de Goede <hdegoede@redhat.com> 0.8.4-1 380- New upstream release 0.8.4 381 382* Sat Mar 12 2011 Hans de Goede <hdegoede@redhat.com> 0.8.3-2 383- Add a .desktop file for qv4l2 384- Add fully versioned Requires on libv4l to other (sub)packages 385 386* Thu Feb 10 2011 Hans de Goede <hdegoede@redhat.com> 0.8.3-1 387- New upstream release 0.8.3 388 389* Wed Jan 26 2011 Hans de Goede <hdegoede@redhat.com> 0.8.2-3 390- Add missing BuildRequires: kernel-headers 391 392* Mon Jan 24 2011 Hans de Goede <hdegoede@redhat.com> 0.8.2-2 393- Change tarbal to official upstream 0.8.2 release 394- This fixes multiple Makefile issues pointed out in the review (#671883) 395- Add ir-keytable config files 396- Explicitly specify CXXFLAGS so that qv4l2 gets build with rpm_opt_flags too 397 398* Sat Jan 22 2011 Hans de Goede <hdegoede@redhat.com> 0.8.2-1 399- Initial Fedora package 400