From c62eb77bf89fe47ce482e5ca152990aa0bb4bf6a Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:01:12 +0100 Subject: [PATCH] update to 1.20.0 [release 1.20.0-1mamba;Fri Dec 04 2020] --- libv4l.spec | 79 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 30 deletions(-) diff --git a/libv4l.spec b/libv4l.spec index bea537d..cfebc22 100644 --- a/libv4l.spec +++ b/libv4l.spec @@ -1,25 +1,26 @@ Name: libv4l -Version: 1.6.3 +Version: 1.20.0 Release: 1mamba Summary: Collection of video4linux support libraries Group: System/Libraries Vendor: openmamba Distribution: openmamba -Packager: Automatic Build System +Packager: Silvan Calarco URL: http://www.linuxtv.org/downloads/v4l-utils/ -Source0: http://www.linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2 +Source0: https://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2 Source1: qv4l2.desktop Source2: qv4l2.svg License: GPL, LGPL -BuildRequires: desktop-file-utils -BuildRequires: kernelheaders ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libelf-devel BuildRequires: libgcc -BuildRequires: libqt4-devel +BuildRequires: libjpeg-devel BuildRequires: libstdc++6-devel -BuildRequires: libsysfs-devel +BuildRequires: libudev-devel ## AUTOBUILDREQ-END +BuildRequires: desktop-file-utils BuildRoot: %{_tmppath}/%{name}-%{version}-root %description @@ -65,6 +66,16 @@ Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release} %description -n qv4l2 QT v4l2 test control and streaming test application. +%package -n qvidcap +Group: Graphical Desktop/Applications/Multimedia +Summary: QT video capture tool +Requires: libv4l = %{?epoch:%epoch:}%{version}-%{release} + +%description -n qvidcap +QT video capture tool. + +%debug_package + %prep %setup -q -n v4l-utils-%{version} @@ -73,22 +84,19 @@ QT v4l2 test control and streaming test application. --enable-libdvbv5 %make -# CFLAGS="$RPM_OPT_FLAGS" \ -# CXXFLAGS="$RPM_OPT_FLAGS" \ -# PREFIX=%{_prefix} \ -# LIBDIR=%{_libdir} %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -# PREFIX=%{_prefix} \ -# LIBDIR=%{_libdir} mkdir -p %{buildroot}%{_datadir}/applications + desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1} mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps install -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ +%find_lang %{name} --all-name + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -124,7 +132,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/libv4l/ov518-decomp %{_libdir}/libv4l/v4l1compat.so %{_libdir}/libv4l/v4l2convert.so -/lib/udev/rc_keymaps/* %doc COPYING %files devel @@ -132,8 +139,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_includedir}/*.h %dir %{_includedir}/libdvbv5 %{_includedir}/libdvbv5/*.h -%dir %{_includedir}/libdvbv5 -%{_includedir}/libdvbv5/*.h %{_libdir}/libv4l1.a %{_libdir}/libv4l1.la %{_libdir}/libv4l1.so @@ -158,55 +163,69 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_libdir}/pkgconfig/libv4l2rds.pc %doc README.lib-multi-threading TODO ChangeLog -%files -n v4l-utils +%files -n v4l-utils -f %{name}.lang %defattr(-,root,root) %dir %{_sysconfdir}/rc_keymaps %config(noreplace) %{_sysconfdir}/rc_maps.cfg -/lib/udev/rules.d/70-infrared.rules +%{_bindir}/cec-compliance +%{_bindir}/cec-ctl +%{_bindir}/cec-follower %{_bindir}/cx18-ctl %{_bindir}/dvb-fe-tool %{_bindir}/dvb-format-convert +%{_bindir}/dvbv5-daemon %{_bindir}/dvbv5-scan %{_bindir}/dvbv5-zap %{_bindir}/media-ctl +%{_bindir}/ir-ctl %{_bindir}/ir-keytable %{_bindir}/ivtv-ctl %{_bindir}/media-ctl %{_bindir}/v4l2-ctl %{_bindir}/v4l2-sysfs-path +%{_udevrulesdir}/70-infrared.rules +%{_unitdir}/systemd-udevd.service.d/50-rc_keymap.conf +/lib/udev/rc_keymaps/* +%{_mandir}/man1/cec-compliance.1* +%{_mandir}/man1/cec-ctl.1* +%{_mandir}/man1/cec-follower.1* %{_mandir}/man1/dvb-fe-tool.1* %{_mandir}/man1/dvb-format-convert.1* %{_mandir}/man1/dvbv5-scan.1* %{_mandir}/man1/dvbv5-zap.1* +%{_mandir}/man1/ir-ctl.1* %{_mandir}/man1/ir-keytable.1* +%{_mandir}/man1/v4l2-compliance.1* +%{_mandir}/man1/v4l2-ctl.1* +%{_mandir}/man5/rc_keymap.5* %files -n v4l-dev-tools %defattr(-,root,root) %{_bindir}/decode_tm6000 %{_bindir}/v4l2-compliance %{_sbindir}/v4l2-dbg -#%{_bindir}/capture-example -#%{_bindir}/driver-test -#%{_bindir}/ioctl-test -#%{_bindir}/pixfmt-test %{_bindir}/rds-ctl -#%{_bindir}/sliced-vbi-detect -#%{_bindir}/sliced-vbi-test -#%{_bindir}/stress-buffer -#%{_bindir}/v4l2grab -#%{_bindir}/v4lgrab -#%{_bindir}/vbi-test %files -n qv4l2 %defattr(-,root,root) %{_bindir}/qv4l2 -%{_mandir}/man1/qv4l2.1.gz %{_datadir}/applications/qv4l2.desktop %{_datadir}/icons/hicolor/*/apps/qv4l2.png %{_datadir}/icons/hicolor/scalable/apps/qv4l2.svg -%{_mandir}/man1/qv4l2.1.gz +%{_mandir}/man1/qv4l2.1* + +%files -n qvidcap +%defattr(-,root,root) +%{_bindir}/qvidcap +%{_datadir}/applications/qvidcap.desktop +%{_datadir}/icons/hicolor/*/apps/qvidcap.png +%{_datadir}/icons/hicolor/scalable/apps/qvidcap.svg +%{_mandir}/man1/qvidcap.1* %changelog +* Fri Dec 04 2020 Silvan Calarco 1.20.0-1mamba +- update to 1.20.0 + * Mon Jun 01 2015 Automatic Build System 1.6.3-1mamba - automatic update by autodist