%global debug_package %{nil} Name: matepro Version: 0.0.11 Release: 1%{?dist} Summary: Client grafico per interagire con server Ollama License: MIT URL: https://github.com/FrancescoZanti/MatePro Source0: %{name}-%{version}.tar.gz ExclusiveArch: x86_64 %global cargo_target_dir %{_builddir}/cargo-target BuildRequires: cargo BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(webkit2gtk-4.1) BuildRequires: pkgconfig(javascriptcoregtk-4.1) BuildRequires: pkgconfig(libsoup-3.0) BuildRequires: libappindicator-gtk3-devel BuildRequires: rust-packaging BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xcb-render) BuildRequires: pkgconfig(xcb-shape) BuildRequires: pkgconfig(xcb-xfixes) BuildRequires: pkgconfig(glib-2.0) >= 2.70 BuildRequires: openssl-devel BuildRequires: desktop-file-utils Requires: gtk3 Requires: webkit2gtk4.1 Requires: libsoup3 Requires: libappindicator-gtk3 Requires: poppler-utils %description Client grafico moderno per interagire con server Ollama, con temi adattivi, supporto markdown e strumenti integrati. %prep %autosetup -n %{name}-%{version} %build pushd src-tauri export CARGO_HOME=%{_builddir}/cargo-home export CARGO_TARGET_DIR=%{cargo_target_dir} cargo fetch --locked cargo build --release --locked popd %install install -Dm755 %{cargo_target_dir}/release/matepro %{buildroot}%{_bindir}/matepro %files %license LICENSE %doc README.md %{_bindir}/matepro %changelog * Thu Nov 27 2025 Francesco Zanti - 0.0.11-1 - Build generated from GitHub Actions