Blob Blame History Raw
Name:       buku
Version:    4.6
Release:    %autorelease
Summary:    Powerful command-line bookmark manager

License:    GPLv3+
Source0:    %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

BuildArch:  noarch

BuildRequires:  make
Requires:       %{py3_dist beautifulsoup4 certifi urllib3 cryptography html5lib}

Buku is a powerful bookmark manager written in Python3 and SQLite3.

Buku fetches the title of a bookmarked web page and stores it along
with any additional comments and tags. You can use your favourite editor
to compose and update bookmarks. With multiple search options, including regex
and a deep scan mode (particularly for URLs), it can find any bookmark
instantly. Multiple search results can be opened in the browser at once.

%autosetup -p1
sed -i '1s/env //' buku

# Nothing to do

%make_install PREFIX=%{_prefix}
install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \
install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \
install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \

%license LICENSE
%dir %{_datadir}/fish/vendor_functions.d
%dir %{_datadir}/zsh/site-functions