diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9532ccd --- /dev/null +++ b/.gitignore @@ -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 diff --git a/Makefile b/Makefile deleted file mode 100644 index 6f19321..0000000 --- a/Makefile +++ /dev/null @@ -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) diff --git a/changelog b/changelog new file mode 100644 index 0000000..de821fe --- /dev/null +++ b/changelog @@ -0,0 +1,134 @@ +* Sat Jul 23 2022 Fedora Release Engineering - 0.12-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Sep 29 2021 Artem Polishchuk - 0.12-1 +- build(update): 0.12 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Sep 24 2020 Artem Polishchuk - 0.11-1 +- Update to 0.11 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.10.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Apr 06 2020 Artem Polishchuk - 0.10.1-3 +- Update package and fix FTBFS | RHBZ#1800234 + +* Fri Jan 31 2020 Fedora Release Engineering - 0.10.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Oct 29 2019 Ben Boeckel - 0.10.1-1 +- Update to 0.10.1 (rhbz#1462578) +- Remove vifm-media-osx script + +* Sat Jul 27 2019 Fedora Release Engineering - 0.8.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jul 11 2019 Petr Pisar - 0.8.2-8 +- Fix building with glibc 2.25 (bug #1606644) + +* Sun Feb 03 2019 Fedora Release Engineering - 0.8.2-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 0.8.2-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Feb 09 2018 Fedora Release Engineering - 0.8.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.8.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.8.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 0.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sat Jul 23 2016 Ben Boeckel - 0.8.2-1 +- update to 0.8.2 + +* Sat Apr 23 2016 Ben Boeckel - 0.8.1a-1 +- update to 0.8.1a + +* Wed Mar 23 2016 Ralf Corsépius - 0.8-3 +- Install docs directly into %%{_pkgdocdir} (F24FTBFS, RHBZ#1308228). +- Add %%license. +- Modernize spec. + +* Fri Feb 05 2016 Fedora Release Engineering - 0.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Jul 19 2015 Ben Boeckel - 0.8-1 +- Update to 0.8 + +* Fri Jun 19 2015 Fedora Release Engineering - 0.7.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Dec 10 2014 Ben Boeckel - 0.7.8-1 +- Update to 0.7.8 + +* Mon Aug 18 2014 Fedora Release Engineering - 0.7.6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Fri Aug 08 2014 Yaakov Selkowitz - 0.7.6-3 +- Fix %%files for 0.7.6 (#1107084) + +* Sun Jun 08 2014 Fedora Release Engineering - 0.7.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Nov 20 2013 Ben Boeckel - 0.7.6-1 +- Update to 0.7.6 + +* Sun Aug 04 2013 Fedora Release Engineering - 0.7.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu May 30 2013 Ben Boeckel - 0.7.5-1 +- Update to 0.7.5 + +* Fri Feb 15 2013 Fedora Release Engineering - 0.7.4a-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Nov 04 2012 Ben Boeckel - 0.7.4a-1 +- Update to 0.7.4a + +* Mon Jul 23 2012 Ben Boeckel - 0.7.3a-1 +- Update to 0.7.3a + +* Sun Jul 22 2012 Fedora Release Engineering - 0.6.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 0.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Jun 24 2011 Ben Boeckel - 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 - 0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Jun 19 2010 Pierre Dorbais 0.5-4 +- Add patch to fix crash when deleting four or more files (Bug #592725) + +* Tue Apr 13 2010 Pierre Dorbais 0.5-3 +- Add dir macro to fix files listed twice +- Add blank lines between changelog entries + +* Mon Apr 12 2010 Pierre Dorbais 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 0.5-1 +- Initial RPM release diff --git a/sources b/sources index e69de29..93b76c3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +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 new file mode 100644 index 0000000..4cac8a2 --- /dev/null +++ b/vifm.spec @@ -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