Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Write rpm spec file for appimaged #6

Open
probonopd opened this issue May 20, 2018 · 4 comments
Open

Write rpm spec file for appimaged #6

probonopd opened this issue May 20, 2018 · 4 comments
Assignees
Labels
enhancement New feature or request help-wanted Extra attention is needed

Comments

@probonopd
Copy link
Member

probonopd commented May 20, 2018

We need to write a rpm spec file so that it can be included in gnome-software CI which is based on Fedora. This issue is to keep track of the progress.

cc @Conan-Kudo

@probonopd probonopd self-assigned this May 20, 2018
@probonopd
Copy link
Member Author

Actually it looks like CMake can do this, similar to what we do for debs. I have started in https://github.com/AppImage/appimaged/compare/feature/rpm?expand=1 but am stuck. Help appreciated.

@probonopd probonopd assigned TheAssassin and unassigned probonopd Nov 11, 2018
@probonopd probonopd added enhancement New feature or request help-wanted Extra attention is needed labels Nov 11, 2018
@probonopd probonopd changed the title Write rpm spec file for appimaged Generate RPMs, too Nov 11, 2018
@TheAssassin
Copy link
Member

It doesn't just look like it can, it is used in other projects like AppImageLauncher.

CPack works like "set all the variables, then run cpack -G <generator> (RPM in this case)".

Documentation: https://cmake.org/cmake/help/latest/cpack_gen/rpm.html#cpack_gen:CPack%20RPM%20Generator

Example: https://github.com/TheAssassin/AppImageLauncher/tree/master/cmake, specifically https://github.com/TheAssassin/AppImageLauncher/blob/master/cmake/cpack_rpm.cmake.

@TheAssassin
Copy link
Member

Also, this issue is about writing a spec file, which CPack doesn't do (see the documentation). CPack just creates an RPM package. You should open another issue.

@probonopd probonopd changed the title Generate RPMs, too Write rpm spec file for appimaged Nov 11, 2018
@probonopd
Copy link
Member Author

Also, this issue is about writing a spec file, which CPack doesn't do (see the documentation). CPack just creates an RPM package. You should open another issue.

Done that. Just having an RPM is exactly what we need for #25.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help-wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants