File deepl-clip.spec of Package deepl-clip
#
# spec file for package deepl-clip
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: deepl-clip
Version: 0.git.20200601.2718802
Release: 0
Summary: Translate the clipboard through DeepL website
License: MIT
Group: Productivity/Text/Spell
URL: https://github.com/masan4444/deepl-clip
Source0: deepl-clip-%{version}.tar.gz
Source90: README.SUSE
Patch1: deepl-clip.patch
Requires: nkf
Requires: xclip
Requires: xdg-utils
BuildArch: noarch
%description
Translate the clipboard through DeepL website, like the DeepL app (for Linux).
%prep
%setup -q
%patch1 -p1
install -m 0644 %{SOURCE90} .
%build
# nothing to build
%install
install -d -m 0755 %{buildroot}%{_bindir}
install -m 0775 app.sh %{buildroot}%{_bindir}/deepl-clip.sh
%files
%license LICENSE
%doc README.md README.SUSE
%{_bindir}/deepl-clip.sh
%changelog