WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

rpmbuild spec and configs to build Fedora COPR-compliant rpm package from upstream melonDS repo

Notifications You must be signed in to change notification settings

gojun077/melonDS-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

melonDS-rpm

Summary

  • Created on: [2025-11-15 Sat]
  • Last Updated: [2025-11-26 Wed 23:39]

https://copr.fedorainfracloud.org/coprs/archjun/melonDS/package/melonDS/status_image/last_build.png

This repo contains rpm package-related config files necessary to package the open-source melonDS Nintendo DS emulator build from C/CPP source.

The resulting rpm packages are also built by the Fedora COPR build system for Fedora user-submitted packages in the following project:

https://copr.fedorainfracloud.org/coprs/archjun/melonDS/

Topics

How to build melonDS rpm package from this repo

First you need to install packages necessary for rpmbuild. Assuming you are on Fedora:

sudo dnf install fedora-packager \
  fedora-review \
  mock \
  rpmdevtools \
  rpmlint

Then add your user to the mock group:

sudo usermod -a -G mock $USER

Finally, install the build dependencies for melonDS itself:

sudo dnf install SDL2-devel \
  enet-devel \
  extra-cmake-modules \
  libarchive-devel \
  qt6-qtbase-devel \
  qt6-qtbase-private-devel \
  qt6-qtmultimedia-devel \
  qt6-qtsvg-devel \
  wayland-devel

Now from the project root, run make build which will generate the rpmbuild folder structure:

$ tree -d
.
├── BUILD
├── RPMS
├── SOURCES
├── SPECS
└── SRPMS

The make build recipe will also read SPECS/melonDS.spec for how to build from C/CPP source using cmake.

Note that default upstream https://github.com/melonDS-emu/melonDS strips out debug info when building from source with cmake. However, in this repo, the melonDS.spec specifies that debug headers not be stripped with the following cmake options:

-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_DO_STRIP=OFF \

Once the build is complete, the .rpm build artifacts can be found in RPMS/{aarch64,x86_64}/ and the source rpm’s can be found in SRPMS/.

About

rpmbuild spec and configs to build Fedora COPR-compliant rpm package from upstream melonDS repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published