Ask Your Question
2

Use copr to build electron applications

asked 2017-08-21 16:12:52 -0600

jsnjack gravatar image

Hello,

What is the best way to build electron applications with copr? There is a project that allows to easily generate rpm package from a repository with electron application ( https://github.com/unindented/electro... ). However, it does not play nice with copr as the last one requires *.spec file or srpm file.

What is the best/fastest way to approach that problem?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2017-08-25 17:36:16 -0600

hedayat gravatar image

As far as I can tell, it seems that (as expected!) it is also using a .spec file to generate RPMs, so you should be able to get the spec file and build the RPM yourself. BTW, it also describes the structure of an Electron app, so you should be able to create a spec file yourself too.

edit flag offensive delete link more
0

answered 2017-09-02 03:16:37 -0600

davidva gravatar image

updated 2017-09-02 03:18:42 -0600

I don't recommed the use of "redhat" trademark... or you project is sponsored by redhat? other problem some apps provides a ffmpeg bundled; then copr is very strict with it... You need forever a ".spec" file for make a ".src.rpm" and build a rpm. If your app makes a src.rpm then you can use copr-cli and build directly in your copr repository.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2017-08-21 16:12:52 -0600

Seen: 132 times

Last updated: Sep 02 '17