packages: v4l-utils/v4l-utils.spec - pl - pass CXX and CXXFLAGS - proper co...

qboosh qboosh at pld-linux.org
Sat Nov 5 20:12:00 CET 2011


Author: qboosh                       Date: Sat Nov  5 19:12:00 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl
- pass CXX and CXXFLAGS
- proper config() attrs, for files not dirs
- killed files duplicate caused by to many globs
- removed unused sysfsutils BR

---- Files affected:
packages/v4l-utils:
   v4l-utils.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: packages/v4l-utils/v4l-utils.spec
diff -u packages/v4l-utils/v4l-utils.spec:1.12 packages/v4l-utils/v4l-utils.spec:1.13
--- packages/v4l-utils/v4l-utils.spec:1.12	Sat Nov  5 19:49:23 2011
+++ packages/v4l-utils/v4l-utils.spec	Sat Nov  5 20:11:55 2011
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
-Summary:	Collection of video4linux utilities
+Summary:	Collection of Video4Linux utilities
+Summary(pl.UTF-8):	Zbiór narzędzi do urządzeń Video4Linux
 Name:		v4l-utils
 Version:	0.8.5
 Release:	1
@@ -10,7 +11,6 @@
 URL:		http://hansdegoede.livejournal.com/
 BuildRequires:	QtGui-devel
 BuildRequires:	libstdc++-devel
-BuildRequires:	sysfsutils
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -18,16 +18,26 @@
 proprietary formats available at most webcams (libv4l), and providing
 tools to test V4L devices.
 
+%description -l pl.UTF-8
+Zbiór narzędzi do urządzeń multimedialnych, pozwalający obsługiwać
+własnościowe formaty dostępne w większości kamer internetowych
+(libv4l) oraz testować urządzenia V4L.
+
 %package qt
-Summary:	Qt V4L2 test Utility
+Summary:	Qt-based V4L2 test Utility
+Summary(pl.UTF-8):	Narzędzie testowe V4L2 oparte na Qt
 License:	GPL v2+
 Group:		X11/Applications
 
 %description qt
-Graphical Qt v4l2 control panel.
+Graphical Qt V4L2 control panel.
+
+%description qt -l pl.UTF-8
+Graficzny panel kontrolny V4L2 oparty na Qt.
 
 %package -n ir-keytable
 Summary:	Alter keymaps of Remote Controller devices
+Summary(pl.UTF-8):	Zmiana map klawiszy urządzeń do zdalnego sterowania
 License:	GPL v2+
 Group:		Applications/Console
 
@@ -36,7 +46,15 @@
 to change the keymap of controller receivers. Those receivers are
 found as infrared receivers on DVB sticks or on framegrabber cards.
 Via ir-keytable the mapping from a scancode to the generated event can
-be customized and made persistent
+be customized and made persistent.
+
+%description -n ir-keytable -l pl.UTF-8
+ir-keytable to narzędzie pozwalające na zrzucanie, wczytywanie i
+modyfikowanie tablic wejściowych odbiorników podczerwieni (IR). Ten
+pakiet pozwala na zmianę tablic klawiszy odbiorników pilotów.
+Odbiorniki podczerwieni występują na interfejsach DVB lub kartach
+framegrabberów. Dzięki użyciu ir-keytable można zmienić i zachować
+odwzorowania między skankodami a generowanymi zdarzeniami.
 
 %package -n libv4l
 Summary:	Abstraction layer on top of video4linux2 devices
@@ -80,7 +98,9 @@
 %build
 %{__make} \
 	CC="%{__cc}" \
+	CXX="%{__cxx}" \
 	CFLAGS="%{rpmcppflags} %{rpmcflags} -Wall" \
+	CXXFLAGS="%{rpmcppflags} %{rpmcxxflags} -Wall" \
 	LDFLAGS="%{rpmcflags} %{rpmldflags}"
 
 %install
@@ -103,8 +123,9 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO contrib
-%attr(755,root,root) %{_bindir}/*-ctl
+%attr(755,root,root) %{_bindir}/cx18-ctl
 %attr(755,root,root) %{_bindir}/decode_tm6000
+%attr(755,root,root) %{_bindir}/ivtv-ctl
 %attr(755,root,root) %{_bindir}/rds-saa6588
 %attr(755,root,root) %{_bindir}/v4l2-*
 %attr(755,root,root) %{_bindir}/xc3028-firmware
@@ -118,22 +139,31 @@
 
 %files -n ir-keytable
 %defattr(644,root,root,755)
-%config(noreplace) %{_sysconfdir}/rc_*
+%dir %{_sysconfdir}/rc_keymaps
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rc_keymaps/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rc_maps.cfg
 /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
+%attr(755,root,root) %{_libdir}/libv4l1.so.0
+%attr(755,root,root) %{_libdir}/libv4l2.so.0
+%attr(755,root,root) %{_libdir}/libv4lconvert.so.0
+%dir %{_libdir}/libv4l
+%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
+%attr(755,root,root) %{_libdir}/libv4l1.so
+%attr(755,root,root) %{_libdir}/libv4l2.so
+%attr(755,root,root) %{_libdir}/libv4lconvert.so
 %{_includedir}/libv4l*.h
-%{_pkgconfigdir}/libv4l*.pc
+%{_pkgconfigdir}/libv4l1.pc
+%{_pkgconfigdir}/libv4l2.pc
+%{_pkgconfigdir}/libv4lconvert.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -141,6 +171,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2011/11/05 19:11:55  qboosh
+- pl
+- pass CXX and CXXFLAGS
+- proper config() attrs, for files not dirs
+- killed files duplicate caused by to many globs
+- removed unused sysfsutils BR
+
 Revision 1.12  2011/11/05 18:49:23  qboosh
 - spec renamed from libv4l.spec to v4l-utils.spec; subpackage namespaces swapped
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/v4l-utils/v4l-utils.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list