(C++) Header-Only Package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

we would like to package a C++ header-only project, namely tclap (https://bugzilla.redhat.com/show_bug.cgi?id=683591).
The relevant guideline is to be found on: https://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages

The question is:
1. Should the header files go into the main package, removing the need for a -devel sub-package? The reason would be that that package is a development package only, like gcc for instance.
2. Or should the header files go into the -devel sub-package, leaving the main package almost empty (only the README, COPYING documentation would go into the main package), much like what is done for Boost header-only components?

In either case, then, since header files are architecture independent, I guess that the corresponding package should be 'noarch'. However, a pkgconfig (.pc) file is delivered together with the package; and rpmlint complains that pkgconfig files should be delivered by architecture-dependent sub-packages only. Should you leave rpmlint complaining quietly?

Thanks in advance

Best Regards

Denis
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux