Name: imgur-screenshot Version: 1.7.4 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 %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.sh %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.sh "%{buildroot}%{_bindir}/imgur-screenshot" %files %{_bindir}/* %{_datadir}/pixmaps/* %{_datadir}/applications/* %changelog * Fri May 20 2016 ValdikSS -