rpms/kbibtex/F-9 kbibtex-0.2-desktop-file.patch, NONE, 1.1 kbibtex.spec, 1.16, 1.17

Christian Nolte noltec at fedoraproject.org
Wed Dec 3 18:51:48 UTC 2008


Author: noltec

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

Modified Files:
	kbibtex.spec 
Added Files:
	kbibtex-0.2-desktop-file.patch 
Log Message:
- desktop files are now freedesktop conform



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-9/kbibtex.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- kbibtex.spec	4 May 2008 15:35:30 -0000	1.16
+++ kbibtex.spec	3 Dec 2008 18:51:17 -0000	1.17
@@ -1,13 +1,13 @@
 Name:		kbibtex
 Version:	0.2.1
-Release:	19%{?dist}
+Release:	22%{?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
@@ -118,7 +117,7 @@
 %{_datadir}/applications/fedora-kbibtex_part.desktop
 
 %changelog
-* Sun May 04 2008 Christian Nolte <ch.nolte at noltec.org> - 0.2.1-19
+* Sun May 04 2008 Christian Nolte <ch.nolte at noltec.org> - 0.2.1-22
 - Updated to latest upstream version 0.2.1
 
 * Mon Mar 31 2008 Kevin Kofler <Kevin at tigcc.ticalc.org> - 0.2-14




More information about the fedora-extras-commits mailing list