Blob Blame History Raw
Name:       ddgr
Version:    1.5
Release:    1%{?dist}
Summary:    DuckDuckGo from the terminal 

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

BuildArch:  noarch

BuildRequires:  make
BuildRequires:  python3-devel

ddgr is a cmdline utility to search DuckDuckGo from the terminal. 
While googler is highly popular among cmdline users, in many forums the need 
of a similar utility for privacy-aware DuckDuckGo came up. DuckDuckGo Bangs 
are super-cool too! So here's ddgr for you!

Unlike the web interface, you can specify the number of search results you 
would like to see per page. It's more convenient than skimming through 
30-odd search results per page. The default interface is carefully 
designed to use minimum space without sacrificing readability.

ddgr isn't affiliated to DuckDuckGo in any way.

%autosetup -p1 -n %{name}-%{version}
sed -i "s|\tinstall -|\t\$(INSTALL) -|" Makefile
sed -i '1s/env //' ddgr

# 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 \

make test

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

* Tue Sep 11 2018 Robert-André Mauchin <> - 1.5-1
- Release 1.5

* Thu Jul 12 2018 Fedora Release Engineering <> - 1.4-3
- Rebuilt for

* Tue Jun 19 2018 Miro Hrončok <> - 1.4-2
- Rebuilt for Python 3.7

* Thu Apr 05 2018 Robert-André Mauchin <> - 1.4-1
- Release 1.4

* Fri Jan 26 2018 Robert-André Mauchin <> - 1.2-1
- First RPM release