rename desktop title
This commit is contained in:
parent
83bcb283d5
commit
8349f6d87f
@ -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 <nphilipp@redhat.com>
|
||||
- rename desktop title
|
||||
|
||||
* Thu Aug 26 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||
- add MimeType to desktop file
|
||||
- run update-desktop-database in %%post/%%postun
|
||||
|
Loading…
Reference in New Issue
Block a user