diff --git a/vim.changes b/vim.changes index cf3defb..af581f0 100644 --- a/vim.changes +++ b/vim.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 28 08:48:31 UTC 2023 - Andreas Schneider + +- 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 diff --git a/vim.spec b/vim.spec index d6c6703..9f25753 100644 --- a/vim.spec +++ b/vim.spec @@ -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