packages (DEVEL): psi/psi.spec - re-enable languages, they should work with...

lisu lisu at pld-linux.org
Fri Mar 4 09:40:52 CET 2011


Author: lisu                         Date: Fri Mar  4 08:40:52 2011 GMT
Module: packages                      Tag: DEVEL
---- Log message:
- re-enable languages, they should work with psi-plus

---- Files affected:
packages/psi:
   psi.spec (1.184.2.8 -> 1.184.2.9) 

---- Diffs:

================================================================
Index: packages/psi/psi.spec
diff -u packages/psi/psi.spec:1.184.2.8 packages/psi/psi.spec:1.184.2.9
--- packages/psi/psi.spec:1.184.2.8	Fri Mar  4 09:08:37 2011
+++ packages/psi/psi.spec	Fri Mar  4 09:40:47 2011
@@ -22,10 +22,8 @@
 Group:		Applications/Communications
 Source0:	%{name}-%{version}.tar.xz
 # Source0-md5:	27cabb1201d72c609f962e0c9ddb7ef5
-%if 0
-#Source1:	%{name}-lang.tar.bz2
+Source1:	%{name}-lang.tar.bz2
 # Source1-md5:	cf6d82f53f1f1600a49bb61ba81151bf
-%endif
 Source2:	generate-tarball.sh
 Patch0:		%{name}-fix_configure_for_ksh.patch
 Patch1:		%{name}-desktop.patch
@@ -81,8 +79,7 @@
 katalogu $DATADIR/certs lub ~/.psi/certs.
 
 %prep
-#%%setup -q -a 1
-%setup -q
+%setup -q -a 1
 #%%patch0 -p0
 #%%patch1 -p1
 #%%{?with_home_etc:%patch2 -p1}
@@ -103,8 +100,8 @@
 
 %{__make}
 
-#cd lang
-#lrelease-qt4 *.ts
+cd lang
+lrelease-qt4 *.ts
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -116,7 +113,7 @@
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
-#cp -f lang/*.qm $RPM_BUILD_ROOT%{_datadir}/psi/
+cp -f lang/*.qm $RPM_BUILD_ROOT%{_datadir}/psi/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -126,7 +123,6 @@
 %doc README
 %attr(755,root,root) %{_bindir}/psi-plus
 %dir %{_datadir}/psi
-%if 0
 %lang(ar) %{_datadir}/psi/*_ar.qm
 %lang(ca) %{_datadir}/psi/*_ca.qm
 %lang(cs) %{_datadir}/psi/*_cs.qm
@@ -150,7 +146,6 @@
 %lang(sr) %{_datadir}/psi/*_sr.qm
 %lang(uk) %{_datadir}/psi/*_uk.qm
 %lang(zh) %{_datadir}/psi/*_zh.qm
-%endif
 %dir %{_libdir}/psi
 %dir %{_libdir}/psi/plugins
 %{_datadir}/psi/certs
@@ -165,6 +160,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.184.2.9  2011/03/04 08:40:47  lisu
+- re-enable languages, they should work with psi-plus
+
 Revision 1.184.2.8  2011/03/04 08:08:37  lisu
 - up to 0.15.3749
 - chnaged TODO
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/psi/psi.spec?r1=1.184.2.8&r2=1.184.2.9&f=u



More information about the pld-cvs-commit mailing list