[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/kdepim/FC-5 kdepim.spec,1.87,1.88



Author: than

Update of /cvs/dist/rpms/kdepim/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv10537

Modified Files:
	kdepim.spec 
Log Message:
cleanup specfile



Index: kdepim.spec
===================================================================
RCS file: /cvs/dist/rpms/kdepim/FC-5/kdepim.spec,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- kdepim.spec	9 Jun 2006 17:48:18 -0000	1.87
+++ kdepim.spec	9 Jun 2006 18:49:50 -0000	1.88
@@ -172,21 +172,12 @@
 done
 popd
 
-desktop-file-install \
-   --vendor "" \
-   --delete-original \
-   --dir %{buildroot}%{_datadir}/applications/kde \
-   --add-only-show-in="KDE" \
-   %{buildroot}%{_datadir}/applications/kde/konsolekalendar.desktop \
-   %{buildroot}%{_datadir}/applications/kde/knotes.desktop \
-%ifnarch s390 s390x
-   %{buildroot}%{_datadir}/applications/kde/kpilotdaemon.desktop \
-   %{buildroot}%{_datadir}/applications/kde/kpilot.desktop \
-%endif
-   %{buildroot}%{_datadir}/applications/kde/KMail.desktop \
-   %{buildroot}%{_datadir}/applications/kde/KNode.desktop \
-   %{buildroot}%{_datadir}/applications/kde/Kontact.desktop \
-   %{buildroot}%{_datadir}/applications/kde/KOrn.desktop
+for i in konsolekalendar knotes kpilotdaemon kpilot KMail KNode Kontact \
+   KOrn akregator kalarm groupwarewizard kpalmdoc ktnef multisynk ; do
+   if [ -f %{buildroot}%{appdir}/$i.desktop ] ; then
+      echo "OnlyShowIn=KDE;" >> %{buildroot}%{appdir}/$i.desktop
+   fi
+done
 
 %post -p /sbin/ldconfig
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]