|
|
925b721 |
%global owner wting
|
|
|
3131f1c |
|
|
|
7f46404 |
Name: autojump
|
|
|
999bf72 |
Version: 22.5.3
|
|
|
49909a7 |
Release: 15%{?dist}
|
|
|
7f46404 |
|
|
|
7f46404 |
Summary: A fast way to navigate your filesystem from the command line
|
|
|
7f46404 |
|
|
|
7f46404 |
License: GPLv3+
|
|
|
ca57b77 |
URL: https://github.com/%{owner}/%{name}
|
|
|
22ebacf |
Source: https://github.com/%{owner}/%{name}/archive/release-v%{version}/%{name}-%{version}.tar.gz
|
|
|
5977d60 |
Patch0: remove-homebrew-check.patch
|
|
|
85341ef |
Patch1: install-add-distribution-arg.patch
|
|
|
3131f1c |
|
|
|
7f46404 |
BuildArch: noarch
|
|
|
7f46404 |
|
|
|
99078fb |
BuildRequires: pandoc
|
|
|
999bf72 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
999bf72 |
BuildRequires: python%{python3_pkgversion}-mock
|
|
|
999bf72 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
|
7769444 |
BuildRequires: make
|
|
|
7f46404 |
|
|
|
7f46404 |
%description
|
|
|
7f46404 |
autojump is a faster way to navigate your filesystem. It works by maintaining
|
|
|
7f46404 |
a database of the directories you use the most from the command line.
|
|
|
7f46404 |
|
|
|
7f46404 |
|
|
|
7f46404 |
%package zsh
|
|
|
7f46404 |
Requires: %{name} = %{version}-%{release}
|
|
|
7f46404 |
Summary: Autojump for zsh
|
|
|
7f46404 |
|
|
|
7f46404 |
%description zsh
|
|
|
7f46404 |
autojump is a faster way to navigate your filesystem. It works by maintaining
|
|
|
7f46404 |
a database of the directories you use the most from the command line.
|
|
|
7f46404 |
autojump-zsh is designed to work with zsh.
|
|
|
7f46404 |
|
|
|
88f3afd |
|
|
|
88f3afd |
%package fish
|
|
|
88f3afd |
Requires: %{name} = %{version}-%{release}
|
|
|
88f3afd |
Summary: Autojump for fish shell
|
|
|
88f3afd |
|
|
|
88f3afd |
%description fish
|
|
|
88f3afd |
autojump is a faster way to navigate your filesystem. It works by maintaining
|
|
|
88f3afd |
a database of the directories you use the most from the command line.
|
|
|
88f3afd |
autojump-fish is designed to work with fish shell.
|
|
|
88f3afd |
|
|
|
88f3afd |
|
|
|
7f46404 |
%prep
|
|
|
608f092 |
%autosetup -p1 -n %{name}-release-v%{version}
|
|
|
608f092 |
|
|
Orion Poplawski |
1bc498a |
# Use system argparse
|
|
Orion Poplawski |
1bc498a |
sed -i 's|autojump_argparse|argparse|' bin/%{name}
|
|
|
2d2a08b |
# Fix shebangs, non .py files need to be specified manually, so we provide bin/* as well as .
|
|
|
90379f8 |
%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -i %{__python3} -pn . ./bin/*
|
|
Orion Poplawski |
1bc498a |
sed -i '1{/^#!/d}' bin/%{name}_*.py
|
|
|
7f46404 |
|
|
|
7f46404 |
%build
|
|
|
99078fb |
make docs
|
|
|
7f46404 |
|
|
|
7f46404 |
%install
|
|
|
85341ef |
./install.py --destdir %{buildroot} --prefix usr --zshshare %{buildroot}%{_datadir}/zsh/site-functions --distribution
|
|
Orion Poplawski |
1bc498a |
# Do not need bundled modules
|
|
Orion Poplawski |
1bc498a |
rm %{buildroot}%{_bindir}/%{name}_argparse.py
|
|
Orion Poplawski |
1bc498a |
# Move modules to proper directory
|
|
|
3e9c328 |
mkdir -p %{buildroot}%{python3_sitelib}
|
|
|
3e9c328 |
mv %{buildroot}%{_bindir}/%{name}_*.py %{buildroot}%{python3_sitelib}/
|
|
|
7f46404 |
|
|
|
90fd988 |
%check
|
|
|
90fd988 |
%{__python3} -m pytest tests -vv
|
|
|
90fd988 |
|
|
|
7f46404 |
%files
|
|
Orion Poplawski |
1bc498a |
%license LICENSE
|
|
Orion Poplawski |
1bc498a |
%doc README.md AUTHORS
|
|
|
7f46404 |
%{_bindir}/%{name}
|
|
|
3e9c328 |
%{python3_sitelib}/%{name}_data.py
|
|
|
3e9c328 |
%{python3_sitelib}/%{name}_match.py
|
|
|
3e9c328 |
%{python3_sitelib}/%{name}_utils.py
|
|
|
3e9c328 |
%{python3_sitelib}/__pycache__/%{name}*.pyc
|
|
Orion Poplawski |
1bc498a |
%dir %{_datadir}/%{name}
|
|
Orion Poplawski |
1bc498a |
%{_datadir}/%{name}/icon.png
|
|
|
7f46404 |
%{_mandir}/man1/%{name}.1*
|
|
|
7f46404 |
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh
|
|
|
e9768c0 |
%config(noreplace) %{_datadir}/%{name}/%{name}.bash
|
|
|
7f46404 |
|
|
|
7f46404 |
%files zsh
|
|
|
e9768c0 |
%config(noreplace) %{_datadir}/%{name}/%{name}.zsh
|
|
|
e9768c0 |
%{_datadir}/zsh/site-functions/_j
|
|
|
7f46404 |
|
|
|
88f3afd |
%files fish
|
|
|
e9768c0 |
%config(noreplace) %{_datadir}/%{name}/%{name}.fish
|
|
|
88f3afd |
|
|
|
7f46404 |
%changelog
|
|
|
49909a7 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-15
|
|
|
49909a7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
49909a7 |
|
|
|
09fd7bf |
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-14
|
|
|
09fd7bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
09fd7bf |
|
|
|
ed33ac8 |
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-13
|
|
|
ed33ac8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
ed33ac8 |
|
|
|
138f683 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 22.5.3-12
|
|
|
138f683 |
- Rebuilt for Python 3.12
|
|
|
138f683 |
|
|
|
3550315 |
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-11
|
|
|
3550315 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
3550315 |
|
|
|
6d98843 |
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-10
|
|
|
6d98843 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
6d98843 |
|
|
|
a140473 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 22.5.3-9
|
|
|
a140473 |
- Rebuilt for Python 3.11
|
|
|
a140473 |
|
|
|
514b5db |
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-8
|
|
|
514b5db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
514b5db |
|
|
|
bdcb849 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-7
|
|
|
bdcb849 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
bdcb849 |
|
|
|
27556c2 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 22.5.3-6
|
|
|
27556c2 |
- Rebuilt for Python 3.10
|
|
|
27556c2 |
|
|
|
ca57b77 |
* Thu Mar 4 2021 Tim Landscheidt <tim@tim-landscheidt.de> - 22.5.3-5
|
|
|
ca57b77 |
- Fix broken URL
|
|
|
ca57b77 |
|
|
|
c516fdf |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-4
|
|
|
c516fdf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
c516fdf |
|
|
|
f2c7cac |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.3-3
|
|
|
f2c7cac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
f2c7cac |
|
|
|
2e546b5 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 22.5.3-2
|
|
|
2e546b5 |
- Rebuilt for Python 3.9
|
|
|
2e546b5 |
|
|
|
999bf72 |
* Sun Mar 01 2020 Sérgio Basto <sergio@serjux.com> - 22.5.3-1
|
|
|
999bf72 |
- Update to 22.5.3 (#1732680)
|
|
|
999bf72 |
|
|
|
7f32991 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.1-9
|
|
|
7f32991 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7f32991 |
|
|
|
22d12cc |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 22.5.1-8
|
|
|
22d12cc |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
22d12cc |
|
|
|
8ee91a3 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 22.5.1-7
|
|
|
8ee91a3 |
- Rebuilt for Python 3.8
|
|
|
8ee91a3 |
|
|
|
bc226a8 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.1-6
|
|
|
bc226a8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
bc226a8 |
|
|
|
7be8bea |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.1-5
|
|
|
7be8bea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7be8bea |
|
|
|
3fc3d99 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 22.5.1-4
|
|
|
3fc3d99 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
3fc3d99 |
|
|
|
43ff68e |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 22.5.1-3
|
|
|
43ff68e |
- Rebuilt for Python 3.7
|
|
|
43ff68e |
|
|
|
2d2a08b |
* Thu May 03 2018 Miro Hrončok <mhroncok@redhat.com> - 22.5.1-2
|
|
|
2d2a08b |
- Fix all the shebangs properly
|
|
|
2d2a08b |
|
|
|
22ebacf |
* Mon Apr 02 2018 Miro Hrončok <mhroncok@redhat.com> - 22.5.1-1
|
|
|
22ebacf |
- Update to 22.5.1
|
|
|
99078fb |
- Build docs again
|
|
|
3e9c328 |
- Switch to Python 3
|
|
|
90fd988 |
- Run tests
|
|
|
ecbbba8 |
- Remove obsoleted %%pre (added in F25)
|
|
|
22ebacf |
|
|
|
cedf587 |
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 22.3.2-6
|
|
|
cedf587 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
cedf587 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
cedf587 |
|
|
|
814b191 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 22.3.2-5
|
|
|
814b191 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
814b191 |
|
|
|
20610f9 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 22.3.2-4
|
|
|
20610f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
20610f9 |
|
|
|
6cd2122 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 22.3.2-3
|
|
|
6cd2122 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
6cd2122 |
|
|
|
650f68a |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 22.3.2-2
|
|
|
650f68a |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
650f68a |
|
|
|
f87ff24 |
* Fri Jun 24 2016 Tomas Tomecek <ttomecek@redhat.com> - 22.3.2-1
|
|
|
f87ff24 |
- update to 22.3.2
|
|
|
f87ff24 |
|
|
Orion Poplawski |
5af1830 |
* Wed May 4 2016 Orion Poplawski <orion@cora.nwra.com> - 22.3.0-3
|
|
Orion Poplawski |
5af1830 |
- Cleanup old .pyc files in /usr/bin
|
|
Orion Poplawski |
5af1830 |
|
|
Orion Poplawski |
1bc498a |
* Mon May 2 2016 Orion Poplawski <orion@cora.nwra.com> - 22.3.0-2
|
|
Orion Poplawski |
1bc498a |
- Use system argparse
|
|
Orion Poplawski |
1bc498a |
- Install python modules to python module directory
|
|
Orion Poplawski |
1bc498a |
- Fix duplicate file ownership
|
|
Orion Poplawski |
1bc498a |
- Drop %%defattr()
|
|
Orion Poplawski |
1bc498a |
- Use %%license
|
|
Orion Poplawski |
1bc498a |
|
|
|
85341ef |
* Tue Mar 22 2016 Tomas Tomecek <ttomecek@redhat.com> - 22.3.0-1
|
|
|
85341ef |
- update to 22.3.0
|
|
|
85341ef |
|
|
|
3feccff |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 22.2.4-3
|
|
|
3feccff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3feccff |
|
|
|
5977d60 |
* Fri Nov 06 2015 Tomas Tomecek <ttomecek@redhat.com> - 22.2.4-2
|
|
|
5977d60 |
- patch: don't check for homebrew
|
|
|
5977d60 |
|
|
|
925b721 |
* Tue Sep 08 2015 Tomas Tomecek <ttomecek@redhat.com> - 22.2.4-1
|
|
|
925b721 |
- update to 22.2.4
|
|
|
925b721 |
|
|
|
66deb36 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.7.1-5
|
|
|
66deb36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
66deb36 |
|
|
|
89b5c2a |
* Wed Oct 01 2014 Dan Horák <dan[at]danny.cz> - 21.7.1-4
|
|
|
89b5c2a |
- drop ExclusiveArch workaround
|
|
|
89b5c2a |
|
|
|
8028847 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.7.1-3
|
|
|
8028847 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8028847 |
|
|
|
dc0e875 |
* Thu May 15 2014 Tomas Tomecek <ttomecek@redhat.com> - 21.7.1-2
|
|
|
dc0e875 |
- Python 3.4 rebuild
|
|
|
dc0e875 |
|
|
|
88f3afd |
* Wed Apr 23 2014 Tomas Tomecek <ttomecek@redhat.com> - 21.7.1-1
|
|
|
88f3afd |
- Update to 21.7.1
|
|
|
88f3afd |
|
|
|
3131f1c |
* Thu Mar 20 2014 Tomas Tomecek <ttomecek@redhat.com> - 21.6.9-1
|
|
|
3131f1c |
- Update to 21.6.9
|
|
|
3131f1c |
|
|
|
d6a085e |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.1.2-4
|
|
|
d6a085e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d6a085e |
|
|
|
dd6befe |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 21.1.2-3
|
|
|
dd6befe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
dd6befe |
|
|
|
eb4f862 |
* Wed Dec 12 2012 Thibault North <tnorth@fedoraproject.org> - 21.1.2-2
|
|
|
eb4f862 |
- Fix builrequires section
|
|
|
eb4f862 |
|
|
|
2586df6 |
* Wed Dec 12 2012 Thibault North <tnorth@fedoraproject.org> - 21.1.2-1
|
|
|
2586df6 |
- Update to 21.1.2
|
|
|
2586df6 |
|
|
|
1844fdc |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20-2
|
|
|
1844fdc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1844fdc |
|
|
|
caf79a0 |
* Mon May 07 2012 Thibault North <tnorth@fedoraproject.org> - 20-1
|
|
|
caf79a0 |
- Update to version 20
|
|
|
caf79a0 |
|
|
|
2b72366 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 19-3
|
|
|
2b72366 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
2b72366 |
|
|
|
fd0d4d1 |
* Sun Dec 11 2011 Thibault North <tnorth@fedoraproject.org> - 19-2
|
|
|
fd0d4d1 |
- Add symlink for jumpapplet
|
|
|
fd0d4d1 |
|
|
|
4e0b62e |
* Sun Dec 11 2011 Thibault North <tnorth@fedoraproject.org> - 19-1
|
|
|
4e0b62e |
- Update to version 19
|
|
|
4e0b62e |
|
|
|
92e1dc3 |
* Sun Apr 10 2011 Thibault North <tnorth@fedoraproject.org> - 15-1
|
|
|
92e1dc3 |
- New upstream release
|
|
|
92e1dc3 |
|
|
|
6c829ca |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14-3
|
|
|
6c829ca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
6c829ca |
|
|
|
92e1dc3 |
* Mon Dec 20 2010 Thibault North <tnorth@fedoraproject.org> - 14-2
|
|
|
7f46404 |
- Fixes for review
|
|
|
7f46404 |
|
|
|
7f46404 |
* Sat Dec 18 2010 Thibault North <tnorth@fedoraproject.org> - 14-1
|
|
|
7f46404 |
- Initial package
|
|
|
7f46404 |
|