Closed nico-castell closed 1 year ago
cpack
is nice and all, but now I am tempted to just Debian-package rcon the old fashioned way.
That's fine by me! I used CPack for its convenience.
Debian packaging has been sorted, but I do have to look deeper into Fedora packaging (never done that before).
CPack comes with CMake and it allows you to create convenient packages to install the software.
I added instructions to the CMakeLists.txt to package rcon in .deb, .rpm, and .tar.gz formats. Also added instructions on how to do it from the command line in the README.
There's one more file I added: description.txt, it's a single line file used to provide a description in .rpm packages.
Using packages like this also provides users with an option to uninstall the package in one command, should they want to do so.