agentsclimarketplace

Rpm spec generator

Skill a5c-ai/babysitter/library/specializations/desktop-development/skills/rpm-spec-generator

Generate RPM spec files for Fedora, RHEL, and CentOS distributionsFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill rpm-spec-generator

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.9 KB, 402 tokens by cl100k_base, as published. Nobody here has run it

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

{
  "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

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 protected]> - 1.0.0-1
- Initial release

Build Command

rpmbuild -ba myapp.spec

Related Skills

  • deb-package-builder
  • linux-gpg-signing

What ships with it: 1 file

428 B alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.