diff --git a/kile-1.9.3-dt.patch b/kile-1.9.3-dt.patch new file mode 100644 index 0000000..b8ef7bb --- /dev/null +++ b/kile-1.9.3-dt.patch @@ -0,0 +1,11 @@ +diff -up kile-1.9.3/src/kile/kile.desktop.dt kile-1.9.3/src/kile/kile.desktop +--- kile-1.9.3/src/kile/kile.desktop.dt 2006-11-18 13:55:03.000000000 -0600 ++++ kile-1.9.3/src/kile/kile.desktop 2007-08-25 16:04:57.000000000 -0500 +@@ -62,6 +62,6 @@ GenericName[ta]=(லா)டெக்ஸ� + GenericName[tr]=LaTeX Arayüzü + GenericName[xx]=xxLaTeX Frontendxx + GenericName[zh_CN]=LaTeX 前端 +-MimeType=text/x-tex;text/x-kilepr ++MimeType=text/x-tex;text/x-kilepr; + Categories=Qt;KDE;Office; + Encoding=UTF-8 diff --git a/kile.spec b/kile.spec index 9345619..17759f2 100644 --- a/kile.spec +++ b/kile.spec @@ -2,7 +2,7 @@ Name: kile Summary: (La)TeX source editor and TeX shell Version: 1.9.3 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Group: Applications/Publishing @@ -10,6 +10,9 @@ URL: http://kile.sourceforge.net/ Source0: http://dl.sourceforge.net/sourceforge/kile/kile-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +# kile.desktop MimeTypes end with ; +Patch1: kile-1.9.3-dt.patch + BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: kdelibs-devel @@ -44,6 +47,8 @@ Kile is a user friendly (La)TeX editor. The main features are: %prep %setup -q -n %{name}-%{version}%{?beta} +%patch1 -p1 -b .dt + %build unset QTDIR || : ; . /etc/profile.d/qt.sh @@ -118,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 25 2007 Rex Dieter 1.9.3-6 +- patch kile.desktop to satisfy desktop-file-validate + * Sat Aug 25 2007 Rex Dieter 1.9.3-5 - respin (BuildID) - BR: desktop-file-utils (again)