diff --git a/.gitignore b/.gitignore index b7db677..9532ccd 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ vifm-0.5.tar.bz2 /vifm-0.12.1.tar.bz2 /vifm-0.13-beta.tar.bz2 /vifm-0.13.tar.bz2 +/vifm-0.14.tar.bz2 +/vifm-0.14.3.tar.bz2 diff --git a/sources b/sources index 780be82..93b76c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vifm-0.13.tar.bz2) = a0185400ca20c6f67d41cb0b7696ce85e5e6f823a7c87f8bfe48494131e9463f7bd4798c06e6820e2588ee3b7563dad9a4887874c6bc43b2bf3520a2b4a55e9d +SHA512 (vifm-0.14.3.tar.bz2) = 850d29a1c50e7579d53fcd519e3108f7edd1d5046ca473217f397b6394017dff95644ae92928a611fc6a75fb02c1cee62d4b858669c61b5c2764805dd64b303c diff --git a/vifm.appdata.xml b/vifm.appdata.xml new file mode 100644 index 0000000..70374a5 --- /dev/null +++ b/vifm.appdata.xml @@ -0,0 +1,31 @@ + + + info.vifm.vifm + CC0-1.0 + GPL-2.0-or-later + Vifm + Vifm - Vim-like file manager + + +

Vifm is a curses based Vim-like file manager extended with some useful ideas from mutt. If you use Vim, Vifm gives you complete keyboard control over your files without having to learn a new set of commands. It goes not just about Vim like keybindings, but also about modes, options, registers, commands and other things you might already like in Vim.

+

Just like Vim, Vifm tries to adhere to the Unix philosophy. So instead of working solutions which are set in stone user is provided with a set of means for customization of Vifm to one's likings. Though builtin functionality should be enough for most of use cases.

+
+ + vifm.desktop + + + + + https://raw.githubusercontent.com/vifm/vifm/master/data/graphics/screenshot.png + + + + + https://vifm.info/ + xaizek@posteo.net + xaizek + + + vifm.desktop + +
diff --git a/vifm.spec b/vifm.spec index 281fa86..4cac8a2 100644 --- a/vifm.spec +++ b/vifm.spec @@ -5,18 +5,22 @@ %global tarball_version %%(echo %{version} | tr '~' '-') Name: vifm -Version: 0.13 +Version: 0.14.3 Release: %autorelease Summary: Vifm is a file manager with curses interface -License: GPLv2+ -URL: http://vifm.info/ +# Automatically converted from old format: GPLv2+ - review is highly recommended. +License: GPL-2.0-or-later +URL: https://vifm.info Source0: https://github.com/%{name}/%{name}/releases/download/v%{tarball_version}/%{name}-%{tarball_version}.tar.bz2 +# AppData manifest (rhbz#2335613) +Source1: https://raw.githubusercontent.com/%{name}/%{name}/refs/heads/master/data/%{name}.appdata.xml BuildRequires: autoconf BuildRequires: automake BuildRequires: desktop-file-utils BuildRequires: gcc +BuildRequires: libappstream-glib BuildRequires: make BuildRequires: ncurses-devel BuildRequires: perl-generators @@ -72,6 +76,7 @@ should be enough for most of use cases. %install %make_install +install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_metainfodir}/%{name}.appdata.xml # Handle license file via regular RPM macros rm %{buildroot}%{_pkgdocdir}/COPYING @@ -79,6 +84,7 @@ rm %{buildroot}%{_pkgdocdir}/COPYING %check desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml %files @@ -96,6 +102,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_datadir}/pixmaps/%{name}.png %{_datadir}/zsh/site-functions/_%{name} %{_mandir}/man1/* +%{_metainfodir}/%{name}.appdata.xml %{_pkgdocdir}/ %{_sysconfdir}/%{name}/