24dce5e
Name:       buku
dd2d84f
Version:    4.6
dd2d84f
Release:    %autorelease
a516789
Summary:    Powerful command-line bookmark manager
24dce5e
24dce5e
License:    GPLv3+
24dce5e
URL:        https://github.com/jarun/Buku
24dce5e
Source0:    %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
24dce5e
24dce5e
BuildArch:  noarch
24dce5e
24dce5e
BuildRequires:  make
c71e0fc
Requires:       %{py3_dist beautifulsoup4 certifi urllib3 cryptography html5lib}
24dce5e
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
24dce5e
%prep
90bc072
%autosetup -p1
0781a20
sed -i '1s/env //' buku
24dce5e
24dce5e
24dce5e
%build
24dce5e
# Nothing to do
24dce5e
24dce5e
24dce5e
%install
24dce5e
%make_install PREFIX=%{_prefix}
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
24dce5e
24dce5e
%files
24dce5e
%doc CHANGELOG README.md
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
24dce5e
%changelog
dd2d84f
%autochangelog