Compare commits

...
Sign in to create a new pull request.

82 commits

Author SHA1 Message Date
Fedora Release Engineering
79eb204c21 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:28:43 +00:00
Fedora Release Engineering
e95559b28c Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:54:06 +00:00
Fedora Release Engineering
72d8e47615 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:04:47 +00:00
Artem Polishchuk
546b8b332d
chore: Update to 0.14.3
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-06-12 18:20:21 +03:00
Artem Polishchuk
03f67ee834
chore: Update to 0.14
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-02-08 21:45:52 +02:00
Fedora Release Engineering
a1e2fca9f6 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:19:26 +00:00
Artem Polishchuk
142519de55
build: Update AppData
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-01-08 16:48:00 +02:00
Artem Polishchuk
48cc5c12a4
fix: AppData
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-01-07 01:50:38 +02:00
Artem Polishchuk
1f945ff5cf
build: Install AppData manifest #rhbz2335613
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-01-06 22:12:47 +02:00
Artem Polishchuk
d6e05d32e4
build: Use https for URL
Signed-off-by: Artem Polishchuk <ego.cordatus@gmail.com>
2025-01-06 21:46:31 +02:00
Miroslav Suchý
7c558da5cd convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-26 03:35:12 +02:00
Fedora Release Engineering
68715e705b Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:45:30 +00:00
Fedora Release Engineering
eca81c0a3a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:43:42 +00:00
Fedora Release Engineering
ca0ceae685 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:36:50 +00:00
Artem Polishchuk
47e0b41ac3 build: Update to 0.13 2023-04-05 12:47:02 +03:00
Artem Polishchuk
0e89bb2492 build: Update to 0.13-beta 2023-03-18 03:04:40 +02:00
Fedora Release Engineering
73a770a9a0 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:16:28 +00:00
Artem Polishchuk
bf72977c8b chore(update): 0.12.1 2022-09-21 22:10:24 +03:00
Artem Polishchuk
ebaba6cf25 Convert to rpmautospec 2022-09-21 21:53:19 +03:00
Fedora Release Engineering
ddec707a1d Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 11:51:27 +00:00
Fedora Release Engineering
ba3c97329f - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 03:57:06 +00:00
Artem Polishchuk
df0878ca4a build(update): 0.12 2021-09-29 17:45:33 +03:00
Fedora Release Engineering
e3bc00e23e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:26:56 +00:00
Fedora Release Engineering
7443ead08d - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 23:02:57 +00:00
Tom Stellard
7ae1964fac Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-09 00:41:43 +00:00
Artem Polishchuk
0a0f4ddf42 Update to 0.11 2020-09-24 19:02:35 +03:00
Fedora Release Engineering
2926c941d1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-29 13:41:48 +00:00
Artem Polishchuk
52153694b9 Add upstream bug report link for GCC 10 bug 2020-04-06 22:55:00 +03:00
Artem Polishchuk
0f14b14fcc Update package and fix FTBFS | RHBZ#1800234 2020-04-06 22:14:07 +03:00
Fedora Release Engineering
fba181a361 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:08:01 +00:00
Ben Boeckel
f978ab9a1c Remove vifm-media-osx script 2019-10-29 23:18:56 -04:00
Ben Boeckel
80355d3907 Update to 0.10.1 (rhbz#1462578) 2019-10-29 23:13:15 -04:00
Fedora Release Engineering
2c70cc0d49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 02:58:21 +00:00
Petr Písař
44d81dc916 Fix building with glibc 2.25 2019-07-11 15:10:28 +02:00
Fedora Release Engineering
d402e15844 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:16:10 +00:00
e418252854 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:54 +01:00
Fedora Release Engineering
be284ad2c1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:31:53 +00:00
Igor Gnatenko
90c0236337 add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:53 +02:00
Fedora Release Engineering
b0a3ed1973 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:29:42 +00:00
Fedora Release Engineering
03ab1dcb28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:03:31 +00:00
Fedora Release Engineering
b794a8853c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:18:12 +00:00
Fedora Release Engineering
e86b0bbe6f - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:04:12 +00:00
Ben Boeckel
ec299ea1a9 update to 0.8.2 2016-07-23 23:05:41 -04:00
Petr Písař
fa07e4ad0f Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:38:56 +02:00
Ben Boeckel
ba77d3f1d9 package vifm-screen-split 2016-04-23 20:51:37 -04:00
Ben Boeckel
71551fec85 remove vifmrc-converter 2016-04-23 20:45:41 -04:00
Ben Boeckel
b693ab13b1 update to 0.8.1a 2016-04-23 20:40:20 -04:00
Ralf Corsépius
b1911388c0 Let vifm install documentation files 2016-03-30 20:23:38 -04:00
Fedora Release Engineering
9629a608c4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:41:45 +00:00
Ben Boeckel
93e489e26f use %make_install 2015-08-02 12:31:31 -04:00
Ben Boeckel
046271c844 add automake BR 2015-07-20 19:21:24 -04:00
Ben Boeckel
8c23073a34 respin patch (conflicts in the changelog) 2015-07-20 19:15:40 -04:00
Ben Boeckel
c1655f2abb apply patch and regenerate configure 2015-07-20 19:08:58 -04:00
Ben Boeckel
7dcde82c86 add patch for aarch64 support (also fixes armv7hl) 2015-07-20 18:56:50 -04:00
Ben Boeckel
91e1448b62 package vifm-convert-dircolors 2015-07-19 12:42:47 -04:00
Ben Boeckel
ba50d62af6 Update to 0.8 2015-07-19 12:27:00 -04:00
Dennis Gilmore
342cf9e443 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 01:59:52 +00:00
Ben Boeckel
a7e122c863 Update to 0.7.8 2014-12-10 23:00:44 -05:00
f0f325d3f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 07:51:24 +00:00
Yaakov Selkowitz
1a6ce5c6e9 Fix %%files for 0.7.6 (#1107084) 2014-08-08 01:56:08 -05:00
Dennis Gilmore
d10c728ab7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:39:44 -05:00
Ben Boeckel
5b9d62724c Update to 0.7.6 2013-11-20 23:32:37 -05:00
Dennis Gilmore
353bf3a4ce - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:11:34 -05:00
Ben Boeckel
c69113d9aa Add aarch64 patch 2013-05-30 22:30:31 -04:00
Ben Boeckel
12bec56e11 Upload sources 2013-05-30 22:30:20 -04:00
Ben Boeckel
5ba4f2cd14 Update to 0.7.5 2013-05-30 22:21:36 -04:00
Dennis Gilmore
4f9a222cc0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 20:47:04 -06:00
Ben Boeckel
c375301914 Update to 0.7.4a 2012-11-05 00:12:55 -05:00
Ben Boeckel
a41ee3faaf Add switches for optional features 2012-11-05 00:10:23 -05:00
Ben Boeckel
ffe10604ad Update to 0.7.4a 2012-11-05 00:10:13 -05:00
Ben Boeckel
eaffb575b6 Update %files 2012-07-23 21:22:35 -04:00
Ben Boeckel
4542706b22 Upstream tarball directory fixed 2012-07-23 21:03:59 -04:00
Ben Boeckel
0292d84f18 Update to 0.7.3a 2012-07-23 19:11:52 -04:00
Dennis Gilmore
4fe7ee86c3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 21:43:33 -05:00
Dennis Gilmore
4ec4171583 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-14 01:54:28 -06:00
Ben Boeckel
b254ec1a3a Set the directory name in the tarball 2011-06-24 23:32:19 -04:00
Ben Boeckel
4c8bec130d Update to 0.6.2 2011-06-24 23:22:30 -04:00
Ben Boeckel
c4451721a9 Spec files touchups 2011-06-24 23:21:46 -04:00
Dennis Gilmore
a993cf7413 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-07 19:29:04 -06:00
Fedora Release Engineering
47cc222066 dist-git conversion 2010-07-29 14:58:49 +00:00
Pierre Dorbais
17f7db25a3 Add patch to fix crash when deleting four or more files (Bug #592725) 2010-06-19 14:12:21 +00:00
Pierre Dorbais
b7d4e1264b Initial RPM release 2010-04-15 19:04:20 +00:00
7 changed files with 295 additions and 21 deletions

View file

18
.gitignore vendored Normal file
View file

@ -0,0 +1,18 @@
vifm-0.5.tar.bz2
/vifm-0.6.2.tar.bz2
/vifm-0.7.3a.tar.bz2
/vifm-0.7.4a.tar.bz2
/vifm-0.7.5.tar.bz2
/vifm-0.7.6.tar.bz2
/vifm-0.7.8.tar.bz2
/vifm-0.8.tar.bz2
/vifm-0.8.1a.tar.bz2
/vifm-0.8.2.tar.bz2
/vifm-0.10.1.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,21 +0,0 @@
# Makefile for source rpm: vifm
# $Id$
NAME := vifm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

134
changelog Normal file
View file

@ -0,0 +1,134 @@
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Sep 29 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.12-1
- build(update): 0.12
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Sep 24 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.11-1
- Update to 0.11
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Apr 06 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.10.1-3
- Update package and fix FTBFS | RHBZ#1800234
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Oct 29 2019 Ben Boeckel <mathstuf@gmail.com> - 0.10.1-1
- Update to 0.10.1 (rhbz#1462578)
- Remove vifm-media-osx script
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 11 2019 Petr Pisar <ppisar@redhat.com> - 0.8.2-8
- Fix building with glibc 2.25 (bug #1606644)
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Sat Jul 23 2016 Ben Boeckel <mathstuf@gmail.com> - 0.8.2-1
- update to 0.8.2
* Sat Apr 23 2016 Ben Boeckel <mathstuf@gmail.com> - 0.8.1a-1
- update to 0.8.1a
* Wed Mar 23 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.8-3
- Install docs directly into %%{_pkgdocdir} (F24FTBFS, RHBZ#1308228).
- Add %%license.
- Modernize spec.
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Sun Jul 19 2015 Ben Boeckel <mathstuf@gmail.com> - 0.8-1
- Update to 0.8
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Wed Dec 10 2014 Ben Boeckel <mathstuf@gmail.com> - 0.7.8-1
- Update to 0.7.8
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Aug 08 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.7.6-3
- Fix %%files for 0.7.6 (#1107084)
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Wed Nov 20 2013 Ben Boeckel <mathstuf@gmail.com> - 0.7.6-1
- Update to 0.7.6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu May 30 2013 Ben Boeckel <mathstuf@gmail.com> - 0.7.5-1
- Update to 0.7.5
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4a-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sun Nov 04 2012 Ben Boeckel <mathstuf@gmail.com> - 0.7.4a-1
- Update to 0.7.4a
* Mon Jul 23 2012 Ben Boeckel <mathstuf@gmail.com> - 0.7.3a-1
- Update to 0.7.3a
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Jun 24 2011 Ben Boeckel <mathstuf@gmail.com> - 0.6.2-1
- Update to 0.6.2
- Remove deletion patch (unable to reproduce original bug with new version)
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jun 19 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-4
- Add patch to fix crash when deleting four or more files (Bug #592725)
* Tue Apr 13 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-3
- Add dir macro to fix files listed twice
- Add blank lines between changelog entries
* Mon Apr 12 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-2
- Add INSTALL variable to make
- Add patch Patch0
- Add missing path to files macro
- Remove INSTALL doc file
- Remove BuildRoot tag
* Mon Feb 08 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-1
- Initial RPM release

View file

@ -0,0 +1 @@
SHA512 (vifm-0.14.3.tar.bz2) = 850d29a1c50e7579d53fcd519e3108f7edd1d5046ca473217f397b6394017dff95644ae92928a611fc6a75fb02c1cee62d4b858669c61b5c2764805dd64b303c

31
vifm.appdata.xml Normal file
View file

@ -0,0 +1,31 @@
<?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>

111
vifm.spec Normal file
View file

@ -0,0 +1,111 @@
%bcond_with gtk
%bcond_without libmagic
%bcond_with x11
%global tarball_version %%(echo %{version} | tr '~' '-')
Name: vifm
Version: 0.14.3
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
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: libappstream-glib
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: perl-generators
%if %{with gtk}
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
%endif
%if %{with libmagic}
BuildRequires: file-devel
%endif
%if %{with x11}
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
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.
%prep
%autosetup -n %{name}-%{tarball_version}
%build
%configure \
%if %{with gtk}
--with-gtk=yes \
%else
--with-gtk=no \
%endif
%if %{with libmagic}
--with-libmagic=yes \
%else
--with-libmagic=no \
%endif
%if %{with x11}
--with-X11=yes
%else
--with-X11=no
%endif
%make_build
%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
%license COPYING
%{_bindir}/%{name}
%{_bindir}/%{name}-convert-dircolors
%{_bindir}/%{name}-pause
%{_bindir}/%{name}-screen-split
%{_datadir}/%{name}/
%{_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}/
%changelog
%autochangelog