# Suppress output of debuginfo and debugsource %global debug_package %{nil} Name: arexibo Version: 0.2.3 Release: 3%{?dist} Summary: A Rust Linux Xibo player License: AGPLv3+ URL: https://github.com/birkenfeld/arexibo Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-Cargo.lock Source2: %{name}-Cargo.toml %if 0%{?fedora} || 0%{?rhel} >= 8 ExclusiveArch: %{rust_arches} %else ExclusiveArch: x86_64 ppc64le aarch64 %endif BuildRequires: rust >= 1.58 BuildRequires: cargo BuildRequires: dbus-devel >= 1.6 BuildRequires: webkitgtk4-devel >= 2.22 BuildRequires: zeromq-devel >= 4.1 BuildRequires: systemd Requires : gstreamer1-plugins-base Requires : gstreamer1-plugins-good Requires : gstreamer1-plugins-good-gtk Requires : gstreamer1-plugins-bad-free Requires : gstreamer1-plugins-ugly-free Requires : gstreamer1-plugin-openh264 Requires : gstreamer1-vaapi %if 0%{?fedora} || 0%{?rhel} >= 8 Recommends : gstreamer1-libav %endif Requires(pre): /usr/bin/getent Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/useradd Requires(post): systemd Requires(preun): systemd Requires(postun): systemd %description Arexibo is an unofficial alternate Digital Signage Player for Xibo, implemented in Rust with the GTK GUI components, for Linux platforms. It is currently quite incomplete. Don't expect any particular feature to work unless tested. %prep %setup -q -n %{name}-%{version} cp -f %{SOURCE1} . cp -f %{SOURCE2} . cat >systemd </dev/null || groupadd -g 9505 -r xibo getent passwd xibo >/dev/null || \ useradd -r -u 9505 -g xibo -d %{_localstatedir}/cache/xibo -s /sbin/nologin \ -c "Xibo client cache" xibo %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service %files %license LICENSE %doc README.md assets target/release/examples %{_bindir}/%{name} %{_unitdir}/%{name}.service %changelog * Mon Aug 21 2023 Jean-Marc Liger - 0.2.3-3 - Add gstreamer1-plugin-openh264 dependency #Luc Tamisier * Sat Nov 19 2022 Jean-Marc Liger - 0.2.3-2 - Add gstreamer1 dependancies #Nicolas Meneceur - Update cargo dependencies from git * Sat Nov 12 2022 Jean-Marc Liger - 0.2.3-1 - Initial RPM 0.2.3