diff --git a/highlight-2.15-startupnot.patch b/highlight-2.15-startupnot.patch new file mode 100644 index 0000000..3dc5e26 --- /dev/null +++ b/highlight-2.15-startupnot.patch @@ -0,0 +1,12 @@ +diff -up highlight-2.15/highlight.desktop.startup highlight-2.15/highlight.desktop +--- highlight-2.15/highlight.desktop.startup 2010-03-14 20:51:58.521260462 +0100 ++++ highlight-2.15/highlight.desktop 2010-03-14 20:53:00.945538718 +0100 +@@ -6,4 +6,5 @@ Comment=Converts source code to formatte + Exec=highlight-gui + TryExec=highlight-gui + Icon=highlight +-Categories=Utility;TextTools; +\ Kein Zeilenumbruch am Dateiende. ++Categories=Utility;TextTools; ++StartupNotify=true +\ Kein Zeilenumbruch am Dateiende. diff --git a/highlight.spec b/highlight.spec index f423416..8e8c477 100644 --- a/highlight.spec +++ b/highlight.spec @@ -1,7 +1,7 @@ Name: highlight Summary: Universal source code to formatted text converter Version: 2.15 -Release: 1%{?dist} +Release: 2%{?dist} Group: Development/Tools License: GPLv3 @@ -9,6 +9,9 @@ License: GPLv3 URL: http://www.andre-simon.de/ Source0: http://www.andre-simon.de/zip/%{name}-%{version}.tar.bz2 +# Patch sent to upstream via email +Patch1: highlight-2.15-startupnot.patch + BuildRequires: qt-devel >= 4.4 BuildRequires: desktop-file-utils @@ -31,6 +34,7 @@ A Qt-based GUI for the highlight source code formatter source. %prep %setup -q +%patch1 -p1 -b .setup # Provides: exclude perl(highlight_pipe) from example cat <<__EOF__ > %{name}-perl.prov @@ -96,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/pixmaps/highlight.xpm %changelog +* Sun Mar 14 2010 Jochen Schmitt 2.15-2 +- Add StartupNotify=true into desktop file + * Mon Mar 1 2010 Jochen Schmitt 2.15-1 - New upstream release