v4l-utils-vl.spec 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. Name: v4l-utils
  2. Version: 1.20.0
  3. Release: 1%{?_dist_release}
  4. Summary: Utilities for video4linux and DVB devices
  5. Group: multimedia
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. # ir-keytable and v4l2-sysfs-path are GPLv2 only
  9. License: GPLv2+ and GPLv2
  10. URL: https://linuxtv.org/downloads/v4l-utils/
  11. Source0: https://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2
  12. BuildRequires: libudev-devel libjpeg-devel kernel-headers desktop-file-utils
  13. BuildRequires: alsa-lib-devel doxygen gettext
  14. BuildRequires: qt5-qtbase-devel qt5-qt3d-devel
  15. Requires: libv4l = %{version}-%{release}
  16. %description
  17. v4l-utils is a collection of various video4linux (V4L) and DVB utilities. The
  18. main v4l-utils package contains cx18-ctl, ir-keytable, ivtv-ctl, v4l2-ctl and
  19. v4l2-sysfs-path.
  20. %package devel-tools
  21. Summary: Utilities for v4l2 / DVB driver development and debugging
  22. Group: multimedia
  23. # decode_tm6000 is GPLv2 only
  24. License: GPLv2+ and GPLv2
  25. Requires: libv4l = %{version}-%{release}
  26. %description devel-tools
  27. Utilities for v4l2 / DVB driver authors: decode_tm6000, v4l2-compliance and
  28. v4l2-dbg.
  29. %package -n qv4l2
  30. Summary: QT v4l2 test control and streaming test application
  31. Group: multimedia
  32. License: GPLv2+
  33. Requires: libv4l = %{version}-%{release}
  34. %description -n qv4l2
  35. QT v4l2 test control and streaming test application.
  36. %package -n libv4l
  37. Summary: Collection of video4linux support libraries
  38. Group: system
  39. # Some of the decompression helpers are GPLv2, the rest is LGPLv2+
  40. License: LGPLv2+ and GPLv2
  41. %description -n libv4l
  42. libv4l is a collection of libraries which adds a thin abstraction layer on
  43. top of video4linux2 devices. The purpose of this (thin) layer is to make it
  44. easy for application writers to support a wide variety of devices without
  45. having to write separate code for different devices in the same class. libv4l
  46. consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
  47. libv4lconvert offers functions to convert from any (known) pixel-format
  48. to V4l2_PIX_FMT_BGR24 or V4l2_PIX_FMT_YUV420.
  49. libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
  50. of the drivers for those devices supporting v4l1 compatibility (which many
  51. v4l2 drivers do not).
  52. libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
  53. application transparent libv4lconvert conversion where necessary.
  54. %package -n libdvbv5
  55. Summary: Libraries to control, scan and zap on Digital TV channels
  56. Group: system
  57. License: GPLv2
  58. %description -n libdvbv5
  59. Libraries to control, scan and zap on Digital TV channels
  60. %package -n libv4l-devel
  61. Summary: Development files for libv4l
  62. Group: programming
  63. License: LGPLv2+
  64. URL: http://hansdegoede.livejournal.com/3636.html
  65. Requires: libv4l = %{version}-%{release}
  66. %description -n libv4l-devel
  67. The libv4l-devel package contains libraries and header files for
  68. developing applications that use libv4l.
  69. %package -n libdvbv5-devel
  70. Summary: Development files for libdvbv5
  71. Group: programming
  72. License: GPLv2
  73. Requires: libdvbv5%{?_isa} = %{version}-%{release}
  74. %description -n libdvbv5-devel
  75. The libdvbv5-devel package contains libraries and header
  76. files for developing applications that use libdvbv5.
  77. %debug_package
  78. %prep
  79. %setup -q
  80. %build
  81. export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
  82. %configure --disable-static --enable-libdvbv5 --enable-doxygen-man
  83. # Don't use rpath!
  84. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  85. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  86. make %{?_smp_mflags}
  87. make doxygen-run
  88. %install
  89. %make_install
  90. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  91. rm -f $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so}
  92. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
  93. cp -arv %{_builddir}/%{name}-%{version}/doxygen-doc/man/man3 $RPM_BUILD_ROOT%{_mandir}/
  94. rm $RPM_BUILD_ROOT%{_mandir}/man3/_*3
  95. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qv4l2.desktop
  96. %find_lang %{name}
  97. %find_lang libdvbv5
  98. %files -f %{name}.lang
  99. %doc README
  100. %dir %{_sysconfdir}/rc_keymaps
  101. %config(noreplace) %{_sysconfdir}/rc_maps.cfg
  102. /lib/udev/rules.d/70-infrared.rules
  103. /lib/udev/rc_keymaps/*
  104. %{_bindir}/cec-compliance
  105. %{_bindir}/cec-ctl
  106. %{_bindir}/cec-follower
  107. %{_bindir}/cx18-ctl
  108. %{_bindir}/dvb*
  109. %{_bindir}/ir-ctl
  110. %{_bindir}/ir-keytable
  111. %{_bindir}/ivtv-ctl
  112. %{_bindir}/media-ctl
  113. %{_bindir}/rds-ctl
  114. %{_bindir}/v4l2-ctl
  115. %{_bindir}/v4l2-sysfs-path
  116. %{_mandir}/man1/*.1*
  117. %{_mandir}/man5/*.5*
  118. %exclude %{_mandir}/man1/qv4l2.1*
  119. %exclude %{_mandir}/man1/v4l2-compliance.1*
  120. %files devel-tools
  121. %doc README
  122. %{_bindir}/decode_tm6000
  123. %{_bindir}/v4l2-compliance
  124. %{_mandir}/man1/v4l2-compliance.1*
  125. %{_sbindir}/v4l2-dbg
  126. %files -n qv4l2
  127. %doc README
  128. %{_bindir}/qv4l2
  129. %{_bindir}/qvidcap
  130. %{_datadir}/applications/qv4l2.desktop
  131. %{_datadir}/applications/qvidcap.desktop
  132. %{_datadir}/icons/hicolor/*/apps/qv4l2.*
  133. %{_datadir}/icons/hicolor/*/apps/qvidcap.*
  134. %{_mandir}/man1/qv4l2.1*
  135. %files -n libv4l
  136. %doc ChangeLog README.libv4l TODO
  137. %license COPYING.libv4l COPYING
  138. %{_libdir}/libv4l
  139. %{_libdir}/libv4l*.so.*
  140. %files -n libv4l-devel
  141. %doc README.lib-multi-threading
  142. %{_includedir}/libv4l*.h
  143. %{_libdir}/libv4l*.so
  144. %{_libdir}/pkgconfig/libv4l*.pc
  145. %files -n libdvbv5 -f libdvbv5.lang
  146. %doc ChangeLog lib/libdvbv5/README
  147. %license COPYING
  148. %{_libdir}/libdvbv5*.so.*
  149. %files -n libdvbv5-devel
  150. %{_includedir}/libdvbv5/*.h
  151. %{_libdir}/libdvbv5*.so
  152. %{_libdir}/pkgconfig/libdvbv5*.pc
  153. %{_mandir}/man3/*.3*
  154. %changelog
  155. * Fri Apr 23 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.20.0-1
  156. - new upstream release.
  157. - dropped scriptlets.
  158. * Thu Sep 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.16.7-1
  159. - new upstream release.
  160. * Wed Feb 21 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.14.2-1
  161. - new upstream release.
  162. * Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.1-1
  163. - new upstream release.
  164. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.0-1
  165. - initial build for Vine Linux
  166. * Sat Aug 3 2013 Hans de Goede <hdegoede@redhat.com> - 1.0.0-1
  167. - New upstream release 1.0.0 final
  168. - Drop libdvb5 (made private upstream for now)
  169. * Fri Jun 14 2013 Hans de Goede <hdegoede@redhat.com> - 0.9.5-2
  170. - Add a few libv4l2rds patches from upstream, which bring libv4l2rds to its
  171. final API / ABI, so that apps build against it won't need a rebuild in the
  172. future
  173. * Sun Jun 9 2013 Hans de Goede <hdegoede@redhat.com> - 0.9.5-1
  174. - New upstream release 0.9.5 (rhbz#970412)
  175. - Modernize specfile a bit
  176. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-6
  177. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  178. * Mon Jan 21 2013 Adam Tkac <atkac redhat com> - 0.8.8-5
  179. - rebuild due to "jpeg8-ABI" feature drop
  180. * Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.8.8-4
  181. - rebuild against new libjpeg
  182. * Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-3
  183. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  184. * Mon Jul 9 2012 Hans de Goede <hdegoede@redhat.com> - 0.8.8-2
  185. - Cherry-pick 2 patches from upstream git fixing an exotic crash (rhbz#838279)
  186. * Tue May 22 2012 Hans de Goede <hdegoede@redhat.com> - 0.8.8-1
  187. - New upstream release 0.8.8
  188. - Add patches from upstream git to improve Pixart JPEG decoding
  189. - Add patch from upstream git to fix building with latest kernels (rhbz#823863)
  190. * Mon Apr 9 2012 Hans de Goede <hdegoede@redhat.com> - 0.8.7-1
  191. - New upstream release 0.8.7
  192. - Fixes rhbz#807656
  193. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5-2
  194. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  195. * Sun Jul 17 2011 Hans de Goede <hdegoede@redhat.com> 0.8.5-1
  196. - New upstream release 0.8.5
  197. - Fixes rhbz#711492
  198. * Wed Jun 1 2011 Hans de Goede <hdegoede@redhat.com> 0.8.4-1
  199. - New upstream release 0.8.4
  200. * Sat Mar 12 2011 Hans de Goede <hdegoede@redhat.com> 0.8.3-2
  201. - Add a .desktop file for qv4l2
  202. - Add fully versioned Requires on libv4l to other (sub)packages
  203. * Thu Feb 10 2011 Hans de Goede <hdegoede@redhat.com> 0.8.3-1
  204. - New upstream release 0.8.3
  205. * Wed Jan 26 2011 Hans de Goede <hdegoede@redhat.com> 0.8.2-3
  206. - Add missing BuildRequires: kernel-headers
  207. * Mon Jan 24 2011 Hans de Goede <hdegoede@redhat.com> 0.8.2-2
  208. - Change tarbal to official upstream 0.8.2 release
  209. - This fixes multiple Makefile issues pointed out in the review (#671883)
  210. - Add ir-keytable config files
  211. - Explicitly specify CXXFLAGS so that qv4l2 gets build with rpm_opt_flags too
  212. * Sat Jan 22 2011 Hans de Goede <hdegoede@redhat.com> 0.8.2-1
  213. - Initial Fedora package