- Recheck the desktop file issue. It is fixed now.

This commit is contained in:
Christian Nolte 2008-12-04 20:14:58 +00:00
parent 92fc804d99
commit 1a90881f62
2 changed files with 13 additions and 29 deletions

View File

@ -1,25 +1,6 @@
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
diff -up kbibtex-0.2.1/src/kbibtex_part.desktop.orig kbibtex-0.2.1/src/kbibtex_part.desktop
--- kbibtex-0.2.1/src/kbibtex_part.desktop.orig 2008-12-04 20:55:25.000000000 +0100
+++ kbibtex-0.2.1/src/kbibtex_part.desktop 2008-12-04 20:55:39.000000000 +0100
@@ -1,5 +1,4 @@
[Desktop Entry]
-Encoding=UTF-8

View File

@ -1,13 +1,13 @@
Name: kbibtex
Name: kbibtex
Version: 0.2.1
Release: 22%{?dist}
Release: 23%{?dist}
Summary: A BibTeX editor for KDE
Group: Applications/Editors
License: GPLv2+
URL: http://www.unix-ag.uni-kl.de/~fischer/kbibtex/
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.patch
Patch0: 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 .desktop-file
%patch0 -p1 -b .desktop-file
%build
unset QTDIR || : ; . /etc/profile.d/qt.sh
@ -102,8 +102,8 @@ fi
%{_datadir}/apps/kbibtex/
%{_docdir}/HTML/en/kbibtex/
#%{_datadir}/locale/de/LC_MESSAGES/kbibtex.mo
#%{_datadir}/locale/ru/LC_MESSAGES/kbibtex.mo
%{_datadir}/locale/de/LC_MESSAGES/kbibtex.mo
%{_datadir}/locale/ru/LC_MESSAGES/kbibtex.mo
%{_datadir}/icons/hicolor/128x128/apps/kbibtex.png
%{_datadir}/icons/hicolor/16x16/apps/kbibtex.png
%{_datadir}/icons/hicolor/22x22/apps/kbibtex.png
@ -117,6 +117,9 @@ fi
%{_datadir}/applications/fedora-kbibtex_part.desktop
%changelog
* Wed Dec 03 2008 Christian Nolte <ch.nolte at noltec.org> - 0.2.1-23
- Desktop files are now conform to the latest freedesktop spec. (#468937)
* Sun May 04 2008 Christian Nolte <ch.nolte at noltec.org> - 0.2.1-22
- Updated to latest upstream version 0.2.1