SPECS: openoffice.org.spec - exclude files not existed --without java

sls sls at pld-linux.org
Fri Jan 5 18:34:53 CET 2007


Author: sls                          Date: Fri Jan  5 17:34:53 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- exclude files not existed --without java

---- Files affected:
SPECS:
   openoffice.org.spec (1.667 -> 1.668) 

---- Diffs:

================================================================
Index: SPECS/openoffice.org.spec
diff -u SPECS/openoffice.org.spec:1.667 SPECS/openoffice.org.spec:1.668
--- SPECS/openoffice.org.spec:1.667	Fri Jan  5 02:01:41 2007
+++ SPECS/openoffice.org.spec	Fri Jan  5 18:34:48 2007
@@ -2317,9 +2317,11 @@
 %defattr(644,root,root,755)
 %dir %{_sysconfdir}/openoffice.org
 %dir %{_libdir}/%{name}
+%if %{with java}
 %dir %{_libdir}/%{name}/help/en
-%dir %{_libdir}/%{name}/program
 %dir %{_libdir}/%{name}/program/classes
+%endif
+%dir %{_libdir}/%{name}/program
 %dir %{_libdir}/%{name}/program/resource
 %dir %{_libdir}/%{name}/share
 %dir %{_libdir}/%{name}/share/Scripts
@@ -2516,6 +2518,15 @@
 %{_libdir}/%{name}/share/registry/ldap
 
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-UseOOoFileDialogs.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-dicooo.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-unx.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-calc.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-chart.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-draw.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-impress.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-math.xcu
+%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-writer.xcu
+%if %{with java}
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-cjk_ja.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-cjk_ko.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-cjk_zh-CN.xcu
@@ -2532,15 +2543,8 @@
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-ctl_ta-IN.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-ctl_th.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-ctl_vi.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-dicooo.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-korea.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-unx.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-calc.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-chart.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-draw.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-impress.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-math.xcu
-%{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Embedding/Embedding-writer.xcu
+# move it to -writer ?
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Writer/Writer-cjk_ja.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Writer/Writer-cjk_ko.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Writer/Writer-cjk_zh-CN.xcu
@@ -2630,6 +2634,7 @@
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Setup/Langpack-zh-CN.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Setup/Langpack-zh-TW.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Setup/Langpack-zu.xcu
+%endif
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_global_filters.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_base_filters.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_chart_filters.xcu
@@ -3150,7 +3155,9 @@
 %{_desktopdir}/base.desktop
 %{_pixmapsdir}/ooo-base.png
 %{_libdir}/%{name}/program/resource/cnr680en-US.res
+%if %{with java}
 %{_libdir}/%{name}/help/en/sdatabase.*
+%endif
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-base.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Setup/Setup-base.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_database_filters.xcu
@@ -3171,7 +3178,9 @@
 %{_mandir}/man1/oocalc.1
 %{_desktopdir}/calc.desktop
 %{_pixmapsdir}/ooo-calc.png
+%if %{with java}
 %{_libdir}/%{name}/help/en/scalc.*
+%endif
 %{_libdir}/%{name}/program/resource/analysis680en-US.res
 %{_libdir}/%{name}/program/resource/bf_sc680en-US.res
 %{_libdir}/%{name}/program/resource/date680en-US.res
@@ -3192,7 +3201,9 @@
 %{_mandir}/man1/oodraw.1
 %{_desktopdir}/draw.desktop
 %{_pixmapsdir}/ooo-draw.png
+%if %{with java}
 %{_libdir}/%{name}/help/en/sdraw.*
+%endif
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/DrawWindowState.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Office/Common/Common-draw.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/Setup/Setup-draw.xcu
@@ -3216,8 +3227,10 @@
 %{_mandir}/man1/oowriter.1
 %{_desktopdir}/writer.desktop
 %{_pixmapsdir}/ooo-writer.png
+%if %{with java}
 %{_libdir}/%{name}/help/en/swriter.*
 %{_libdir}/%{name}/program/classes/writer2latex.jar
+%endif
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/WriterGlobalWindowState.xcu
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/WriterWebWindowState.xcu
@@ -3244,7 +3257,9 @@
 %{_mandir}/man1/ooimpress.1
 %{_desktopdir}/impress.desktop
 %{_pixmapsdir}/ooo-impress.png
+%if %{with java}
 %{_libdir}/%{name}/help/en/simpress.*
+%endif
 %{_libdir}/%{name}/share/config/soffice.cfg
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/Effects.xcu
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/ImpressWindowState.xcu
@@ -3264,7 +3279,9 @@
 %{_mandir}/man1/oomath.1
 %{_desktopdir}/math.desktop
 %{_pixmapsdir}/ooo-math.png
+%if %{with java}
 %{_libdir}/%{name}/help/en/smath.*
+%endif
 %{_libdir}/%{name}/program/resource/bf_sm680en-US.res
 %{_libdir}/%{name}/program/resource/sm680en-US.res
 %{_libdir}/%{name}/share/registry/data/org/openoffice/Office/UI/MathCommands.xcu
@@ -3288,11 +3305,15 @@
 %defattr(644,root,root,755)
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Filter/fcfg_xslt_filters.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Types/fcfg_xslt_types.xcu
+%if %{with java}
+# not exists when --system-libxslt ?
 %{_libdir}/%{name}/share/xslt/docbook
 %{_libdir}/%{name}/share/xslt/export/xhtml
+%endif
 
 %files javafilter
 %defattr(644,root,root,755)
+%if %{with java}
 %{_libdir}/%{name}/program/classes/aportisdoc.jar
 %{_libdir}/%{name}/program/classes/pexcel.jar
 %{_libdir}/%{name}/program/classes/pocketword.jar
@@ -3302,13 +3323,16 @@
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Types/fcfg_palm_types.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Types/fcfg_pocketexcel_types.xcu
 %{_libdir}/%{name}/share/registry/modules/org/openoffice/TypeDetection/Types/fcfg_pocketword_types.xcu
+%endif
 
 %files testtools
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/%{name}/program/libcommuni680*.so
 %attr(755,root,root) %{_libdir}/%{name}/program/libsimplecm680*.so
 %attr(755,root,root) %{_libdir}/%{name}/program/testtool.bin
+%if %{with java}
 %{_libdir}/%{name}/program/hid.lst
+%endif
 %{_libdir}/%{name}/program/resource/stt680en-US.res
 %{_libdir}/%{name}/program/testtoolrc
 
@@ -3613,6 +3637,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.668  2007/01/05 17:34:48  sls
+- exclude files not existed --without java
+
 Revision 1.667  2007/01/05 01:01:41  glen
 - obsolete oooqs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openoffice.org.spec?r1=1.667&r2=1.668&f=u



More information about the pld-cvs-commit mailing list