rpms/kbibtex/F-10 kbibtex-0.2-desktop-file.patch, NONE, 1.1 kbibtex.spec, 1.13, 1.14

Christian Nolte noltec at fedoraproject.org
Wed Dec 3 18:30:12 UTC 2008


Author: noltec

Update of /cvs/pkgs/rpms/kbibtex/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9082

Modified Files:
	kbibtex.spec 
Added Files:
	kbibtex-0.2-desktop-file.patch 
Log Message:
- desktop files were not conform to latest freedesktop spec



kbibtex-0.2-desktop-file.patch:

--- NEW FILE kbibtex-0.2-desktop-file.patch ---
diff -up kbibtex-0.2/src/kbibtex.desktop.orig kbibtex-0.2/src/kbibtex.desktop
--- kbibtex-0.2/src/kbibtex.desktop.orig	2008-12-03 19:24:28.000000000 +0100
+++ kbibtex-0.2/src/kbibtex.desktop	2008-12-03 19:24:51.000000000 +0100
@@ -1,13 +1,11 @@
 [Desktop Entry]
-Encoding=UTF-8
 Name=KBibTeX
-Exec=kbibtex %i %m -caption "%c"
+Exec=kbibtex %i --miniicon kbibtex -caption "%c"
 Icon=kbibtex
 Type=Application
-DocPath=kbibtex/kbibtex.html
 Comment=A BibTeX editor for KDE
 Comment[de]=Ein BibTeX-Editor für KDE
-Terminal=0
+Terminal=false
 MimeType=text/x-bibtex;
 Categories=Qt;KDE;Office;
 X-KDE-HasTempFileOption=true
diff -up kbibtex-0.2/src/kbibtex_part.desktop.orig kbibtex-0.2/src/kbibtex_part.desktop
--- kbibtex-0.2/src/kbibtex_part.desktop.orig	2008-12-03 19:24:36.000000000 +0100
+++ kbibtex-0.2/src/kbibtex_part.desktop	2008-12-03 19:24:57.000000000 +0100
@@ -1,5 +1,4 @@
 [Desktop Entry]
-Encoding=UTF-8
 Name=KBibTeXPart
 Name[et]=KBibTeX komponent
 Name[hi]=KBibTeXपार्ट
@@ -10,6 +9,5 @@ Name[pl]=Moduł KBibTeX
 Name[pt_BR]=Parte do KBibTeX
 Name[de]=Einbettungsfähige Komponente von KBibTeX
 MimeType=text/x-bibtex;application/x-endnote-library;
-ServiceTypes=KParts/ReadOnlyPart,KParts/ReadWritePart
 X-KDE-Library=libkbibtexpart
-Type=Service
+Type=Application


Index: kbibtex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kbibtex/F-10/kbibtex.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- kbibtex.spec	31 Mar 2008 19:54:49 -0000	1.13
+++ kbibtex.spec	3 Dec 2008 18:29:42 -0000	1.14
@@ -1,13 +1,13 @@
 Name:		kbibtex
 Version:	0.2
-Release:	14%{?dist}
+Release:	17%{?dist}
 Summary:	A BibTeX editor for KDE  
 
 Group:		Applications/Editors
 License:	GPLv2+
 URL:		http://www.unix-ag.uni-kl.de/~fischer/kbibtex/
 Source0:	http://www.unix-ag.uni-kl.de/~fischer/kbibtex/download/kbibtex-%{version}.tar.bz2
-Patch1:		kbibtex-0.2-desktop-file-type.patch
+Patch1:		kbibtex-0.2-desktop-file.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdelibs3-devel >= 3.3 libxslt-devel desktop-file-utils
@@ -20,7 +20,7 @@
 
 %prep
 %setup -q
-%patch1 -p1 -b .type
+%patch1 -p1 -b .desktop-file
 
 %build
 unset QTDIR || : ; . /etc/profile.d/qt.sh
@@ -29,7 +29,6 @@
 %configure --disable-rpath --disable-debug
 make %{?_smp_mflags}
 
-
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
@@ -115,6 +114,9 @@
 %{_datadir}/applications/fedora-kbibtex_part.desktop
 
 %changelog
+* Wed Dec 03 2008 Christian Nolte <ch.nolte at noltec.org> - 0.2-17
+- Desktop files are now conform to the latest freedesktop spec. (#468937)
+
 * Mon Mar 31 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.2-14
 - BR kdelibs3-devel instead of kdebase-devel (should not need kdebase) (#434344)
 




More information about the fedora-extras-commits mailing list