diff --git a/makefile b/makefile index d9a6715..11aa566 100644 --- a/makefile +++ b/makefile @@ -40,3 +40,13 @@ uninstall: rm -f ~/.local/share/applications/$(PROJ_NAME).desktop rm -f ~/.local/share/icons/$(PROJ_NAME).svg update-desktop-database ~/.local/share/applications/ + +# Install the dependencies for building the RPM package +rpm-deps: + sudo dnf install rpmdevtools + sudo dnf builddep packaging/$(PROJECT).spec + +# This step requires the rpm-deps specified above +rpm: + spectool -g -R packaging/$(PROJECT).spec + rpmbuild -bb packaging/$(PROJECT).spec \ No newline at end of file