a41ee3f
%bcond_with    gtk
a41ee3f
%bcond_without libmagic
a41ee3f
%bcond_with    x11
a41ee3f
Pierre Dorbais b7d4e12
Name:           vifm
ba50d62
Version:        0.8
ba50d62
Release:        1%{?dist}
Pierre Dorbais b7d4e12
Summary:        Lightweight file manager with vi like key-bindings
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
Group:          Applications/File
Pierre Dorbais b7d4e12
License:        GPLv2+
7dcde82
URL:            http://vifm.info/
Pierre Dorbais b7d4e12
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
7dcde82
# https://github.com/vifm/vifm/commit/be821157bb9c22ac1928c2f0e9b189880ce77505 (issue #103)
8c23073
# Patch respun for conflicts.
7dcde82
Patch0:         vifm-0.8-aarch64.patch
Pierre Dorbais b7d4e12
c1655f2
BuildRequires:  autoconf
046271c
BuildRequires:  automake
a41ee3f
%if %{with gtk}
a41ee3f
BuildRequires:  pkgconfig(glib-2.0)
a41ee3f
BuildRequires:  pkgconfig(gtk+-2.0)
a41ee3f
%endif
a41ee3f
%if %{with libmagic}
ffe1060
BuildRequires:  file-devel
a41ee3f
%endif
a41ee3f
%if %{with x11}
a41ee3f
BuildRequires:  libX11-devel
a41ee3f
%endif
Pierre Dorbais b7d4e12
BuildRequires:  ncurses-devel
1a6ce5c
BuildRequires:  desktop-file-utils
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
%description
Pierre Dorbais b7d4e12
A ncurses based CLI file manager with vi like key-bindings
Pierre Dorbais b7d4e12
Ben Boeckel c445172
Pierre Dorbais b7d4e12
%prep
4542706
%setup -q
c1655f2
%patch0 -p1 -b .aarch64
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
%build
c1655f2
# autoreconf for Patch0
c1655f2
autoreconf -if
c1655f2
a41ee3f
%configure \
a41ee3f
%if %{with gtk}
a41ee3f
    --with-gtk=yes \
a41ee3f
%else
a41ee3f
    --with-gtk=no \
a41ee3f
%endif
a41ee3f
%if %{with libmagic}
a41ee3f
    --with-libmagic=yes \
a41ee3f
%else
a41ee3f
    --with-libmagic=no \
a41ee3f
%endif
a41ee3f
%if %{with x11}
a41ee3f
    --with-X11=yes
a41ee3f
%else
a41ee3f
    --with-X11=no
a41ee3f
%endif
Pierre Dorbais b7d4e12
make %{?_smp_mflags}
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
%install
Ben Boeckel c445172
make install DESTDIR=%{buildroot} INSTALL="install -p"
Pierre Dorbais b7d4e12
1a6ce5c
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
1a6ce5c
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
%files
Pierre Dorbais b7d4e12
%defattr(-,root,root,-)
Pierre Dorbais b7d4e12
%doc AUTHORS BUGS ChangeLog COPYING README TODO
Pierre Dorbais b7d4e12
%{_bindir}/%{name}
91e1448
%{_bindir}/vifm-convert-dircolors
eaffb57
%{_bindir}/vifm-pause
eaffb57
%{_bindir}/vifmrc-converter
ffe1060
%{_mandir}/man1/*.1.gz
1a6ce5c
%{_datadir}/applications/%{name}.desktop
1a6ce5c
%{_datadir}/pixmaps/%{name}.png
eaffb57
%{_datadir}/%{name}/
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
%changelog
ba50d62
* Sun Jul 19 2015 Ben Boeckel <mathstuf@gmail.com> - 0.8-1
ba50d62
- Update to 0.8
ba50d62
342cf9e
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.8-2
342cf9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
342cf9e
a7e122c
* Wed Dec 10 2014 Ben Boeckel <mathstuf@gmail.com> - 0.7.8-1
a7e122c
- Update to 0.7.8
a7e122c
f0f325d
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-4
f0f325d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f0f325d
1a6ce5c
* Fri Aug 08 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.7.6-3
1a6ce5c
- Fix %%files for 0.7.6 (#1107084)
1a6ce5c
d10c728
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
d10c728
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d10c728
5b9d627
* Wed Nov 20 2013 Ben Boeckel <mathstuf@gmail.com> - 0.7.6-1
5b9d627
- Update to 0.7.6
5b9d627
353bf3a
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.5-2
353bf3a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
353bf3a
5ba4f2c
* Thu May 30 2013 Ben Boeckel <mathstuf@gmail.com> - 0.7.5-1
5ba4f2c
- Update to 0.7.5
5ba4f2c
4f9a222
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4a-2
4f9a222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4f9a222
ffe1060
* Sun Nov 04 2012 Ben Boeckel <mathstuf@gmail.com> - 0.7.4a-1
ffe1060
- Update to 0.7.4a
ffe1060
0292d84
* Mon Jul 23 2012 Ben Boeckel <mathstuf@gmail.com> - 0.7.3a-1
0292d84
- Update to 0.7.3a
0292d84
4fe7ee8
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-3
4fe7ee8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4fe7ee8
4ec4171
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.2-2
4ec4171
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
4ec4171
Ben Boeckel 4c8bec1
* Fri Jun 24 2011 Ben Boeckel <mathstuf@gmail.com> - 0.6.2-1
Ben Boeckel 4c8bec1
- Update to 0.6.2
Ben Boeckel 4c8bec1
- Remove deletion patch (unable to reproduce original bug with new version)
Ben Boeckel 4c8bec1
a993cf7
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-5
a993cf7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a993cf7
Pierre Dorbais 17f7db2
* Sat Jun 19 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-4
Pierre Dorbais 17f7db2
- Add patch to fix crash when deleting four or more files (Bug #592725)
Pierre Dorbais 17f7db2
Pierre Dorbais b7d4e12
* Tue Apr 13 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-3
Pierre Dorbais b7d4e12
- Add dir macro to fix files listed twice
Pierre Dorbais b7d4e12
- Add blank lines between changelog entries
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
* Mon Apr 12 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-2
Pierre Dorbais b7d4e12
- Add INSTALL variable to make
Pierre Dorbais b7d4e12
- Add patch Patch0
Pierre Dorbais b7d4e12
- Add missing path to files macro
Pierre Dorbais b7d4e12
- Remove INSTALL doc file
Pierre Dorbais b7d4e12
- Remove BuildRoot tag
Pierre Dorbais b7d4e12
Pierre Dorbais b7d4e12
* Mon Feb 08 2010 Pierre Dorbais <pierre.dorbais@free.fr> 0.5-1
Pierre Dorbais b7d4e12
- Initial RPM release