SPECS: koffice.spec - rel 3; should finally fix apidocs issue

arekm arekm at pld-linux.org
Fri Mar 30 23:47:34 CEST 2007


Author: arekm                        Date: Fri Mar 30 21:47:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3; should finally fix apidocs issue

---- Files affected:
SPECS:
   koffice.spec (1.177 -> 1.178) 

---- Diffs:

================================================================
Index: SPECS/koffice.spec
diff -u SPECS/koffice.spec:1.177 SPECS/koffice.spec:1.178
--- SPECS/koffice.spec:1.177	Fri Mar 30 19:39:23 2007
+++ SPECS/koffice.spec	Fri Mar 30 23:47:29 2007
@@ -16,7 +16,7 @@
 Summary(zh_CN.UTF-8):	KDE 的办公应用软件集。
 Name:		koffice
 Version:	%{_ver}
-Release:	2
+Release:	3
 Epoch:		5
 License:	GPL/LGPL
 Group:		X11/Applications
@@ -464,6 +464,7 @@
 
 install kexi/debian/man/k[es]*.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
+rm -f *.lang
 %find_lang karbon		--with-kde
 %find_lang kchart		--with-kde
 %find_lang kexi			--with-kde
@@ -481,6 +482,9 @@
 %find_lang thesaurus		--with-kde
 cat thesaurus.lang >> kword.lang
 
+# drop koffice-apidocs from lang files, find_lang catches too much
+sed -i -e 's#.*koffice-apidocs.*##g' *.lang
+
 rm $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/kexi_add_column_gui_transl_pl.sh
 rm $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/kexi_delete_column_gui_transl_pl.sh
 
@@ -953,7 +957,6 @@
 %{_desktopdir}/kde/KThesaurus.desktop
 %{_desktopdir}/kde/kword.desktop
 %{_iconsdir}/*/*/apps/kword.png
-%exclude %{_kdedocdir}/en/%{name}-apidocs
 
 %files apidocs
 %defattr(644,root,root,755)
@@ -965,6 +968,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.178  2007/03/30 21:47:29  arekm
+- rel 3; should finally fix apidocs issue
+
 Revision 1.177  2007/03/30 17:39:23  arekm
 - rel 2; exclude apidocs from kword; apidocs are in other subpackage
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/koffice.spec?r1=1.177&r2=1.178&f=u



More information about the pld-cvs-commit mailing list