rename desktop title
This commit is contained in:
parent
83bcb283d5
commit
8349f6d87f
@ -17,7 +17,7 @@ Version: 2.0.4
|
|||||||
%if %prever
|
%if %prever
|
||||||
Release: 0.%{prever}.1
|
Release: 0.%{prever}.1
|
||||||
%else
|
%else
|
||||||
Release: 4
|
Release: 5
|
||||||
%endif
|
%endif
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPL, LGPL
|
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
|
[ ! -L %{buildroot}/%{_bindir}/gimptool ] && ln -s gimptool-%{subver} %{buildroot}/%{_bindir}/gimptool
|
||||||
%endif
|
%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
|
%clean
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -345,6 +348,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 16 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||||
|
- rename desktop title
|
||||||
|
|
||||||
* Thu Aug 26 2004 Nils Philippsen <nphilipp@redhat.com>
|
* Thu Aug 26 2004 Nils Philippsen <nphilipp@redhat.com>
|
||||||
- add MimeType to desktop file
|
- add MimeType to desktop file
|
||||||
- run update-desktop-database in %%post/%%postun
|
- run update-desktop-database in %%post/%%postun
|
||||||
|
Loading…
Reference in New Issue
Block a user