diff --git a/v4l-utils.spec b/v4l-utils.spec index cb694b5..f800b99 100644 --- a/v4l-utils.spec +++ b/v4l-utils.spec @@ -8,9 +8,11 @@ License: GPLv2+ and GPLv2 URL: http://www.linuxtv.org/downloads/v4l-utils/ Source0: http://linuxtv.org/downloads/v4l-utils/v4l-utils-%{version}.tar.bz2 BuildRequires: libjpeg-devel qt4-devel kernel-headers desktop-file-utils -# For /lib/udev/rules.d ownership +# For %{_prefix}/lib/udev/rules.d ownership Requires: udev Requires: libv4l = %{version}-%{release} +Conflicts: udev < 176 +Conflicts: filesystem < 3 %description v4l-utils is a collection of various video4linux (V4L) and DVB utilities. The @@ -77,7 +79,8 @@ developing applications that use libv4l. %prep %setup -q - +# FIXME +sed -i -e 's#/lib/udev#%{_prefix}/lib/udev#g' utils/keytable/Makefile %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ @@ -112,7 +115,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %dir %{_sysconfdir}/rc_keymaps %config(noreplace) %{_sysconfdir}/rc_keymaps/* %config(noreplace) %{_sysconfdir}/rc_maps.cfg -/lib/udev/rules.d/70-infrared.rules +%{_prefix}/lib/udev/rules.d/70-infrared.rules %{_bindir}/cx18-ctl %{_bindir}/ir-keytable %{_bindir}/ivtv-ctl