Author: shadzik                      Date: Wed Jan 28 15:07:06 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- further changes
- still NFY - needs %files

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

---- Diffs:

================================================================
Index: SPECS/kde4-koffice.spec
diff -u SPECS/kde4-koffice.spec:1.2 SPECS/kde4-koffice.spec:1.3
--- SPECS/kde4-koffice.spec:1.2 Wed Jan 28 01:27:23 2009
+++ SPECS/kde4-koffice.spec     Wed Jan 28 16:07:00 2009
@@ -25,6 +25,7 @@
 Group:         X11/Applications
 Source0:       
ftp://ftp.kde.org/pub/kde/%{_state}/%{origname}-%{version}/src/%{origname}-%{version}.tar.bz2
 # Source0-md5: 1525ca823dc39934a16cf1de0750ec11
+Patch0:                %{name}-thumbnail.patch
 URL:           http://www.koffice.org/
 BuildRequires: OpenEXR-devel
 BuildRequires: OpenGL-GLU-devel
@@ -379,6 +380,7 @@
 
 %prep
 %setup -q -n %{origname}-%{version}
+%patch0 -p0
 
 %build
 install -d build
@@ -400,39 +402,6 @@
        kde_htmldir=%{_kdedocdir} \
        kde_libs_htmldir=%{_kdedocdir}
 
-rm -f *.lang
-%find_lang karbon              --with-kde
-%find_lang kchart              --with-kde
-%find_lang kexi                        --with-kde
-%find_lang kformula            --with-kde
-%find_lang kivio               --with-kde
-%find_lang koffice             --with-kde
-%find_lang koshell             --with-kde
-cat koshell.lang >> koffice.lang
-%find_lang kplato              --with-kde
-%find_lang kpresenter          --with-kde
-%find_lang krita               --with-kde
-%find_lang kspread             --with-kde
-%find_lang kugar               --with-kde
-%find_lang kword               --with-kde
-%find_lang thesaurus           --with-kde
-cat thesaurus.lang >> kword.lang
-
-# drop koffice-apidocs from lang files, find_lang catches too much
-sed -i -e '/koffice-apidocs/d' *.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
-
-# there are only locolor kudesigner icons in this version.
-for a in $RPM_BUILD_ROOT%{_datadir}/icons/locolor/*/apps/kudesigner.png; do
-       l=$(echo $a | sed -e 's,locolor,hicolor,')
-       mv $a $l
-done
-
-# no dir for locolor in pld
-rm -rfv $RPM_BUILD_ROOT%{_datadir}/icons/locolor
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -481,7 +450,7 @@
 %{_includedir}/kexidb
 %{_includedir}/kexiutils
 
-%files common -f koffice.lang
+%files common
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/koconverter
 %attr(755,root,root) %{_bindir}/koshell
@@ -582,7 +551,7 @@
 %{_iconsdir}/hicolor/*/apps/koshell.*
 %{_iconsdir}/crystalsvg/*/actions/gsu*.png
 
-%files karbon -f karbon.lang
+%files karbon
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/karbon
 %{_libdir}/libkarbon*.la
@@ -605,7 +574,7 @@
 %{_iconsdir}/*/*/apps/karbon.png
 %{_iconsdir}/hicolor/scalable/apps/karbon.svgz
 
-%files kchart -f kchart.lang
+%files kchart
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kchart
 %{_libdir}/libkchartcommon.la
@@ -626,7 +595,7 @@
 %{_desktopdir}/kde/kchart.desktop
 %{_iconsdir}/*/*x*/apps/kchart.png
 
-%files kexi -f kexi.lang
+%files kexi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kexi*
 %attr(755,root,root) %{_bindir}/ksqlite
@@ -672,7 +641,7 @@
 %{_iconsdir}/crystalsvg/*/mimetypes/kexiproject_*.png
 %{_mandir}/man1/*
 
-%files kformula -f kformula.lang
+%files kformula
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kformula
 %{_libdir}/libkdeinit_kformula*.la
@@ -703,7 +672,7 @@
 %{_iconsdir}/*/*/actions/under.png
 %{_iconsdir}/*/*/apps/kformula.png
 
-%files kivio -f kivio.lang
+%files kivio
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kivio
 %{_libdir}/libkiviocommon.la
@@ -722,7 +691,7 @@
 %{_desktopdir}/kde/kivio.desktop
 %{_iconsdir}/*/*/apps/kivio.png
 
-%files kplato -f kplato.lang
+%files kplato
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kplato
 %{_libdir}/libkdeinit_kplato.la
@@ -736,7 +705,7 @@
 %{_desktopdir}/kde/kplato.desktop
 %{_iconsdir}/crystalsvg/*/apps/kplato.*
 
-%files kpresenter -f kpresenter.lang
+%files kpresenter
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kpresenter
 %attr(755,root,root) %{_bindir}/kprconverter.pl
@@ -767,7 +736,7 @@
 %{_desktopdir}/kde/kpresenter.desktop
 %{_iconsdir}/*/*/apps/kpresenter*.png
 
-%files krita -f krita.lang
+%files krita
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/krita
 %{_libdir}/libkrita*.la
@@ -811,7 +780,7 @@
 %attr(755,root,root) %{_libdir}/kde3/krossruby.so
 %{_libdir}/kde3/krossruby.la
 
-%files kspread -f kspread.lang
+%files kspread
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kspread
 %{_libdir}/libkdeinit_kspread.la
@@ -852,7 +821,7 @@
 %{_desktopdir}/kde/kspread.desktop
 %{_iconsdir}/[!l]*/*/apps/kspread*.png
 
-%files kugar -f kugar.lang
+%files kugar
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kudesigner
 %attr(755,root,root) %{_bindir}/kugar
@@ -879,7 +848,7 @@
 %{_iconsdir}/*/*/*/kugar.png
 %{_iconsdir}/*/*/mimetypes/kugardata.png
 
-%files kword -f kword.lang
+%files kword
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/kthesaurus
 %attr(755,root,root) %{_bindir}/kword
@@ -969,6 +938,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/01/28 15:07:00  shadzik
+- further changes
+- still NFY - needs %files
+
 Revision 1.2  2009/01/28 00:27:23  shadzik
 - some fixes
 - adjusted some BRs (some might still be unnecessary and some are missing- see 
TODO)
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kde4-koffice.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to