Name: imgur-screenshot Version: 2.0.0 Release: 1%{?dist} Summary: Take screenshot selection, upload to imgur + more cool things License: MIT URL: https://github.com/jomo/imgur-screenshot Source0: https://github.com/jomo/imgur-screenshot/archive/v%{version}.tar.gz Source1: imgur-screenshot.png Source2: imgur-screenshot.desktop BuildArch: noarch Requires: curl, grep, libnotify, scrot, xclip, jq %define debug_package %{nil} %description Uploads screenshot to imgur web service %prep %setup -q %build sed -i 's~${HOME}/Pictures/imgur.png~/usr/share/pixmaps/imgur-screenshot.png~' imgur-screenshot %install rm -rf $RPM_BUILD_ROOT install -Dm644 "%{_sourcedir}/imgur-screenshot.png" "%{buildroot}%{_datadir}/pixmaps/imgur-screenshot.png" install -Dm644 "%{_sourcedir}/imgur-screenshot.desktop" "%{buildroot}%{_datadir}/applications/imgur-screenshot.desktop" install -Dm755 imgur-screenshot "%{buildroot}%{_bindir}/imgur-screenshot" %files %{_bindir}/* %{_datadir}/pixmaps/* %{_datadir}/applications/* %changelog * Fri May 20 2016 ValdikSS -