## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 forgeurl https://github.com/dmlc/xgboost Version: 3.2.0 %forgemeta Name: xgboost Release: %{autorelease} Summary: Scalable, Portable and Distributed Gradient Boosting License: Apache-2.0 URL: https://xgboost.ai/ Source0: %{forgesource} BuildRequires: CMake BuildRequires: dmlc-core-devel BuildRequires: gcc-c++ BuildRequires: grpc-devel BuildRequires: protobuf-devel BuildRequires: python3-devel # Tests BuildRequires: gtest-devel # Documentation #BuildRequires: python3dist(sphinx) %description XGBoost is an optimized distributed gradient boosting library designed to be highly efficient, flexible and portable. It implements machine learning algorithms under the Gradient Boosting framework. XGBoost provides a parallel tree boosting (also known as GBDT, GBM) that solve many data science problems in a fast and accurate way. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %forgesetup %build %cmake %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc CITATION %doc README.md %doc SECURITY.md #{_libdir}/*.so.* %files devel %doc add-devel-docs-here #{_includedir}/* #{_libdir}/*.so %changelog ## START: Generated by rpmautospec * Sat Feb 28 2026 John Doe - 3.2.0-1 - Uncommitted changes ## END: Generated by rpmautospec