- desktop files are now freedesktop conform

This commit is contained in:
Christian Nolte 2008-12-03 18:51:17 +00:00
parent 32809361fc
commit 92fc804d99
2 changed files with 40 additions and 5 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.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 @@ 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
@ -118,7 +117,7 @@ fi
%{_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@tigcc.ticalc.org> - 0.2-14