https://bugzilla.redhat.com/show_bug.cgi?id=1422555
Randy Barlow randy@electronsweatshop.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(randy@electronswe | |atshop.com) |
--- Comment #3 from Randy Barlow randy@electronsweatshop.com --- (In reply to Gianluca Sforna from comment #2)
I am not sure which library/headers you are referring to. For the purposes of building arduino sketches I need only the ctags executable, and that has to be placed in the specific directory I am using. This is the reason of the "weird" install step.
Hello Gianluca!
The library is the .so file:
$ file rpms-unpacked/arduino-ctags-5.8-1.arduino11.fc26.x86_64.rpm/usr/share/arduino/tools-builder/ctags/5.8arduino11/ctags rpms-unpacked/arduino-ctags-5.8-1.arduino11.fc26.x86_64.rpm/usr/share/arduino/tools-builder/ctags/5.8arduino11/ctags: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=0f8f9fa4801c724f6a88c39ad3eb71cdd951b0cc, stripped, with debug_info
That file is an x86_64 file on my machine, so it should not go into /usr/share. Further, it appears to have a main() function - should it go into /usr/bin? If not, it needs to go into %{_libdir}.
The header files are the .h files - typically packages will provide a -devel subpackage that contains those, which is helpful for people who want to link against your package. These files are usually installed under %{_includedir}. For example, python2-devel installs the .h files in /usr/include/python2.7/ on my system.