%global debug_package %{nil} Name: photo-picks Version: 0.1.0 Release: 1%{?dist} Summary: Find your best photos and build Instagram carousels License: MIT URL: https://github.com/lacamar/%{name} Source0: %{name}-%{version}.tar.gz BuildRequires: cargo-rpm-macros >= 26 BuildRequires: gcc BuildRequires: desktop-file-utils BuildRequires: perl-Image-ExifTool Requires: onnxruntime Requires: perl-Image-ExifTool Requires: libxkbcommon Requires: libwayland-client Requires: mesa-libEGL %description Scores DNG previews with CLIP and the LAION aesthetic predictor, ranks events with a vision LLM on llama-server and builds carousels as symlink folders. %prep %autosetup -n %{name}-%{version} %cargo_prep -N sed -i 's/^offline = true$//' .cargo/config.toml %build %{__cargo} build %{__cargo_common_opts} --profile rpm %install install -Dpsm0755 target/rpm/%{name} %{buildroot}%{_bindir}/%{name} desktop-file-install --dir=%{buildroot}%{_datadir}/applications packaging/%{name}.desktop install -Dm644 packaging/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{__cargo} test %{__cargo_common_opts} --profile rpm --no-fail-fast %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %changelog * Wed Nov 11 2026 lacamar - 0.1.0-1 - Initial package