Open niccokunzmann opened 8 years ago
@niccokunzmann I am working on creating the rpm file for knit editor. I would like your help in the spec file for building the rpm- https://gist.github.com/souravsingh/736cad33b95b11590a1ac4fcda108c0d
@souravsingh it looks all fine. I do not know how to create an rpm file automatically. You can put in anything that seems right to you. Do you follow a tutorial and are stuck at a specific point? You can also use your name as the packager - after all, you work on it. Do you use a specific service? I can grant you administrative access so you can use the github integrations and build when pushed, ... Is there something specific you can ask me?
@niccokunzmann I am making use of the Open Build Service to create the rpm file. Since the service requires a spec file to be uploaded to server for creating the rpm file, I was working on writing one for the same.
I have an Idea: You can create an "rpm-build" folder and then put everything inside of it. When you have something new, I will look at it and merge it. You can create many small pull-requests. You add interesting things you found e.g. on Stackoverflow to a README.md inside the folder. What do you think?
Am 07.10.2016 um 15:16 schrieb Sourav Singh:
@niccokunzmann https://github.com/niccokunzmann I am working on creating the rpm file for knit editor. I would like your help in the spec file for building the rpm- https://gist.github.com/souravsingh/736cad33b95b11590a1ac4fcda108c0d
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fossasia/kniteditor/issues/15#issuecomment-252249025, or mute the thread https://github.com/notifications/unsubscribe-auth/AAieIAVLxXs_OQ4x-dp5dL85FbSXTRgTks5qxkYQgaJpZM4Jgg0e.
Great. If you need help, automating the build by push, let me know.
Am 07.10.2016 um 16:12 schrieb Sourav Singh:
@niccokunzmann https://github.com/niccokunzmann I am making use of the Open Build Service to create the rpm file. Since the service requires a spec file to be uploaded to server for creating the rpm file, I was working on writing one for the same.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fossasia/kniteditor/issues/15#issuecomment-252263025, or mute the thread https://github.com/notifications/unsubscribe-auth/AAieII5PWrx0Ky5Iwcmjy1tkyxbCj1RSks5qxlNggaJpZM4Jgg0e.
I learnt we can make use of bdist_rpm
command along with python setup.py
to create the RPM packages. So We should only update the install scripts and it should work.
@souravsingh looks like I created an other error: https://travis-ci.org/fossasia/kniteditor/jobs/165931868#L614 I removed this: https://travis-ci.org/fossasia/kniteditor/jobs/165931298#L537 by removing the -m option.
@niccokunzmann Is the issue fixed?
@souravsingh I want to close the issue when there is an upload to https://github.com/fossasia/kniteditor/releases with the .rpm file. I believe, therefore we need a new release configuration for travis which uploads everything. Do you know the path of the .rpm file?
@niccokunzmann I checked the creation of RPM for kniteditor. I noticed that the RPM file gets stored in \dist directory.
@souravsingh Great! When I have time, I will also try the upload and see how it works. If you like, you can do that, too.
To package the Knit Editor for Fedora .rpm file can be created. There are various ways to create these.
Hints:
14