Name: v4l2ucp Version: 2.0.1 Release: 29%{?dist} Summary: Video4linux universal control panel License: GPLv2+ URL: http://v4l2ucp.sourceforge.net/ Source0: http://downloads.sourceforge.net/v4l2ucp/v4l2ucp-%{version}.tar.gz Patch0: v4l2ucp-1.3-libv4l.patch Patch1: v4l2ucp-2.0.1-desktop.patch Patch2: v4l2ucp-2.0.1-better-textinput.patch Patch3: v4l2ucp-2.0.1-no-more-v4l1.patch Patch4: v4l2ucp-2.0.1-flags.patch BuildRequires: qt-devel libXi-devel libXmu-devel libv4l-devel cmake BuildRequires: desktop-file-utils Requires: hicolor-icon-theme %description v4l2 is a control panel for video4linux2 devices, it reads a description of the controls that the V4L2 device supports from the device, and presents the user with a graphical means for adjusting those controls. It allows for controlling multiple devices. Controls can be updated with the device status either manually, or periodically and there is an easy way to reset one or all the controls to their default state. %prep %autosetup -p1 %build %cmake %cmake_build %install %cmake_install # below is the desktop file and icon stuff. desktop-file-install --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps mv $RPM_BUILD_ROOT%{_datadir}/icons/%{name}.png \ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps %files %license COPYING %doc README %{_bindir}/%{name} %{_bindir}/v4l2ctrl %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/128x128/apps/%{name}.png %changelog * Sat Jul 23 2022 Fedora Release Engineering - 2.0.1-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.0.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.0.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.0.1-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.0.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 2.0.1-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 2.0.1-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 2.0.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 2.0.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 2.0.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 18 2018 Igor Gnatenko - 2.0.1-19 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 2.0.1-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 2.0.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 2.0.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 2.0.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 2.0.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 2.0.1-13 - Rebuilt for GCC 5 C++11 ABI change * Mon Aug 18 2014 Fedora Release Engineering - 2.0.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 2.0.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 2.0.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sat Feb 09 2013 Parag Nemade - 2.0.1-9 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - spec cleanup * Sun Jul 22 2012 Fedora Release Engineering - 2.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Feb 28 2012 Fedora Release Engineering - 2.0.1-7 - Rebuilt for c++ ABI breakage * Sat Jan 14 2012 Fedora Release Engineering - 2.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Mar 12 2011 Hans de Goede - 2.0.1-5 - Fix handling of special control flags * Thu Feb 17 2011 Hans de Goede - 2.0.1-4 - Fix building with newer kernel headers (no more linux/videodev.h) * Mon Feb 07 2011 Fedora Release Engineering - 2.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Nov 25 2009 Kevin Kofler 2.0.1-2 - Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI) * Tue Nov 10 2009 Hans de Goede 2.0.1-1 - New upstream release 2.0.1 using qt4 * Sun Sep 27 2009 Orcan Ogetbil 1.3-4 - Update desktop file according to F-12 FedoraStudio feature * Sun Jul 26 2009 Fedora Release Engineering - 1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon May 25 2009 Hans de Goede 1.3-2 - Add libv4l support * Mon May 25 2009 Hans de Goede 1.3-1 - New upstream release 1.3 * Wed Feb 25 2009 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Oct 23 2008 Hans de Goede 1.2-2 - Fix the rpm group - Add a comment about the source of the icon we're using * Thu Oct 23 2008 Hans de Goede 1.2-1 - Initial Fedora package