diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e0ac1e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/buku-3.6.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index d74bae3..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# buku - -The buku package \ No newline at end of file diff --git a/buku.spec b/buku.spec new file mode 100644 index 0000000..ca0f6ba --- /dev/null +++ b/buku.spec @@ -0,0 +1,58 @@ +Name: buku +Version: 3.6 +Release: 1%{?dist} +Summary: Powerful command-line bookmark manager + +License: GPLv3+ +URL: https://github.com/jarun/Buku +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildArch: noarch + +BuildRequires: make + + +%description +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. + + +%prep +%autosetup -p1 -n Buku-%{version} +sed -i '1s/env //' buku.py + + +%build +# Nothing to do + + +%install +%make_install PREFIX=%{_prefix} +install -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \ + auto-completion/bash/buku-completion.bash +install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \ + auto-completion/fish/buku.fish +install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \ + auto-completion/zsh/_buku + + +%files +%doc CHANGELOG README.md +%license LICENSE +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* +%{_datadir}/bash-completion/completions/buku-completion.bash +%dir %{_datadir}/fish/vendor_functions.d +%{_datadir}/fish/vendor_functions.d/buku.fish +%dir %{_datadir}/zsh/site-functions +%{_datadir}/zsh/site-functions/_buku + + +%changelog +* Sat Feb 24 2018 Robert-André Mauchin - 3.6-1 +- First RPM release diff --git a/sources b/sources new file mode 100644 index 0000000..605e45d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (buku-3.6.tar.gz) = 2e590a4d06b0541c51386fc67072e9d80818328f171916049506cad4f1779eed86476f38f5afdba484a475c2d086149c7e02eafe2d3e2a4cd67080167c9281d5