Name: st-trans Version: 1.0 Release: 3 Summary: translate any text on your Linux OS Group: Applications/Internet License: No Rights Reserved URL: https://github.com/IbrahimMohammad/st-trans Source0: https://github.com/IbrahimMohammad/st-trans/archive/master.zip BuildArch: noarch Requires: xbindkeys Requires: sqlite Requires: xsel %description translate any text on your Linux OS using Yandex translator and show the translation as notification message. %prep %autosetup -n %{name}-master %build %install rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart cp ./bin/* %{buildroot}%{_bindir} cp ./autostart/* %{buildroot}%{_sysconfdir}/xdg/autostart %post sed -i '/# installed with/a \ \ \ \ with_xbk=yes' %{_bindir}/st-trans %files %license %doc %{_bindir}/st-trans %{_bindir}/st-trans-daemon %{_sysconfdir}/xdg/autostart/xbindkeys.desktop %{_sysconfdir}/xdg/autostart/st-trans-view.desktop %changelog * Sun Sep 30 2018 yucuf sourani - 1.0-3 - Release 3 * Sun Nov 19 2017 yucef sourani - 1.0-2 - Release 2 * Thu Nov 03 2016 youcef sourani - 1.0-1 - Initial For Fedora