# vesktop.spec # Package metadata Name: vesktop Version: v1.6.1 Release: 1.20251116001923548272.main.0.g3b98fa8%{?dist} Summary: A custom Discord Client focusing on performance, features, and customizability. License: GPL-3.0-only AND MIT URL: https://github.com/Vencord/Vesktop # Source file details - Packit will figure out the exact download link for the release tag. Source0: vesktop-copr-v1.6.1.tar.gz Source1: %{name}.desktop # Dependencies BuildRequires: desktop-file-utils Requires: libappindicator-gtk3 %description Vesktop is an open-source, custom Discord client based on Electron, designed for users who want enhanced features, better performance, and deep customization through the Vencord client mod. %prep # Unpacks Source0 (e.g., vesktop-1.6.1-linux-x64.tar.gz) %setup -q -n vesktop-copr-v1.6.1 %build # Nothing to build, we use the pre-built Electron binary. %install # Create directories mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/icons/hicolor/512x512/apps # 1. Install the main application files mv * %{buildroot}%{_datadir}/%{name}/ # 2. Create a symlink to the main executable ln -s %{_datadir}/%{name}/vesktop %{buildroot}%{_bindir}/%{name} # 3. Install the Desktop file install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop # 4. Install the Icon (The path is fixed to `vesktop.png` directly in the installation root) install -m 644 %{buildroot}%{_datadir}/%{name}/vesktop.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{name}.png %files %license LICENSE %{_bindir}/%{name} %{_datadir}/%{name}/* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/512x512/apps/%{name}.png %changelog * Sat Nov 15 2025 Quietcraft - v1.6.1-1.20251116001923548272.main.0.g3b98fa8 - Development snapshot (3b98fa85) * Sat Nov 16 2025 Your Name - %__version__-1 - Initial COPR package build using Packit.