7e2c7aa2938d9eeec702bb08a33e440dba8d25ac
Element Desktop RPM packaging
This repository builds an RPM package from the upstream Element Desktop Linux x86_64 tarball:
https://packages.element.io/desktop/install/linux/glibc-x86-64/element-desktop.tar.gz
What it does
- Downloads the current upstream tarball.
- Derives the version from the tarball root directory.
- Repackages the prebuilt binaries into an RPM.
- Removes the upstream auto-update manifest so RPM remains the update path.
- Sets
resources/package-typetorpm. - Supports COPR SCM builds through
.copr/Makefile.
Local builds
Build a source RPM:
make srpm
Build a binary RPM and source RPM:
make rpm
Artifacts are written to dist/.
COPR
Use COPR's SCM source type with:
- Clone URL: this repository
- Spec file:
SPECS/element-desktop.spec - SRPM build method:
make srpm
COPR will invoke .copr/Makefile, which calls the same SRPM generation script
used for local builds. That script downloads the upstream tarball during the
SRPM stage, so no vendored source archive is required in git.
Description
Languages
Shell
92.5%
Makefile
7.5%