SHA256
1
0
forked from pool/vim

Accepting request 1075150 from home:gladiac:branches:editors

- Create a standalone package for xxd
  * This is used by non-vim tools too

OBS-URL: https://build.opensuse.org/request/show/1075150
OBS-URL: https://build.opensuse.org/package/show/editors/vim?expand=0&rev=797
This commit is contained in:
Martin Pluskal 2023-03-29 10:25:06 +00:00 committed by Git OBS Bridge
parent 76f181b778
commit 7b306c3ac0
2 changed files with 35 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 28 08:48:31 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- Create a standalone package for xxd
* This is used by non-vim tools too
-------------------------------------------------------------------
Tue Mar 21 11:38:46 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -96,6 +96,7 @@ BuildRequires: pkgconfig(lua)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(xt)
Requires: vim-data-common = %{version}-%{release}
Requires: xxd = %{version}-%{release}
%if %{with libalternatives}
Requires: alts
%else
@ -193,6 +194,13 @@ Requires: vim-data-common = %{version}-%{release}
Vim compiled with reduced feature set such as no script
interpreters built in
%package -n xxd
Summary: A hex dump utility
%description -n xxd
xxd creates a hex dump of a given file or standard input. It can also convert
a hex dump back to its original binary form.
%prep
%setup -q -n %{name}-%{pkg_version}.%{patchlevel}
@ -587,9 +595,23 @@ fi
%{_bindir}/vitmp
%{_bindir}/vimtutor
%{_bindir}/gvimtutor
%{_bindir}/xxd
# man pages
%{_mandir}/man1/*
%{_mandir}/man1/eview.1%{ext_man}
%{_mandir}/man1/evim.1%{ext_man}
%{_mandir}/man1/ex.1%{ext_man}
%{_mandir}/man1/gview.1%{ext_man}
%{_mandir}/man1/gvim.1%{ext_man}
%{_mandir}/man1/gvimdiff.1%{ext_man}
%{_mandir}/man1/rgview.1%{ext_man}
%{_mandir}/man1/rgvim.1%{ext_man}
%{_mandir}/man1/rview.1%{ext_man}
%{_mandir}/man1/rvim.1%{ext_man}
%{_mandir}/man1/vi.1%{ext_man}
%{_mandir}/man1/view.1%{ext_man}
%{_mandir}/man1/vim.1%{ext_man}
%{_mandir}/man1/vimdiff.1%{ext_man}
%{_mandir}/man1/vimtutor.1%{ext_man}
%{_mandir}/man1/vitmp.1%{ext_man}
%dir %{_mandir}/da
%dir %{_mandir}/da/man1/
%{_mandir}/da/man1/*
@ -782,4 +804,9 @@ fi
%{_bindir}/vim
%{_bindir}/vim-small
%files -n xxd
%license LICENSE
%{_bindir}/xxd
%{_mandir}/man1/xxd.1%{ext_man}
%changelog