- desktop files were not conform to latest freedesktop spec

This commit is contained in:
Christian Nolte 2008-12-03 18:29:42 +00:00
parent abbf6208e6
commit 82ac40c5aa
2 changed files with 42 additions and 4 deletions

View File

@ -0,0 +1,36 @@
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

View File

@ -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 @@ KBibTeX is a BibTeX editor for KDE
%prep
%setup -q
%patch1 -p1 -b .type
%patch1 -p1 -b .desktop-file
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
@ -29,7 +29,6 @@ export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
%configure --disable-rpath --disable-debug
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
@ -115,6 +114,9 @@ fi
%{_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@tigcc.ticalc.org> - 0.2-14
- BR kdelibs3-devel instead of kdebase-devel (should not need kdebase) (#434344)