Fix %suse_update_desktop_file call

OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=35
This commit is contained in:
Ismail Dönmez 2011-04-18 15:31:41 +00:00 committed by Git OBS Bridge
parent 9b9998757f
commit 193242079f

View File

@ -73,9 +73,6 @@ Provides: vi
%if 0%{?suse_version} >= 1010
Recommends: vim-data = %{version}
%endif
# tbd??? %{name}-6.3-ga-utf8.diff
# tbd??? %{name}-6.3-initvals.diff
# tbd??? vim64-svn-crash.patch
Summary: Vi IMproved
#
Url: http://www.vim.org/
@ -98,43 +95,24 @@ Source22: vim.conf
Source23: apparmor.vim
Source98: %{name}-7.3-patches.tar.bz2
Source99: %{name}-7.3-rpmlintrc
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch3: %{name}-7.3-disable_lang_no.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch4: %{name}-7.3-gvimrc_fontset.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch5: %{name}-7.3-highlight_fstab.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch6: %{name}-7.3-sh_is_bash.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch7: %{name}-7.3-filetype_ftl.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch8: %{name}-7.3-help_tags.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch9: %{name}-7.3-use_awk.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch10: %{name}-7.3-name_vimrc.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch11: %{name}-7.3-mktemp_tutor.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch12: %{name}-7.3-ruby_ldflags_configure.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch14: %{name}-7.3-grub.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch15: %{name}-7.3-filetype_apparmor.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch18: %{name}-7.3-filetype_spec.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch19: %{name}-7.3-diff_check.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch21: %{name}-7.3-filetype_changes.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch22: %{name}-7.3-filetype_mine.patch
# TODO: why is this not applied anymore?
Patch25: vim-7.2-lzma-support.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch27: %{name}-7.3-disable_gcc_warning_eval_c.patch
# PATCH-MISSING-TAG -- See http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch100: vim-7.1.314-CVE-2009-0316-debian.patch
%description
@ -437,8 +415,11 @@ mkdir -m 0755 %{buildroot}%{_sysconfdir}/skel
# install spec helper
install -m 0644 %{SOURCE20} %{buildroot}%{_datadir}/vim/current/skeletons/skeleton.spec
install -m 0644 %{SOURCE21} %{buildroot}%{_sysconfdir}/skel/.vimrc
# desktop file for gvim
%suse_update_desktop_file -i gvim Utility TextEditor
install -D -m 0644 gvim.desktop %{buildroot}%{_datadir}/applications/gvim.desktop
%suse_update_desktop_file gvim Utility TextEditor
#
# documentation
install -d -m 0755 %{buildroot}%{_docdir}/{,g}vim/