|
|
24dce5e |
Name: buku
|
|
|
3f2c03a |
Version: 4.8
|
|
|
dd2d84f |
Release: %autorelease
|
|
|
a516789 |
Summary: Powerful command-line bookmark manager
|
|
|
24dce5e |
|
|
|
b1a3805 |
License: GPL-3.0-or-later
|
|
|
24dce5e |
URL: https://github.com/jarun/Buku
|
|
|
24dce5e |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
446e3a7 |
Patch0: buku-fix-makefile.patch
|
|
|
24dce5e |
|
|
|
24dce5e |
BuildArch: noarch
|
|
|
24dce5e |
|
|
|
24dce5e |
BuildRequires: make
|
|
|
446e3a7 |
BuildRequires: python3-devel
|
|
|
446e3a7 |
BuildRequires: python3dist(myst-parser)
|
|
|
446e3a7 |
BuildRequires: python3dist(sphinx)
|
|
|
446e3a7 |
BuildRequires: python3dist(sphinx-rtd-theme)
|
|
|
446e3a7 |
Requires: python3dist(beautifulsoup4)
|
|
|
446e3a7 |
Requires: python3dist(certifi)
|
|
|
446e3a7 |
Requires: python3dist(cryptography)
|
|
|
446e3a7 |
Requires: python3dist(html5lib)
|
|
|
446e3a7 |
Requires: python3dist(urllib3)
|
|
|
24dce5e |
|
|
|
24dce5e |
%description
|
|
|
6dccff4 |
Buku is a powerful bookmark manager written in Python3 and SQLite3.
|
|
|
24dce5e |
|
|
|
6dccff4 |
Buku fetches the title of a bookmarked web page and stores it along
|
|
|
a516789 |
with any additional comments and tags. You can use your favourite editor
|
|
|
a516789 |
to compose and update bookmarks. With multiple search options, including regex
|
|
|
a516789 |
and a deep scan mode (particularly for URLs), it can find any bookmark
|
|
|
24dce5e |
instantly. Multiple search results can be opened in the browser at once.
|
|
|
24dce5e |
|
|
|
24dce5e |
%prep
|
|
|
90bc072 |
%autosetup -p1
|
|
|
24dce5e |
|
|
|
24dce5e |
%build
|
|
|
446e3a7 |
# generate html docs
|
|
|
446e3a7 |
PYTHONPATH=%{pyproject_build_lib} sphinx-build docs/source html
|
|
|
446e3a7 |
# remove the sphinx-build leftovers
|
|
|
446e3a7 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
24dce5e |
|
|
|
24dce5e |
%install
|
|
|
24dce5e |
%make_install PREFIX=%{_prefix}
|
|
|
446e3a7 |
|
|
|
24dce5e |
install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
|
|
|
24dce5e |
auto-completion/bash/buku-completion.bash
|
|
|
24dce5e |
install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
|
|
|
24dce5e |
auto-completion/fish/buku.fish
|
|
|
24dce5e |
install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \
|
|
|
24dce5e |
auto-completion/zsh/_buku
|
|
|
24dce5e |
|
|
|
446e3a7 |
%py3_shebang_fix %{buildroot}%{_bindir}
|
|
|
24dce5e |
|
|
|
24dce5e |
%files
|
|
|
24dce5e |
%doc CHANGELOG README.md
|
|
|
446e3a7 |
%doc html
|
|
|
24dce5e |
%license LICENSE
|
|
|
24dce5e |
%{_bindir}/%{name}
|
|
|
24dce5e |
%{_mandir}/man1/%{name}.1.*
|
|
|
24dce5e |
%{_datadir}/bash-completion/completions/buku-completion.bash
|
|
|
24dce5e |
%dir %{_datadir}/fish/vendor_functions.d
|
|
|
24dce5e |
%{_datadir}/fish/vendor_functions.d/buku.fish
|
|
|
24dce5e |
%dir %{_datadir}/zsh/site-functions
|
|
|
24dce5e |
%{_datadir}/zsh/site-functions/_buku
|
|
|
24dce5e |
|
|
|
24dce5e |
%changelog
|
|
|
dd2d84f |
%autochangelog
|