<div>I've scoured the packaging guidelines once more, there's no mention of when you should put libraries in %{_libdir} vs. when to create a subdirectory in %{_libdir}.  I got a little bit of feedback in my package review request[1], but I'd appreciate more formal clarification.</div>

<div> </div>
<div>Anyone?<br></div>
<div>[1]: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=530251">https://bugzilla.redhat.com/show_bug.cgi?id=530251</a><br></div>
<div class="gmail_quote">On Tue, Nov 10, 2009 at 10:09 AM, Rich Mattes <span dir="ltr"><<a href="mailto:richmattes@gmail.com">richmattes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>I found a link from the cmake people that suggests creating a /usr/lib/projectname folder for libraries and cmake files is suggested practice to allow other projects to import yours: <a href="http://www.itk.org/Wiki/CMake_2.6_Notes#Exporting_from_an_Installation_Tree" target="_blank">http://www.itk.org/Wiki/CMake_2.6_Notes#Exporting_from_an_Installation_Tree</a></div>

<div> </div>
<div>Is this compatible with Fedora packaging, or should pacakges install all of their shared libs in %{_libdir}?  If the libs do go right into the libdir, should the project-config.cmake files go somewhere like /usr/share/projectname/cmake?</div>

<div> </div><font color="#888888">
<div>Rich<br><br></div></font>
<div>
<div></div>
<div class="h5">
<div class="gmail_quote">On Tue, Nov 3, 2009 at 1:00 PM, Rich Mattes <span dir="ltr"><<a href="mailto:richmattes@gmail.com" target="_blank">richmattes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>I'm creating a package for a group of libraries, and I have a few questions about where to install some files.</div>
<div> </div>
<div>1. The project creates its own folder in /usr/lib called /usr/lib/projectname, and installs its shared libraries there.  What's the policy on doing this vs. putting all of the libraries into /usr/lib?</div>
<div> </div>
<div>1a. The project also puts a few .cmake files in its libdir folder.  Upstream informed me that some other projects use these files during their own build process, so moving these cmake files could be problematic.  I think that putting .cmake files in /usr/lib might be a violation of linux filesystem rules, but doing a "yum provides *lib/*.cmake" shows that some other projects do this exact thing (install their libraries and cmake files into their own directory under /usr/lib).  This leads me to believe that this practice is ok? </div>

<div> </div>
<div>2. The project installs a bunch of other assorted cmake macros, which are also used by other projects.  These don't take the form of FindProject.cmake though, so I don't think they belong in the system-wide cmake module path.  I should put those in /usr/share/projectname/cmake?</div>

<div> </div>
<div>Thanks for the help,</div>
<div> </div><font color="#888888">
<div>Rich</div></font></blockquote></div><br></div></div></blockquote></div><br>