# Generated by rust2rpm 26 %bcond_without check # prevent library files from being installed %global cargo_install_lib 0 Name: bign-handheld-thumbnailer Version: 1.0.1 Release: 2%{?dist} Summary: Thumbnailer for Nintendo handheld systems SourceLicense: GPL-2.0-or-later # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 OR MIT # GPL-2.0-or-later # MIT # MIT OR Apache-2.0 # MIT OR Zlib OR Apache-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: GPL-2.0-or-later AND MIT AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) # LICENSE.dependencies contains a full license breakdown URL: https://github.com/MateusRodCosta/bign-handheld-thumbnailer Source: https://github.com/MateusRodCosta/bign-handheld-thumbnailer/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: meson %global _description %{expand: A thumbnailer for Nintendo handheld systems (Nintendo DS and 3DS) roms and files.} %description %{_description} %prep %autosetup -n %{name}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %meson -Dupdate_mime_database=false %meson_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %meson_install %if %{with check} %check %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/bign-handheld-thumbnailer %{_datadir}/mime/packages/bign-handheld-thumbnailer-3ds.xml %{_datadir}/thumbnailers/bign-handheld-thumbnailer.thumbnailer %changelog * Mon May 20 2024 Mateus Rodrigues Costa - 1.0.1-2 - Add forgotten dist tag * Sat May 18 2024 Mateus Rodrigues Costa - 1.0.1-1 - Update to 1.0.1 - Switch to new upstream meson build system - Start using manual RPM changelogs and add previous missing changelogs * Mon May 06 2024 Mateus Rodrigues Costa - 1.0.0-1 - Update to 1.0.0 * Thu May 02 2024 Mateus Rodrigues Costa - 0.9.0-1 - Initial packaging