From 8349f6d87f29ca6452b443ec8b4f5c079cf0554a Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Thu, 16 Sep 2004 21:17:40 +0000 Subject: [PATCH] rename desktop title --- gimp.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gimp.spec b/gimp.spec index 3f072f5..658f8da 100644 --- a/gimp.spec +++ b/gimp.spec @@ -17,7 +17,7 @@ Version: 2.0.4 %if %prever Release: 0.%{prever}.1 %else -Release: 4 +Release: 5 %endif Epoch: 1 License: GPL, LGPL @@ -220,6 +220,9 @@ cat gimp-plugin-files gimp-all.lang > gimp.files [ ! -L %{buildroot}/%{_bindir}/gimptool ] && ln -s gimptool-%{subver} %{buildroot}/%{_bindir}/gimptool %endif +# Rename desktop title +perl -pi -e 's/^Name=The GIMP$/Name=GIMP Image Editor/;s/^Name\[de\]=GIMP/Name[de]=GIMP Bildbearbeitungsprogramm/;' %{buildroot}%{_datadir}/gimp/%{subver}/misc/gimp.desktop + %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT @@ -345,6 +348,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Thu Sep 16 2004 Nils Philippsen +- rename desktop title + * Thu Aug 26 2004 Nils Philippsen - add MimeType to desktop file - run update-desktop-database in %%post/%%postun