Skip to content

Commit

Permalink
Package: add Fedora spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Oct 31, 2023
1 parent b6e1737 commit b190710
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions Package/Fedora/RMG.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
Name: RMG
Version: 0.5.2
Release: %autorelease
Summary: Rosalie's Mupen GUI

License: GPL-3.0-only
URL: https://github.com/Rosalie241/RMG
Source0: https://github.com/Rosalie241/RMG/archive/refs/tags/v%{version}.tar.gz

BuildRequires: gcc
BuildRequires: g++
BuildRequires: nasm
BuildRequires: cmake
BuildRequires: hidapi-devel
BuildRequires: libsamplerate-devel
BuildRequires: minizip-compat-devel
BuildRequires: SDL2-devel
BuildRequires: freetype-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: zlib-ng-devel
BuildRequires: binutils-devel
BuildRequires: speexdsp-devel
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtsvg-devel
BuildRequires: libxkbcommon-devel

Requires: hidapi
Requires: SDL2
Requires: zlib-ng
Requires: libsamplerate
Requires: speexdsp
Requires: qt6-qtbase
Requires: qt6-qtsvg

%description
Rosalie's Mupen GUI is a free and open-source mupen64plus front-end written in C++

%prep
%autosetup

%build
%cmake -DCMAKE_BUILD_TYPE=Release -DPORTABLE_INSTALL=OFF -DDISCORD_RPC=OFF
%cmake_build

%install
%cmake_install

%files
/usr/bin/RMG
/usr/lib/libRMG-Core.so
/usr/lib/RMG/
/usr/share/RMG/
/usr/share/applications/com.github.Rosalie241.RMG.desktop
/usr/share/icons/hicolor/scalable/apps/com.github.Rosalie241.RMG.svg
/usr/share/metainfo/com.github.Rosalie241.RMG.appdata.xml

%changelog
%autochangelog

0 comments on commit b190710

Please sign in to comment.