Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37734584
en ru br
Репозитории ALT

Группа :: Работа с файлами
Пакет: cbindgen

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 


Name: cbindgen
Version: 0.20.0
Release: alt1
Summary: cbindgen creates C/C++11 headers for Rust libraries which expose a public C API
License: MPL-2.0
Group: File tools
Url: https://github.com/eqrion/cbindgen
Vcs: https://github.com/eqrion/cbindgen.git
Source: %name-%version.tar
Patch: %name-%version.patch

BuildRequires(pre): rpm-build-rust
BuildRequires: /proc

%description
%summary.

%prep
%setup
%patch -p1

mkdir -p .cargo
cat >> .cargo/config <<EOF
[source.crates-io]
replace-with = "vendored-sources"

[source.vendored-sources]
directory = "vendor"
EOF


%build
%rust_build

%install
%rust_install

%files
%doc README.md
%_bindir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin