%define debug_package %{nil} Name: teams-for-linux Version: 2.24.0 Release: 1%{?dist} Summary: Unofficial Microsoft Teams client for Linux License: MIT URL: https://github.com/IsmaelMartinez/teams-for-linux Source0: https://github.com/IsmaelMartinez/teams-for-linux/releases/download/v%{version}/teams-for-linux-%{version}.x86_64.rpm BuildArch: x86_64 # Disable automatic dependency generation to prevent errors with bundled Electron node modules AutoReqProv: no %description An unofficial Microsoft Teams client for Linux using Electron. This package installs the pre-compiled release directly from GitHub. %prep # No preparation needed %build # Nothing to build %install # Extract the RPM payload directly into the buildroot rpm2cpio %{SOURCE0} | cpio -idmv --no-absolute-filenames -D %{buildroot} # Optional: ensure the binary in /opt has a symlink in /usr/bin if the original RPM lacks it, # or let's check if the desktop file points directly to /opt/teams-for-linux/teams-for-linux. # (The official rpm already provides /usr/share/applications/ and icons, so we just capture them) %files /opt/teams-for-linux/ /usr/share/applications/teams-for-linux.desktop /usr/share/icons/hicolor/ %changelog * Sat Oct 17 2026 reanimator - 2.24.0-1 - Update to version 2.24.0