## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name ramalama %global forgeurl https://github.com/containers/%{pypi_name} # see ramalama/version.py %global version0 0.11.2 %forgemeta %global summary Command line tool for working with AI LLM models %global _python_dist_allow_version_zero 1 Name: %{pypi_name} # DO NOT TOUCH the Version string! # The TRUE source of this specfile is: # https://github.com/containers/ramalama/blob/main/rpm/ramalama.spec # If that's what you're reading, Version must be 0, and will be updated by Packit for # copr and koji builds. # If you're reading this on dist-git, the version is automatically filled in by Packit. Version: 0.11.2 License: MIT Release: %{autorelease} Summary: %{summary} URL: %{forgeurl} # Tarball fetched from upstream Source: %{forgesource} BuildArch: noarch # golang is required for docs BuildRequires: golang BuildRequires: go-md2man BuildRequires: make BuildRequires: python3-devel BuildRequires: podman BuildRequires: python3-pytest BuildRequires: mailcap Provides: python3-ramalama = %{version}-%{release} Obsoletes: python3-ramalama < 0.11.2-1 Requires: podman %description %summary On first run RamaLama inspects your system for GPU support, falling back to CPU support if no GPUs are present. It then uses container engines like Podman to pull the appropriate OCI image with all of the software necessary to run an AI Model for your systems setup. This eliminates the need for the user to configure the system for AI themselves. After the initialization, RamaLama will run the AI Models within a container based on the OCI image. %generate_buildrequires %pyproject_buildrequires %prep %forgeautosetup -p1 %build make docs %pyproject_wheel %install %pyproject_install %pyproject_save_files -l %{pypi_name} %check %pytest -v test/unit %files -f %{pyproject_files} %doc README.md %{_bindir}/%{pypi_name} %{bash_completions_dir}/%{pypi_name} %{fish_completions_dir}/ramalama.fish %{zsh_completions_dir}/_ramalama %dir %{_datadir}/%{pypi_name} %{_datadir}/%{pypi_name}/shortnames.conf %{_datadir}/%{pypi_name}/ramalama.conf %{_mandir}/man1/ramalama*.1* %{_mandir}/man5/ramalama*.5* %{_mandir}/man7/ramalama*.7* %changelog ## START: Generated by rpmautospec * Mon Jul 28 2025 Packit - 0.11.2-1 - Update to 0.11.2 upstream release * Fri Jul 25 2025 Fedora Release Engineering - 0.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jul 14 2025 Packit - 0.11.0-1 - Update to 0.11.0 upstream release * Fri Jul 11 2025 Stephen Smoogen - 0.10.1-1 - Start the road for getting this package built into Fedora and EPEL ## END: Generated by rpmautospec