Name: shiru Version: 6.1.11 Release: 1%{?dist} Summary: Shiru - The ultimate torrent-based anime player. License: GPL-3.0-or-later URL: https://github.com/RockinChaos/Shiru Source0: shiru-6.1.11.tar.gz Packager: Yashwanth Rathakrishnan Vendor: RockinChaos Requires: gtk3, libnotify, nss, libXScrnSaver, libXtst, xdg-utils, at-spi2-core, libuuid, libsecret Suggests: libappindicator-gtk3 BuildArch: x86_64 %global debug_package %{nil} %description Shiru - Allows you to stream anime in real-time with no waiting for downloads, combining the advantages of high-speed torrents, great video quality, and fast releases — all without ads or tracking. %prep %setup #verbose output # %setup -q %install rm -rf %{buildroot} mkdir -p %{buildroot} cp -a opt %{buildroot}/opt cp -a usr %{buildroot}/usr ls -lR %{buildroot} %check %files /opt/Shiru/* /usr/share/applications/shiru.desktop /usr/share/icons/hicolor/16x16/apps/shiru.png /usr/share/icons/hicolor/32x32/apps/shiru.png /usr/share/icons/hicolor/48x48/apps/shiru.png /usr/share/icons/hicolor/64x64/apps/shiru.png /usr/share/icons/hicolor/128x128/apps/shiru.png /usr/share/icons/hicolor/256x256/apps/shiru.png /usr/share/icons/hicolor/512x512/apps/shiru.png %doc /usr/share/doc/shiru/changelog.gz %license LICENSE %post if type update-alternatives >/dev/null 2>&1; then # Remove previous link if it doesn't use update-alternatives if [ -L '/usr/bin/shiru' ] && [ -e '/usr/bin/shiru' ] && [ "$(readlink '/usr/bin/shiru')" != '/etc/alternatives/shiru' ]; then rm -f '/usr/bin/shiru' fi update-alternatives --install '/usr/bin/shiru' 'shiru' '/opt/Shiru/shiru' 100 || ln -sf '/opt/Shiru/shiru' '/usr/bin/shiru' else ln -sf '/opt/Shiru/shiru' '/usr/bin/shiru' fi # Check if user namespaces are supported by the kernel and working with a quick test: if ! { [[ -L /proc/self/ns/user ]] && unshare --user true; }; then # Use SUID chrome-sandbox only on systems without user namespaces: chmod 4755 '/opt/Shiru/chrome-sandbox' || true else chmod 0755 '/opt/Shiru/chrome-sandbox' || true fi if hash update-mime-database 2>/dev/null; then update-mime-database /usr/share/mime || true fi if hash update-desktop-database 2>/dev/null; then update-desktop-database /usr/share/applications || true fi %postun # Delete the link to the binary if command -v update-alternatives >/dev/null 2>&1; then update-alternatives --remove shiru "%{_bindir}/shiru" || true else rm -f "%{_bindir}/shiru" fi %changelog * Tue Aug 19 2025 Yashwanth Rathakrishnan 6.1.11-1 - Fixed update prompt showing wrong changelog/version if app was running during new update release - Fixed Android "Continue Anyways" button not working - Fixed update prompt not hiding when focus was lost - Fixed "Continue Anyways" being shown to unauthorized users (not logged in) - Fixed inaccurate download ETA (infinite ETA incorrectly displayed as 1 second) - Fixed stalled torrents showing "scanning" state - Improved error handling during update process - Added support for missing special characters in Android streamURL for external player compatibility - Simplified IPC handling to avoid referencing old destroyed torrent clients - Improved seeder/leecher info to show actual counts instead of tracker-reported - Optimized Android updater to reduce data usage when checking for updates