packages: v4l-utils/v4l-utils.spec - spec renamed from libv4l.spec to v4l-u...
qboosh
qboosh at pld-linux.org
Sat Nov 5 19:49:28 CET 2011
Author: qboosh Date: Sat Nov 5 18:49:28 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- spec renamed from libv4l.spec to v4l-utils.spec; subpackage namespaces swapped
---- Files affected:
packages/v4l-utils:
v4l-utils.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: packages/v4l-utils/v4l-utils.spec
diff -u packages/v4l-utils/v4l-utils.spec:1.11 packages/v4l-utils/v4l-utils.spec:1.12
--- packages/v4l-utils/v4l-utils.spec:1.11 Sat Nov 5 13:43:03 2011
+++ packages/v4l-utils/v4l-utils.spec Sat Nov 5 19:49:23 2011
@@ -1,13 +1,11 @@
# $Revision$, $Date$
-Summary: Abstraction layer on top of video4linux2 devices
-Summary(pl.UTF-8): Warstwa abstrakcji dla urządzeń video4linux2
-Name: libv4l
-%define pkgname v4l-utils
+Summary: Collection of video4linux utilities
+Name: v4l-utils
Version: 0.8.5
Release: 1
-License: LGPL v2.1+
-Group: Libraries
-Source0: http://linuxtv.org/downloads/v4l-utils/%{pkgname}-%{version}.tar.bz2
+License: GPL v2+ (utilities), LGPL v2.1+ (libraries)
+Group: Applications/System
+Source0: http://linuxtv.org/downloads/v4l-utils/%{name}-%{version}.tar.bz2
# Source0-md5: 037bec9f68cfb0b84bcccb00d30e429b
URL: http://hansdegoede.livejournal.com/
BuildRequires: QtGui-devel
@@ -16,29 +14,17 @@
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Collection of libraries which adds a thin abstraction layer on top of
-video4linux2 devices. The purpose of this (thin) layer is to make it
-easy for application writers to support a wide variety of devices
-without having to write seperate code for different devices in the
-same class.
-
-%description -l pl.UTF-8
-libv4l to zestaw bibliotek dodający niewielką warstwę abstrakcji dla
-urządzeń video4linux2. Celem tej warstwy jest ułatwienie autorom
-aplikacji obsługi szerokiej gamy urządzeń bez pisania osobnego kodu
-dla różnych urządzeń tej samej klasy.
-
-%package devel
-Summary: Header files for libv4l libraries
-Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libv4l
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+A series of utilities for media devices, allowing to handle the
+proprietary formats available at most webcams (libv4l), and providing
+tools to test V4L devices.
-%description devel
-Header files for libv4l libraries.
+%package qt
+Summary: Qt V4L2 test Utility
+License: GPL v2+
+Group: X11/Applications
-%description devel -l pl.UTF-8
-Pliki nagłówkowe bibliotek libv4l.
+%description qt
+Graphical Qt v4l2 control panel.
%package -n ir-keytable
Summary: Alter keymaps of Remote Controller devices
@@ -52,26 +38,41 @@
Via ir-keytable the mapping from a scancode to the generated event can
be customized and made persistent
-%package -n %{pkgname}
-Summary: Collection of command line video4linux utilities
-License: GPL v2+
-Group: Applications
+%package -n libv4l
+Summary: Abstraction layer on top of video4linux2 devices
+Summary(pl.UTF-8): Warstwa abstrakcji dla urządzeń video4linux2
+License: LGPL v2.1+
+Group: Libraries
-%description -n %{pkgname}
-A series of utilities for media devices, allowing to handle the
-proprietary formats available at most webcams (libv4l), and providing
-tools to test V4L devices.
+%description -n libv4l
+Collection of libraries which adds a thin abstraction layer on top of
+video4linux2 devices. The purpose of this (thin) layer is to make it
+easy for application writers to support a wide variety of devices
+without having to write seperate code for different devices in the
+same class.
-%package -n %{pkgname}-qt
-Summary: Qt V4L2 test Utility
-License: GPL v2+
-Group: X11/Applications
+%description -n libv4l -l pl.UTF-8
+libv4l to zestaw bibliotek dodający niewielką warstwę abstrakcji dla
+urządzeń video4linux2. Celem tej warstwy jest ułatwienie autorom
+aplikacji obsługi szerokiej gamy urządzeń bez pisania osobnego kodu
+dla różnych urządzeń tej samej klasy.
-%description -n %{pkgname}-qt
-Graphical Qt v4l2 control panel.
+%package -n libv4l-devel
+Summary: Header files for libv4l libraries
+Summary(pl.UTF-8): Pliki nagłówkowe bibliotek libv4l
+License: LGPL v2.1+
+Group: Development/Libraries
+Requires: libv4l = %{version}-%{release}
+
+%description -n libv4l-devel
+Header files for libv4l libraries.
+
+%description -n libv4l-devel -l pl.UTF-8
+Pliki nagłówkowe bibliotek libv4l.
%prep
-%setup -q -n %{pkgname}-%{version}
+%setup -q
+
%if "%{pld_release}" == "ac"
%{__sed} -i 's/-fvisibility=hidden//' */Makefile
%endif
@@ -96,28 +97,11 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -n libv4l -p /sbin/ldconfig
+%postun -n libv4l -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libv4l*.so.0
-%attr(755,root,root) %{_libdir}/libv4l
-
-%files devel
-%defattr(644,root,root,755)
-%doc README.lib*
-%attr(755,root,root) %{_libdir}/libv4l*.so
-%{_includedir}/libv4l*.h
-%{_pkgconfigdir}/libv4l*.pc
-
-%files -n ir-keytable
-%config(noreplace) %{_sysconfdir}/rc_*
-/lib/udev/rules.d/70-infrared.rules
-%attr(755,root,root) %{_bindir}/ir-keytable
-%{_mandir}/man1/ir-keytable.1*
-
-%files -n %{pkgname}
%doc ChangeLog README TODO contrib
%attr(755,root,root) %{_bindir}/*-ctl
%attr(755,root,root) %{_bindir}/decode_tm6000
@@ -126,17 +110,40 @@
%attr(755,root,root) %{_bindir}/xc3028-firmware
%attr(755,root,root) %{_sbindir}/v4l2-dbg
-%files -n %{pkgname}-qt
+%files qt
+%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/qv4l2
%{_desktopdir}/qv4l2.desktop
%{_iconsdir}/hicolor/*/apps/qv4l2.*
+%files -n ir-keytable
+%defattr(644,root,root,755)
+%config(noreplace) %{_sysconfdir}/rc_*
+/lib/udev/rules.d/70-infrared.rules
+%attr(755,root,root) %{_bindir}/ir-keytable
+%{_mandir}/man1/ir-keytable.1*
+
+%files -n libv4l
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libv4l*.so.0
+%attr(755,root,root) %{_libdir}/libv4l
+
+%files -n libv4l-devel
+%defattr(644,root,root,755)
+%doc README.lib*
+%attr(755,root,root) %{_libdir}/libv4l*.so
+%{_includedir}/libv4l*.h
+%{_pkgconfigdir}/libv4l*.pc
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2011/11/05 18:49:23 qboosh
+- spec renamed from libv4l.spec to v4l-utils.spec; subpackage namespaces swapped
+
Revision 1.11 2011/11/05 12:43:03 gotar
- v4l-utils has no Console group Applications
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/v4l-utils/v4l-utils.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list