Compare commits

..

No commits in common. "rawhide" and "f35" have entirely different histories.

4 changed files with 6 additions and 55 deletions

4
.gitignore vendored
View file

@ -12,7 +12,3 @@ vifm-0.5.tar.bz2
/vifm-0.11.tar.bz2
/vifm-0.12.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

View file

@ -1 +1 @@
SHA512 (vifm-0.14.3.tar.bz2) = 850d29a1c50e7579d53fcd519e3108f7edd1d5046ca473217f397b6394017dff95644ae92928a611fc6a75fb02c1cee62d4b858669c61b5c2764805dd64b303c
SHA512 (vifm-0.12.1.tar.bz2) = 583e40622a996cf1a2a439c61fb95bea5692bdd4fef6521b3ba17f05f711622449b370a4bd9b71da4426ec475667130bb81c394cb0ccdd55a932a22371e8db1c

View file

@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>info.vifm.vifm</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0-or-later</project_license>
<name>Vifm</name>
<summary>Vifm - Vim-like file manager</summary>
<description>
<p>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.</p>
<p>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.</p>
</description>
<launchable type="desktop-id">vifm.desktop</launchable>
<screenshots>
<screenshot type="default">
<image>
https://raw.githubusercontent.com/vifm/vifm/master/data/graphics/screenshot.png
</image>
</screenshot>
</screenshots>
<url type="homepage">https://vifm.info/</url>
<update_contact>xaizek@posteo.net</update_contact>
<developer_name>xaizek</developer_name>
<provides>
<id>vifm.desktop</id>
</provides>
</component>

View file

@ -2,25 +2,19 @@
%bcond_without libmagic
%bcond_with x11
%global tarball_version %%(echo %{version} | tr '~' '-')
Name: vifm
Version: 0.14.3
Version: 0.12.1
Release: %autorelease
Summary: Vifm is a file manager with curses interface
# 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
License: GPLv2+
URL: http://vifm.info/
Source0: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: libappstream-glib
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: perl-generators
@ -35,8 +29,6 @@ BuildRequires: file-devel
BuildRequires: libX11-devel
%endif
Requires: hicolor-icon-theme
%description
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
@ -51,7 +43,7 @@ should be enough for most of use cases.
%prep
%autosetup -n %{name}-%{tarball_version}
%autosetup
%build
@ -76,15 +68,12 @@ 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
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
%files
@ -97,12 +86,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
%{_datadir}/applications/*.desktop
%{_datadir}/bash-completion/completions/%{name}
%{_datadir}/fish/vendor_completions.d/%{name}.fish
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/icons/hicolor/scalable/*/*.svg
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/zsh/site-functions/_%{name}
%{_mandir}/man1/*
%{_metainfodir}/%{name}.appdata.xml
%{_pkgdocdir}/
%{_sysconfdir}/%{name}/