Dne pátek 4. ledna 2019 13:55:56 CET jste napsal(a):
Hi Vojtěch,
Vojtěch Zeisek writes:
Well, my packaging experience is zero. My Linux experience is considerable, but I'm not programmer. As a biologist, I'd like to see some packages included. From the original list namely ugene. And some more, of course. I wonder if I'd be able (by means of skills and time/effort required) to package software I need for my work (some is not very well written). Well, now I just compile what I need. So... If we consider software with simple (or no) dependences, I use to follow steps in README - (./congifue), make, (make install); is packaging in OBS significantly more difficult...?
The short answer would be: if all you need to do is just 'configure; make; make install' it is problably not too difficult. The more in-depth answer would be: it depends - there are quite a few guidelines about the installation to be followed and make to sure that 'rpmlint' is reasonably happy, thus files may have to be moved around after a 'make install' - at least if you plan to bring the package into oS:Factory later. Generally, when you pick up an existing package most of the things have been done already - often it just to update the source tarball or fix a build. On most of the guidelines there is pretty good documentation around - like:
https://en.opensuse.org/openSUSE:Package_maintainership_guide https://en.opensuse.org/openSUSE:Specfile_guidelines https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros
The simplest way to get started is to start with an existing package or use a similar type of package as a guide and only worry about the documentation if there are issues. Of course, you can always ask here (there are other MLs for packaging questions, but they have a lot more traffic).
Hi, thank You for the introduction. I forked UGENE to https://build.opensuse.org/package/show/home:vojtaeus/UGENE but it seems to be too complicated building for newbie. So I tried with https://github.com/stamatak/standard-RAxML in https:// github.com/stamatak/standard-RAxML which has really trivial compilation. But the problem is this software (and many others I use) doesn't define 'make install' (very often it is enough to run just 'make' and then copy manually binary to ~/bin/). So my question is what what to write to %install section of the specfile. I "just" need to copy raxmlHPC* to /usr/bin/ or so. As documentation of this popular tool is, ehm, very brief, I have honestly no idea what is the license of it, if I need gcc or gcc-c++ and what I need to compile pthreads and mpi versions... Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux https://www.opensuse.org/ https://trapa.cz/