Generate RPM spec files for Fedora, RHEL, and CentOS distributions
Scanned 9/2/2026
Install to Claude Code
npx -y skills add a5c-ai/babysitter --skill rpm-spec-generator --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Rpm Spec Generator?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/a5c-ai-rpm-spec-generator-babysitter)More formats (shields.io, HTML) on the badges page.
---
name: rpm-spec-generator
description: Generate RPM spec files for Fedora, RHEL, and CentOS distributions
allowed-tools: Read, Write, Edit, Bash, Glob, Grep
tags: [linux, rpm, fedora, rhel, packaging]
graph:
domains: [domain:software-engineering]
specializations: [specialization:desktop-development]
skillAreas: [skill-area:cross-platform-desktop, skill-area:deployment-infrastructure-management]
roles: [role:desktop-developer, role:fullstack-engineer]
workflows: [workflow:feature-development, workflow:release-management]
---
# rpm-spec-generator
Generate RPM spec files for Fedora, RHEL, CentOS, and other RPM-based distributions.
## Capabilities
- Generate .spec files
- Configure package metadata
- Define build requirements
- Set up scriptlets
- Configure file lists
- Handle desktop integration
- Configure changelog
## Input Schema
```json
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"packageName": { "type": "string" },
"version": { "type": "string" },
"release": { "type": "string", "default": "1" },
"buildRequires": { "type": "array" },
"requires": { "type": "array" }
},
"required": ["projectPath", "packageName", "version"]
}
```
## Spec File Example
```spec
Name: myapp
Version: 1.0.0
Release: 1%{?dist}
Summary: My Application
License: MIT
URL: https://example.com/myapp
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc
Requires: glibc, gtk3
%description
A longer description of my application.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%files
%{_bindir}/myapp
%{_datadir}/applications/myapp.desktop
%changelog
* Mon Jan 01 2024 Your Name <email@example.com> - 1.0.0-1
- Initial release
```
## Build Command
```bash
rpmbuild -ba myapp.spec
```
## Related Skills
- `deb-package-builder`
- `linux-gpg-signing`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!