I was able to modify the existing Fedora spec file for owncloud-client, to build a package with the nextcloud theming:
- Here is the spec file: https://github.com/tpokorra/lbs-nextcloud/blob/master/nextcloud-client/nextcloud-client.spec
- And the source rpm is available here: https://tpokorra.fedorapeople.org/nextcloud/
- Builds for the various Fedora versions, and Epel7, are available in this copr: https://copr.fedorainfracloud.org/coprs/tpokorra/nextcloud/
Nextcloud client 2.2.3 packaged for Fedora and Epel7