|
@@ -1,5 +1,5 @@
|
|
|
Name: v4l-utils
|
|
|
-Version: 1.0.0
|
|
|
+Version: 1.10.1
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: Utilities for video4linux and DVB devices
|
|
|
Group: Applications/System
|
|
@@ -8,6 +8,7 @@ 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
|
|
|
+BuildRequires: alsa-lib-devel doxygen gettext
|
|
|
# For /lib/udev/rules.d ownership
|
|
|
Requires: eudev
|
|
|
Requires: libv4l = %{version}-%{release}
|
|
@@ -63,6 +64,15 @@ libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
|
|
|
application transparent libv4lconvert conversion where necessary.
|
|
|
|
|
|
|
|
|
+%package -n libdvbv5
|
|
|
+Summary: Libraries to control, scan and zap on Digital TV channels
|
|
|
+Group: Development/Libraries
|
|
|
+License: GPLv2
|
|
|
+
|
|
|
+%description -n libdvbv5
|
|
|
+Libraries to control, scan and zap on Digital TV channels
|
|
|
+
|
|
|
+
|
|
|
%package -n libv4l-devel
|
|
|
Summary: Development files for libv4l
|
|
|
Group: Development/Libraries
|
|
@@ -75,29 +85,49 @@ The libv4l-devel package contains libraries and header files for
|
|
|
developing applications that use libv4l.
|
|
|
|
|
|
|
|
|
+%package -n libdvbv5-devel
|
|
|
+Summary: Development files for libdvbv5
|
|
|
+Group: Development/Libraries
|
|
|
+License: GPLv2
|
|
|
+Requires: libdvbv5%{?_isa} = %{version}-%{release}
|
|
|
+
|
|
|
+%description -n libdvbv5-devel
|
|
|
+The libdvbv5-devel package contains libraries and header
|
|
|
+files for developing applications that use libdvbv5.
|
|
|
+
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q
|
|
|
|
|
|
-
|
|
|
%build
|
|
|
-%configure --disable-static
|
|
|
+%configure --disable-static --enable-libdvbv5 --enable-doxygen-man
|
|
|
# Don't use rpath!
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
make %{?_smp_mflags}
|
|
|
+make doxygen-run
|
|
|
|
|
|
|
|
|
%install
|
|
|
%make_install
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
-rm $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so}
|
|
|
+rm -f $RPM_BUILD_ROOT%{_libdir}/{v4l1compat.so,v4l2convert.so}
|
|
|
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man3/
|
|
|
+cp -arv %{_builddir}/%{name}-%{version}/doxygen-doc/man/man3 $RPM_BUILD_ROOT%{_mandir}/
|
|
|
+rm $RPM_BUILD_ROOT%{_mandir}/man3/_*3
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/qv4l2.desktop
|
|
|
+%find_lang %{name}
|
|
|
+%find_lang libdvbv5
|
|
|
|
|
|
|
|
|
%post -n libv4l -p /sbin/ldconfig
|
|
|
|
|
|
%postun -n libv4l -p /sbin/ldconfig
|
|
|
|
|
|
+%post -n libdvbv5 -p /sbin/ldconfig
|
|
|
+
|
|
|
+%postun -n libdvbv5 -p /sbin/ldconfig
|
|
|
+
|
|
|
%post -n qv4l2
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
@@ -121,15 +151,19 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{_bindir}/dvb*
|
|
|
%{_bindir}/ir-keytable
|
|
|
%{_bindir}/ivtv-ctl
|
|
|
+%{_bindir}/media-ctl
|
|
|
%{_bindir}/rds-ctl
|
|
|
%{_bindir}/v4l2-ctl
|
|
|
%{_bindir}/v4l2-sysfs-path
|
|
|
-%{_mandir}/man1/ir-keytable.1*
|
|
|
+%{_mandir}/man1/*.1*
|
|
|
+%exclude %{_mandir}/man1/qv4l2.1*
|
|
|
+%exclude %{_mandir}/man1/v4l2-compliance.1*
|
|
|
|
|
|
%files devel-tools
|
|
|
%doc README
|
|
|
%{_bindir}/decode_tm6000
|
|
|
%{_bindir}/v4l2-compliance
|
|
|
+%{_mandir}/man1/v4l2-compliance.1*
|
|
|
%{_sbindir}/v4l2-dbg
|
|
|
|
|
|
%files -n qv4l2
|
|
@@ -137,9 +171,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{_bindir}/qv4l2
|
|
|
%{_datadir}/applications/qv4l2.desktop
|
|
|
%{_datadir}/icons/hicolor/*/apps/qv4l2.*
|
|
|
+%{_mandir}/man1/qv4l2.1*
|
|
|
|
|
|
%files -n libv4l
|
|
|
-%doc COPYING.libv4l COPYING ChangeLog README.libv4l TODO
|
|
|
+%doc ChangeLog README.libv4l TODO
|
|
|
+%license COPYING.libv4l COPYING
|
|
|
%{_libdir}/libv4l
|
|
|
%{_libdir}/libv4l*.so.*
|
|
|
|
|
@@ -149,8 +185,22 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{_libdir}/libv4l*.so
|
|
|
%{_libdir}/pkgconfig/libv4l*.pc
|
|
|
|
|
|
+%files -n libdvbv5 -f libdvbv5.lang
|
|
|
+%doc ChangeLog lib/libdvbv5/README
|
|
|
+%license COPYING
|
|
|
+%{_libdir}/libdvbv5*.so.*
|
|
|
+
|
|
|
+%files -n libdvbv5-devel
|
|
|
+%{_includedir}/libdvbv5/*.h
|
|
|
+%{_libdir}/libdvbv5*.so
|
|
|
+%{_libdir}/pkgconfig/libdvbv5*.pc
|
|
|
+%{_mandir}/man3/*.3*
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.1-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.0-1
|
|
|
- initial build for Vine Linux
|
|
|
|