SPECS: libgphoto2.spec - added pl.po for libgphoto2_port domain

qboosh qboosh at pld-linux.org
Mon Dec 26 20:20:06 CET 2005


Author: qboosh                       Date: Mon Dec 26 19:20:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added pl.po for libgphoto2_port domain

---- Files affected:
SPECS:
   libgphoto2.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/libgphoto2.spec
diff -u SPECS/libgphoto2.spec:1.35 SPECS/libgphoto2.spec:1.36
--- SPECS/libgphoto2.spec:1.35	Mon Dec 26 19:15:59 2005
+++ SPECS/libgphoto2.spec	Mon Dec 26 20:20:01 2005
@@ -4,8 +4,6 @@
 %bcond_without	apidocs		# without documentation which needed gtk-doc and TeX
 %bcond_without	baudboy		# use lockdev library instead of baudboy
 #
-# TODO: check resmgr linking (temporarly disabled)
-#
 Summary:	Libraries for digital cameras
 Summary(es):	Foto GNU (gphoto) Release 2
 Summary(pl):	Biblioteki obsługi kamer cyfrowych
@@ -17,6 +15,7 @@
 Group:		Applications
 Source0:	http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.gz
 # Source0-md5:	1938cbd9718595fd419907bf2f7c3195
+Source1:	%{name}_port.pl.po
 Patch0:		%{name}-pmake.patch
 URL:		http://www.gphoto.org/
 BuildRequires:	autoconf
@@ -29,6 +28,7 @@
 %{?with_baudboy:BuildRequires:	lockdev-baudboy-devel}
 %{!?with_baudboy:BuildRequires:	lockdev-devel >= 1.0.2}
 BuildRequires:	pkgconfig
+BuildRequires:	sed >= 4.0
 Provides:	gphoto2-lib
 Obsoletes:	gphoto2-lib
 Conflicts:	gphoto2 < 2.1.1
@@ -100,6 +100,10 @@
 %setup -q
 %patch0 -p1
 
+cp %{SOURCE1} libgphoto2_port/po/pl.po
+sed -i -e 's/\(ALL_LINGUAS=.*\)"$/\1 pl"/' libgphoto2_port/configure.in
+rm -f libgphoto2_port/po/stamp-po
+
 %build
 # supplied libtool is broken (relink)
 %{__libtoolize}
@@ -222,6 +226,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2005/12/26 19:20:01  qboosh
+- added pl.po for libgphoto2_port domain
+
 Revision 1.35  2005/12/26 18:15:59  qboosh
 - use baudboy (preferred by configure, doesn't propagate deps unlike liblockdev)
 - disable ttylock locking explicitly (tested before lockdev)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgphoto2.spec?r1=1.35&r2=1.36&f=u



More information about the pld-cvs-commit mailing list