%global debug_package %{nil} %global app_name Postman %global real_version 12.9.7 # Prevent dependency scanning inside Electron bundle %global __provides_exclude_from ^/opt/%{app_name}/.*\\$ %global __requires_exclude_from ^/opt/%{app_name}/.*\\$ Name: postman Version: 12.9.7 Release: 1%{?dist} Summary: Platform for building and using APIs License: LicenseRef-Postman URL: https://www.postman.com/ Source0: postman-12.9.7.tar.gz Source1: postman.desktop ExclusiveArch: x86_64 BuildArch: x86_64 AutoReqProv: no Requires: gtk3 Requires: nss Requires: libXScrnSaver Requires: libsecret Requires: xdg-utils Requires: alsa-lib %description Postman is an API platform for building and using APIs. It simplifies every step of the API lifecycle and streamlines collaboration so teams can create better APIs faster. %prep %setup -q -c -n Postman %install rm -rf %{buildroot} # Directories install -d %{buildroot}/opt/%{app_name} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_datadir}/applications install -d %{buildroot}%{_datadir}/icons/hicolor/128x128/apps # Install application cp -a * %{buildroot}/opt/%{app_name}/ # Ensure executables chmod 0755 %{buildroot}/opt/%{app_name}/Postman if [ -f %{buildroot}/opt/%{app_name}/chrome_crashpad_handler ]; then chmod 0755 %{buildroot}/opt/%{app_name}/chrome_crashpad_handler fi # Launcher symlink ln -sf /opt/%{app_name}/Postman %{buildroot}%{_bindir}/postman # Desktop file install -Dm0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/postman.desktop # Icon install -Dm0644 %{buildroot}/opt/%{app_name}/app/resources/app/assets/icon.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/postman.png %files /opt/%{app_name} %{_bindir}/postman %{_datadir}/applications/postman.desktop %{_datadir}/icons/hicolor/128x128/apps/postman.png %changelog * Sat May 09 2026 COPR Builder - 12.9.7-1 - Automated update to version 12.9.7