4455072
Name:           translate-shell
2448029
Version:        0.9.6.5
2448029
Release:        1%{?dist}
4455072
Summary:        A command-line online translator
4455072
4455072
License:        Public Domain
4455072
URL:            https://github.com/soimort/translate-shell
4455072
Source0:        %{url}/archive/v%{version}.tar.gz
4455072
4455072
# BuildRequires:
4455072
Requires:       gawk
4455072
Requires:       curl
4455072
Requires:       rlwrap
4455072
Requires:       fribidi
4455072
4455072
BuildArch:      noarch
4455072
4455072
%description
4455072
Translate Shell (formerly Google Translate CLI) is a command-line
4455072
translator powered by Google Translate (default), Bing Translator,
4455072
Yandex.Translate and Apertium.
4455072
4455072
%prep
4455072
%autosetup
4455072
#https://github.com/soimort/translate-shell/issues/180
4455072
sed -i 's|install: build|install:|' Makefile
4455072
4455072
4455072
%build
4455072
%make_build
4455072
sed -i 's|/usr/bin/env bash|/usr/bin/bash|' build/trans
4455072
4455072
%install
4455072
%make_install PREFIX=%{buildroot}%{_prefix}
4455072
4455072
4455072
%files
4455072
%license LICENSE
4455072
%doc CONTRIBUTING.md README.md WAIVER
4455072
%{_bindir}/trans
4455072
%{_mandir}/man1/trans.1*
4455072
4455072
4455072
4455072
%changelog
2448029
* Mon Oct 16 2017 Vasiliy N. Glazov <vascom2@gmail.com> 0.9.6.5-1
2448029
- Update to 0.9.6.5
2448029
9d71db7
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.6.4-4
9d71db7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9d71db7
4455072
* Tue Jun 06 2017 Vasiliy N. Glazov <vascom2@gmail.com> 0.9.6.4-3
4455072
- Clean spec to pass review
4455072
4455072
* Fri Jun 02 2017 Vasiliy N. Glazov <vascom2@gmail.com> 0.9.6.4-2
4455072
- Clean spec
4455072
4455072
* Thu Jun 01 2017 Vasiliy N. Glazov <vascom2@gmail.com> 0.9.6.4-1
4455072
- Update to 0.9.6.4
4455072
4455072
* Wed May 31 2017 Vasiliy N. Glazov <vascom2@gmail.com> 0.9.6.3-1
4455072
- Initial packaging