Generate debuginfo packages for baselibs (bnc #396196) (from jblunck)
[platform/upstream/build.git] / baselibs_global.conf
1 arch i586   targets x86_64:32bit ia64:x86 ppc:ia32
2 arch i686   targets x86_64:32bit ia64:x86 ppc:ia32
3 arch s390   targets s390x:32bit
4 arch ppc    targets ppc64:32bit
5 arch ppc64  targets ppc:64bit
6
7 configdir /usr/lib/baselibs-<targettype>/bin
8
9 targettype x86 prefix /emul/ia32-linux
10 targettype ia32 prefix /emul/ia32-linux
11
12 targettype x86 extension -x86
13 targettype 32bit extension 32
14 targettype 64bit extension 64
15 targettype ia32 extension -x86
16
17 targetname <name>-<targettype>
18
19 +.*/lib(64)?/.*\.(so.*|o|a|la)$
20
21 targettype 64bit -^(/usr)?/lib/lib
22 targettype 32bit -/lib64/
23 targettype x86   -/lib64/
24 targettype ia32  -/lib64/
25
26 config    +.*bin.*-config$
27 config    -/kde-config$
28
29 targettype x86 requires "ia32el"
30 targettype x86 prereq "glibc-x86"
31
32 package /.(?<!-devel)$/
33 post "/sbin/ldconfig"
34
35 package /(.*)-devel$/
36 targettype x86 block!
37 targettype ia32 block!
38 requires "<name> = <version>"
39 requires "<match1>-<targettype> = <version>"
40
41 package /(.*)-debuginfo$/
42 +/usr/lib(64)?/debug/.*/lib(64)?/.*\.(so.*|o|a|la)\.debug$
43 requires "<match1>-<targettype> = <version>"
44