Jonathan 40867f5
Name:           clifm
0cd6d48
Version:        1.17
33f2d2e
Release:        1%{?dist}
Jonathan 40867f5
Summary:        Shell-like, command line terminal file manager
Jonathan 40867f5
Jonathan 40867f5
# source is pretty evently split between these
Jonathan 40867f5
License:        GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
Jonathan 40867f5
# misc/colors/ and plugins/ are GPL-3.0-only
Jonathan 40867f5
# src/ are GPL-2.0-or-later
Jonathan 40867f5
Jonathan 40867f5
Jonathan 40867f5
URL:            https://github.com/leo-arch/clifm
Jonathan 40867f5
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Jonathan 40867f5
Jonathan 40867f5
BuildRequires:  cmake
Jonathan 40867f5
BuildRequires:  gcc-c++
Jonathan 40867f5
BuildRequires:  readline-devel
Jonathan 40867f5
BuildRequires:  libcap-devel
Jonathan 40867f5
BuildRequires:  libacl-devel
Jonathan 40867f5
BuildRequires:  file-devel
Jonathan 40867f5
BuildRequires:  desktop-file-utils
Jonathan 40867f5
Jonathan 40867f5
Requires:       hicolor-icon-theme
Jonathan 40867f5
Jonathan 40867f5
%description
Jonathan 40867f5
CliFM is a Command Line Interface File Manager: all input and interaction
Jonathan 40867f5
is performed via commands. This is its main feature and strength.
Jonathan 40867f5
Jonathan 40867f5
Unlike most terminal file managers out there, indeed, CliFM replaces the
Jonathan 40867f5
traditional TUI interface (also known as curses or text-menu based
Jonathan daa9d40
interface) by a command-line interface (CLI), also known as REPL.
Jonathan 40867f5
Jonathan 40867f5
If working with the command-line, your workflow is not affected at all,
Jonathan 40867f5
but just enriched with file management functionalities: automatic files
Jonathan 40867f5
listing, files selection, bookmarks, tags, directory jumper, directory and
Jonathan 40867f5
commands history, auto-cd and auto-open, bulk rename, TAB completion,
Jonathan 40867f5
autosuggestions, and a trash system, among other features. In this sense,
Jonathan 40867f5
CliFM is certainly a file manager, but also a shell extension.
Jonathan 40867f5
Jonathan 40867f5
Briefly put, with CliFM the command-line is always already there, never
Jonathan 40867f5
hidden.
Jonathan 40867f5
Jonathan 40867f5
Jonathan 40867f5
%prep
Jonathan 40867f5
%autosetup
Jonathan 40867f5
# just to be sure we use system lib
Jonathan 40867f5
rm -f src/{printf*,qsort.h}
Jonathan 40867f5
Jonathan 40867f5
Jonathan 40867f5
%build
Jonathan 40867f5
%cmake
Jonathan 40867f5
%cmake_build
Jonathan 40867f5
Jonathan 40867f5
Jonathan 40867f5
%install
Jonathan 40867f5
%cmake_install
Jonathan 40867f5
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
Jonathan 40867f5
Jonathan 40867f5
Jonathan 40867f5
%files
Jonathan 40867f5
%license LICENSE
Jonathan 40867f5
%doc README.md CHANGELOG
Jonathan 40867f5
%{_bindir}/%{name}
Jonathan 40867f5
%{_datadir}/applications/clifm.desktop
Jonathan 40867f5
%{_datadir}/%{name}/
Jonathan 40867f5
%{_mandir}/man1/%{name}.1*
Jonathan 40867f5
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
Jonathan 40867f5
%{_datadir}/bash-completion/completions/%{name}
Jonathan 40867f5
%{_datadir}/zsh/site-functions/_%{name}
0cd6d48
%{_datadir}/fish/vendor_completions.d/%{name}.fish
Jonathan 40867f5
Jonathan 40867f5
Jonathan 40867f5
%changelog
0cd6d48
* Mon Feb 12 2024 Jonathan Wright <jonathan@almalinux.org> - 1.17-1
0cd6d48
- update to 1.17 rbhz#2263600
0cd6d48
33f2d2e
* Thu Feb 01 2024 Jonathan Wright <jonathan@almalinux.org> - 1.16-1
33f2d2e
- Update to 1.16 rhbz#2257487
33f2d2e
5e0554a
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-3
5e0554a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
5e0554a
cf006e7
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-2
cf006e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
cf006e7
1df42c9
* Thu Nov 02 2023 Jonathan Wright <jonathan@almalinux.org> - 1.15-1
1df42c9
- Update to 1.15
1df42c9
d2e0c4e
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
d2e0c4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
d2e0c4e
3ba0665
* Sun Feb 05 2023 Jonathan Wright <jonathan@almalinux.org> - 1.10-1
3ba0665
- update to 1.10
3ba0665
066aaa7
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7-3
066aaa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
066aaa7
Jonathan daa9d40
* Tue Aug 16 2022 Jonathan Wright <jonathan@almalinux.org> - 1.7-2
Jonathan daa9d40
- adjust description per upstream request
Jonathan daa9d40
- https://github.com/leo-arch/clifm/issues/154#issuecomment-1233102727
Jonathan daa9d40
Jonathan 40867f5
* Tue Aug 16 2022 Jonathan Wright <jonathan@almalinux.org> - 1.7-1
Jonathan 40867f5
- Initial package build
Jonathan 40867f5
- rhbz#2118835