package naming question: IT++

Neal Gompa ngompa13 at gmail.com
Tue Sep 22 11:33:53 UTC 2015


On Tue, Sep 22, 2015 at 6:44 AM, Jonathan Wakely <jwakely at redhat.com> wrote:

> On 22/09/15 10:40 +0200, Marco Driusso wrote:
>
>> So I think we have two options:
>> 1) use 'itpp' as the name of the package, which corresponds to the
>> include dir name, but not to the lib file name (libitpp.so); in this
>>
>
> All libraries start with "lib" but that doesn't mean the package that
> provides a library should do.
>
> Look at the output of rpm -qf /usr/lib64/lib* and you'll see most of
> them are not called "libxxx" just because they install a file called
> "libxxx.so".  e.g. gtk3 installs libgtk-3
>
> The project is called IT++, it installs headers in <itpp/*> and
> installs libitpp.so, so itpp seems the most natural name.
>
>
>
If this wasn't a library that's linked at compile time, I would suggest
also including a "Provides: libitpp" line in there too, but I think that's
not necessary, since packages that would depend on it would use the library
dependency "libitpp.so.8" instead, which there should be an automatic
Provides generated in the itpp package.

Basically, RPM does nice things for you, so you don't have to care (as
much) about this kind of stuff.


-- 
真実はいつも一つ!/ Always, there's only one truth!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150922/dce3fba7/attachment.html>


More information about the devel mailing list