Nextcloud community contributed RPM packaging.
To build RPM package (will use Docker):
make package
To build RPM using local devtool:
make buildev
To get other options you can use: make help
Produced RPM are saved to pkg/
folder. For SSO solution Nextcloud can use projects such as:
Keycloak or Authentik.
You can find prebuild artefacts here with Yum/DNF repo.
Check the commit log for a complete list.