N
NiceOS Build Portal
Enterprise build observability for published NiceOS package builds.

input/cbindgen.spec

raw · 2.1 KiB

Name:           cbindgen
Version:        0.29.2
Release:        1%{?dist}
Summary:        Generate C/C++ headers from Rust definitions
Summary(ru):    Генерация C/C++ заголовков из Rust

License:        MPL-2.0
URL:            https://github.com/eqrion/cbindgen
Source0:        https://github.com/mozilla/cbindgen/archive/v%{version}/%{name}-%{version}.tar.gz

Packager:       NICE SOFT GROUP LLC (ООО "НАЙС СОФТ ГРУПП") 5024245440 <niceos@ncsgp.ru>
Vendor:         NiceSOFT
Distribution:   NiceOS.Core
BugURL:         https://bugs.niceos.ru/
VCS:            https://specs.niceos.ru/rmps/%{name}

BuildRequires:  cargo
BuildRequires:  rust

Provides:       bundled(cbindgen) = %{version}-%{release}

%description
cbindgen is a tool that generates C/C++ header files from Rust source code. It helps maintain stable C APIs for Rust libraries and simplifies interoperability with C/C++ projects.

%description -l ru
cbindgen — утилита для генерации C/C++ заголовочных файлов из исходников Rust. Она упрощает создание и поддержку C API для библиотек на Rust и облегчает взаимодействие с проектами на C/C++.

%prep
%autosetup -n %{name}-%{version}

%build
cargo build --release --locked

%install
%{__install} -D -p -m 0755 target/release/%{name} %{buildroot}%{_bindir}/%{name}

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}

%changelog
* Sun May 24 2026 NiceOS Team <support@niceos.ru> - 0.29.2-1
- EN: - Update cbindgen from 0.29.0 to 0.29.2.
- Upstream 0.29.2 changes serde integration to request the std feature to avoid issues with newer toml versions.
- RU: - Обновление cbindgen с версии 0.29.0 до 0.29.2.
- В upstream 0.29.2 изменена интеграция serde: запрашивается feature std для устранения проблем с более новыми версиями toml.


* Tue Jan 13 2026 NiceOS Team <niceos@ncsgp.ru> - 0.29.0-1
- Initial build for NiceOS (Первая сборка для НАЙС.ОС)