SPECS: qscintilla2.spec - pl - don't use LANG as temporary variabl...

qboosh qboosh at pld-linux.org
Tue Dec 26 20:48:36 CET 2006


Author: qboosh                       Date: Tue Dec 26 19:48:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl
- don't use LANG as temporary variable name (bad practice)

---- Files affected:
SPECS:
   qscintilla2.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/qscintilla2.spec
diff -u SPECS/qscintilla2.spec:1.2 SPECS/qscintilla2.spec:1.3
--- SPECS/qscintilla2.spec:1.2	Tue Dec 26 15:14:59 2006
+++ SPECS/qscintilla2.spec	Tue Dec 26 20:48:31 2006
@@ -6,6 +6,7 @@
 %define		scintilla_ver	1.71
 %define		_snap		20061220
 Summary:	QScintilla2 - a port to Qt of the Scintilla editing component
+Summary(pl):	QScintilla2 - port komponentu edytora Scintilla dla biblioteki Qt
 Name:		qscintilla2
 Version:	2
 Release:	0.1
@@ -31,9 +32,13 @@
 QScintilla2 is a port to Qt of the Scintilla editing component.
 This version of QScintilla is based on Scintilla v%{scintilla_ver}.
 
+%description -l pl
+QScintilla2 to port komponentu edytora Scintilla dla biblioteki Qt.
+Ta wersja QScintilli jest oparta na Scintilli %{scintilla_ver}.
+
 %package devel
 Summary:	Development files for the QScintilla2
-Summary(pl):	Pliki nagłówkowe dla QScintilla2
+Summary(pl):	Pliki nagłówkowe dla komponentu QScintilla2
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	QtGui-devel
@@ -42,8 +47,13 @@
 This package contains the header files necessary to develop
 applications using QScintilla2.
 
+%description devel -l pl
+Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z
+użyciem komponentu QScintilla2.
+
 %package -n QtDesigner-plugin-%{name}
 Summary:	QScintilla2 plugin for Qt Designer
+Summary(pl):	Wtyczka QScintilla2 dla Qt Designera
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	QtDesigner
@@ -52,8 +62,14 @@
 QScintilla2 plugin for Qt Designer that allows QScintilla instances
 to be included in GUI designs just like any other Qt widget.
 
+%description -n QtDesigner-plugin-%{name} -l pl
+Wtyczka WScintilla2 dla Qt Designera pozwalająca na włączanie
+instancji QScintilli w projekty GUI w ten sam sposób, co inne widgety
+Qt.
+
 %package -n python-%{name}
 Summary:	Python bindings for the QScintilla2
+Summary(pl):	Wiązania Pythona dla komponentu QScintilla2
 Group:		Libraries/Python
 Requires:	%{name} = %{version}-%{release}
 Requires:	python-PyQt4 >= 4.1.1
@@ -61,8 +77,12 @@
 %description -n python-%{name}
 Python bindings for the QScintilla2.
 
+%description -n python-%{name} -l pl
+Wiązania Pythona dla komponentu QScintilla2.
+
 %package -n python-%{name}-devel
 Summary:	Python bindings for the QScintilla2 - development files
+Summary(pl):	Wiązania Pythona dla komponentu QScintilla2 - pliki programistyczne
 Group:		Development/Languages/Python
 Requires:	python-%{name} = %{version}-%{release}
 Requires:	python-PyQt4-devel >= 4.1.1
@@ -70,6 +90,9 @@
 %description -n python-%{name}-devel
 Python bindings for the QScintilla2 - development files.
 
+%description -n python-%{name}-devel -l pl
+Wiązania Pythona dla komponentu QScintilla2 - pliki programistyczne.
+
 %prep
 %setup -q -n QScintilla-%{scintilla_ver}-gpl-%{version}-snapshot-%{_snap}
 %patch0 -p1
@@ -106,10 +129,10 @@
 
 for file in $RPM_BUILD_ROOT%{_datadir}/locale/*.qm
 do
-	LANG=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
-	[ "$LANG" == "pt_br" ] && LANG=pt_BR
-	mkdir -p $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES
-	mv -f $file $RPM_BUILD_ROOT%{_datadir}/locale/$LANG/LC_MESSAGES/qscintilla2.qm
+	lang=`echo $file | sed -r 's:.*/[a-zA-Z]*_(.*).qm:\1:'`
+	[ "$lang" == "pt_br" ] && lang=pt_BR
+	install -d $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES
+	mv -f $file $RPM_BUILD_ROOT%{_datadir}/locale/$lang/LC_MESSAGES/qscintilla2.qm
 done
 
 %clean
@@ -150,9 +173,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/12/26 19:48:31  qboosh
+- pl
+- don't use LANG as temporary variable name (bad practice)
+
 Revision 1.2  2006/12/26 14:14:59  charles
 - cosmetics
 
 Revision 1.1  2006/12/26 03:49:19  charles
 - new (QScintilla for Qt4)
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/qscintilla2.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list