# Generated by rust2rpm 27 %bcond check 1 %global appid org.squidowl.halloy %global crate halloy Name: halloy Version: 2026.4 Release: 1%?dist Summary: An open-source IRC client written in Rust, with the Iced GUI library Packager: Yoong jin SourceLicense: GPL-3.0-or-later License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-3-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSL-1.0 AND CC0-1.0 AND (CC0-1.0 OR Apache-2.0) AND (GPL-3.0+ OR BSD-3-Clause) AND (GPL-3.0-or-later) AND ISC AND (LGPL-3.0-or-later OR MPL-2.0) AND MIT AND (MIT AND (MIT OR Apache-2.0)) AND (MIT OR Apache-2.0) AND ((MIT OR Apache-2.0) AND NCSA) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (MIT OR Apache-2.0 OR BSD-1-Clause) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND Unlicense AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) URL: https://github.com/squidowl/halloy Source: https://github.com/squidowl/halloy/archive/refs/tags/%{version}.tar.gz BuildRequires: alsa-lib-devel BuildRequires: cargo-rpm-macros >= 24 BuildRequires: desktop-file-utils BuildRequires: openssl-devel BuildRequires: pkgconfig(xcb) %description %{summary}. %prep %autosetup -n halloy-%{version} -p1 %cargo_prep_online %build %cargo_build %install install -Dm755 target/rpm/halloy %{buildroot}%{_bindir}/halloy desktop-file-install assets/linux/%{appid}.desktop install -Dpm644 assets/linux/%{appid}.appdata.xml -t %{buildroot}%{_datadir}/metainfo mkdir -p %{buildroot}%{_datadir} cp -r assets/linux/icons -t %{buildroot}%{_datadir} %{cargo_license_online} > LICENSE.dependencies %if %{with check} %check %cargo_test %endif %files %license LICENSE %license wix/license.rtf %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %{_bindir}/halloy %{_datadir}/applications/%{appid}.desktop %{_datadir}/metainfo/%{appid}.appdata.xml %{_iconsdir}/hicolor/16x16/apps/%{appid}.png %{_iconsdir}/hicolor/24x24/apps/%{appid}.png %{_iconsdir}/hicolor/32x32/apps/%{appid}.png %{_iconsdir}/hicolor/48x48/apps/%{appid}.png %{_iconsdir}/hicolor/64x64/apps/%{appid}.png %{_iconsdir}/hicolor/96x96/apps/%{appid}.png %{_iconsdir}/hicolor/128x128/apps/%{appid}.png %{_iconsdir}/hicolor/256x256/apps/%{appid}.png %{_iconsdir}/hicolor/512x512/apps/%{appid}.png %changelog %autochangelog