## 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/facebook/openzl Version: 0.1.0 %forgemeta Name: openzl Release: %{autorelease} Summary: A novel data compression framework License: BSD-3-Clause URL: https://openzl.org/ Source0: %{forgesource} BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gtest-devel BuildRequires: python-devel BuildRequires: libzstd-devel %description OpenZL delivers high compression ratios while preserving high speed, a level of performance that is out of reach for generic compressors. OpenZL takes a description of your data and builds from it a specialized compressor optimized for your specific format. OpenZL consists of a core library and tools to generate specialized compressors — all compatible with a single universal decompressor. It is designed for engineers that deal with large quantities of specialized datasets (like AI workloads for example) and require high speed for their processing pipelines. %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 -DOPENZL_BUILD_SHARED_LIBS=ON \ -DOPENZL_BUILD_TESTS=ON \ -DOPENZL_BUILD_BENCHMARKS=ON \ -DOPENZL_BUILD_PYTHON_EXT=ON \ -DOPENZL_BUILD_PYTHON_DEMO=ON %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc CHANGELOG %doc README.md #{_libdir}/*.so.* %files devel %doc CONTRIBUTING.md #{_includedir}/* #{_libdir}/*.so %changelog ## START: Generated by rpmautospec * Sat Feb 28 2026 John Doe - 0.1.0-1 - Uncommitted changes ## END: Generated by rpmautospec