[guillaume@agathe guillaume]$ rpm -q --provides libSDL1.2
SDL12 = 1.2.0-2mdk
libSDL-1.2.so.0
libSDL1.2 = 1.2.0-2mdk
[guillaume@agathe guillaume]$ rpm -q --provides libsmpeg0.4
smpeg = 0.4.3-2mdk
libsmpeg-0.4.so.0
libsmpeg0.4 = 0.4.3-2mdk
The first one should be either unversionified for  SDL, or versionified for 
smpeg.

[guillaume@agathe guillaume]$ rpm -q --provides libSDL1.2-devel
libSDL-devel = 1.2.0-2mdk
libSDL1.2-devel = 1.2.0-2mdk
[guillaume@agathe guillaume]$ rpm -q --provides libqt2-devel
qt2-devel
libqt2-devel = 2.3.0-5mdk
Also, the first one should be unlib-prefixed and without = part for SDL or 
versionified with a = part for qt

More generaly, what should i use in a rpm specfile ?
There seems to be no need for an explicit requires tag, as rpm will catch the 
linking against the library and produce a library filename requirement by 
itself. But there is a need for a buildrequires tag, and which one ? 
versionified or not ? lib-prefixed or not ?
-- 
Guillaume Rousse <[EMAIL PROTECTED]>
GPG keys http://www.univ-reunion.fr/~grousse/gpgkeys.html

Reply via email to