move desktop entry to -desktop subpackage [release 9.0.0040-2mamba;Sat Jul 09 2022]
This commit is contained in:
parent
2e41d8c488
commit
9ca41d1b9c
48
vim.spec
48
vim.spec
@ -2,12 +2,11 @@
|
|||||||
## *AUTOSPEC-OFF*
|
## *AUTOSPEC-OFF*
|
||||||
%define vimdir %{name}%(majversion=%majversion; echo ${majversion/\./})
|
%define vimdir %{name}%(majversion=%majversion; echo ${majversion/\./})
|
||||||
## *AUTOSPEC-ON*
|
## *AUTOSPEC-ON*
|
||||||
%define langversion 7.2
|
|
||||||
%define with_gvim 0
|
%define with_gvim 0
|
||||||
|
|
||||||
Name: vim
|
Name: vim
|
||||||
Version: 9.0.0040
|
Version: 9.0.0040
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: VIsual editor iMproved
|
Summary: VIsual editor iMproved
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -36,6 +35,15 @@ Vi was the first real screen-based editor for UNIX, and is still very popular.
|
|||||||
VIM improves on vi by adding new features: multiple windows, multi-level undo, block highlighting and more. VIM-X11 is a version of the VIM editor which will run within the X Window System.
|
VIM improves on vi by adding new features: multiple windows, multi-level undo, block highlighting and more. VIM-X11 is a version of the VIM editor which will run within the X Window System.
|
||||||
If you install this package, you can run VIM as an X application with a full GUI interface and mouse support.
|
If you install this package, you can run VIM as an X application with a full GUI interface and mouse support.
|
||||||
|
|
||||||
|
%package desktop
|
||||||
|
Group: Graphical Desktop/Applications/Utilities
|
||||||
|
Summary: Desktop menu entry for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description desktop
|
||||||
|
VIM (VIsual editor iMproved) is an updated and improved version of the vi editor.
|
||||||
|
This package provides a desktop menu entry for %{name}.
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Group: Documentation
|
Group: Documentation
|
||||||
Summary: Documentation for %{name}
|
Summary: Documentation for %{name}
|
||||||
@ -153,20 +161,37 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sysconfdir}/skel/.vimrc
|
%{_sysconfdir}/skel/.vimrc
|
||||||
%{_bindir}/*
|
%{_bindir}/ex
|
||||||
%{_datadir}/applications/gvim.desktop
|
%{_bindir}/rview
|
||||||
%{_datadir}/applications/vim.desktop
|
%{_bindir}/rvim
|
||||||
|
%{_bindir}/vi
|
||||||
|
%{_bindir}/view
|
||||||
|
%{_bindir}/vim
|
||||||
|
%{_bindir}/vimdiff
|
||||||
|
%{_bindir}/xxd
|
||||||
%dir %{_datadir}/vim/%{vimdir}
|
%dir %{_datadir}/vim/%{vimdir}
|
||||||
%{_datadir}/vim/%{vimdir}/*
|
%{_datadir}/vim/%{vimdir}/*
|
||||||
%exclude %{_datadir}/vim/%{vimdir}/doc
|
%exclude %{_datadir}/vim/%{vimdir}/doc
|
||||||
%exclude %{_datadir}/vim/%{vimdir}/tutor
|
%exclude %{_datadir}/vim/%{vimdir}/tutor
|
||||||
%{_datadir}/icons/locolor/*/apps/gvim.png
|
%{_mandir}/man1/evim.1*
|
||||||
%{_datadir}/icons/hicolor/*/apps/gvim.png
|
%{_mandir}/man1/ex.1*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/rview.1*
|
||||||
|
%{_mandir}/man1/rvim.1*
|
||||||
|
%{_mandir}/man1/view.1*
|
||||||
|
%{_mandir}/man1/vim.1*
|
||||||
|
%{_mandir}/man1/vimdiff.1*
|
||||||
|
%{_mandir}/man1/xxd.1*
|
||||||
|
/root/.vimrc
|
||||||
|
|
||||||
|
%files desktop
|
||||||
|
%defattr(-,root,root)
|
||||||
%if %{with_gvim}
|
%if %{with_gvim}
|
||||||
%{_bindir}/gvim
|
%{_bindir}/gvim
|
||||||
%endif
|
%endif
|
||||||
/root/.vimrc
|
%{_datadir}/applications/gvim.desktop
|
||||||
|
%{_datadir}/applications/vim.desktop
|
||||||
|
%{_datadir}/icons/locolor/*/apps/gvim.png
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/gvim.png
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -174,9 +199,14 @@ install -m 0755 -D src/gvim %{buildroot}%{_bindir}/gvim
|
|||||||
|
|
||||||
%files tutor
|
%files tutor
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/vimtutor
|
||||||
%{_datadir}/vim/%{vimdir}/tutor
|
%{_datadir}/vim/%{vimdir}/tutor
|
||||||
|
%{_mandir}/man1/vimtutor.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.0040-2mamba
|
||||||
|
- move desktop entry to -desktop subpackage
|
||||||
|
|
||||||
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 9.0.0040-1mamba
|
* Thu Jul 07 2022 Automatic Build System <autodist@mambasoft.it> 9.0.0040-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user