%global upstream_version 12.10.0 %global debug_package %{nil} Name: postman Version: 12.10.0 Release: 1%{?dist} Summary: API platform for building and using APIs License: Proprietary URL: https://www.postman.com/ Source0: postman-12.10.0-linux-x64.tar.gz Source1: postman.desktop ExclusiveArch: x86_64 AutoReqProv: no BuildRequires: desktop-file-utils %description Postman is an API platform for building and using APIs. %prep %setup -q -n Postman %install install -dm755 %{buildroot}/opt/postman install -dm755 %{buildroot}%{_bindir} cp -a * %{buildroot}/opt/postman/ ln -s ../../opt/postman/Postman %{buildroot}%{_bindir}/postman desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} install -Dm644 app/resources/app/assets/icon.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/postman.png %files /opt/postman %{_bindir}/postman %{_datadir}/applications/postman.desktop %{_datadir}/icons/hicolor/128x128/apps/postman.png %changelog %autochangelog