n0la / rcon

Source RCON client for command line
BSD 2-Clause "Simplified" License
140 stars 18 forks source link

Package rcon using CPack #23

Closed nico-castell closed 1 year ago

nico-castell commented 3 years ago

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.

n0la commented 3 years ago

cpack is nice and all, but now I am tempted to just Debian-package rcon the old fashioned way.

nico-castell commented 3 years ago

That's fine by me! I used CPack for its convenience.

n0la commented 3 years ago

Debian packaging has been sorted, but I do have to look deeper into Fedora packaging (never done that before).