spec-rs
A CLI utility written in Rust to automatically generate spec files for building RPM packages on Alt Linux. This tool extracts project information from configuration files of various programming languages (Rust, Python, C/C++), analyzes dependencies, and adds them to the spec file, checking for package availability in the Alt Linux repository through its API.
Features
- Spec file generation: Automatically creates an RPM spec file with correct dependencies and project metadata.
- Multi-language support: Analyzes configuration files for Rust (
Cargo.toml
), Python (pyproject.toml
), and C/C++ (CMakeLists.txt
). - Dependency lookup: Integrates with the Alt Linux API to automatically find and include dependencies in the spec file.
- Automatic changelog creation: Generates a changelog based on the Git commit history.
Installation
Description
Languages
Rust
100%