rpmdevtools-deb

Created 5 years ago
Maintained by ngompa
rpmdevtools packaging based on Fedora's with added Debian/Ubuntu support
Members 1
Neal Gompa committed 5 years ago

rpmdevtools based on Fedora packaging with added Debian/Ubuntu support

This repository contains the packaging for rpmdevtools derived from Fedora's rpmdevtools package with added support for being built for Debian/Ubuntu using debbuild.

How to build the package (rpm)

On a RPM system,

  1. Install the rpm-build package
  2. Create the folder tree: mkdir -p ~/rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS}
  3. Copy all the source files into ~/rpmbuild/SOURCES
  4. Download the rpmdevtools source tarball referenced in the spec and put it in ~/rpmbuild/SOURCES
  5. Copy the spec to ~/rpmbuild/SPECS
  6. Run rpmbuild: rpmbuild -ba ~/rpmbuild/SPECS/rpmdevtools.spec

How to build the package (deb)

On a Debian/Ubuntu system,

  1. Install debbuild using the deb from the project releases page.
  2. Create the folder tree: mkdir -p ~/debbuild/{SPECS,SOURCES,BUILD,BUILDROOT,DEBS,SDEBS}
  3. Copy all the source files into ~/debbuild/SOURCES
  4. Download the rpmdevtools source tarball referenced in the spec and put it in ~/debbuild/SOURCES
  5. Copy the spec to ~/debbuild/SPECS
  6. Run debbuild: debbuild -ba ~/debbuild/SPECS/rpmdevtools.spec

Note, this was tested with debbuild 18.8.1. YMMV with other versions.