FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

LinkBack Thread Tools
Old 07-28-2011, 03:27 PM
Denis Arnaud
Default (C++) Header-Only Package

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
packaging mailing list

Thread Tools

All times are GMT. The time now is 09:43 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org