]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - elfutils/elfutils.nm
Add a -debuginfo for every package that is not noarch.
[people/amarx/ipfire-3.x.git] / elfutils / elfutils.nm
CommitLineData
15a8a13f 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
15a8a13f
MT
4###############################################################################
5
802ea3af
MT
6name = elfutils
7version = 0.152
387a9bcb 8release = 3
15a8a13f 9
802ea3af
MT
10maintainer = Michael Tremer <michael.tremer@ipfire.org>
11groups = Development/Libraries
12url = https://fedorahosted.org/elfutils/
13license = GPLv2 with exceptions
14summary = A collection of utilities and DSOs to handle compiled objects.
15a8a13f 15
802ea3af
MT
16description
17 Elfutils is a collection of utilities, including ld (a linker),
18 nm (for listing symbols from object files), size (for listing the
19 section sizes of an object or archive file), strip (for discarding
20 symbols), readelf (to see the raw ELF file structures), and elflint
15a8a13f 21 (to check for well-formed ELF files).
802ea3af
MT
22end
23
24source_dl =
25sources = %{thisapp}.tar.bz2
15a8a13f 26
802ea3af
MT
27build
28 requires
29 bzip2-devel
30 m4
31 xz-devel
32 zlib-devel
33 end
15a8a13f 34
387a9bcb
MT
35 CFLAGS += -Wno-error
36
802ea3af
MT
37 configure_options += \
38 --program-prefix=eu-
087df360 39
802ea3af
MT
40 prepare_cmds
41 # Fix a compiler warning.
42 sed -i.scanf-m -e 's/%m/%a/g' \
43 src/addr2line.c tests/line2addr.c
44 end
087df360 45
802ea3af
MT
46 # fails
47 #test
48 # make check
49 #end
50end
15a8a13f 51
802ea3af
MT
52quality-agent
53 whitelist_rpath
54 /usr/lib/elfutils
55 end
56end
15a8a13f 57
802ea3af
MT
58packages
59 package %{name}
d24aa702 60
802ea3af
MT
61 package %{name}-devel
62 template DEVEL
1f9bc2f0 63
802ea3af
MT
64 requires = %{name}=%{thisver} %{name}-libs=%{thisver}
65 end
d24aa702 66
802ea3af
MT
67 package %{name}-libs
68 template LIBS
62b3c312 69
802ea3af
MT
70 files += /usr/lib*/lib*%{version}.so
71 files += /usr/lib/elfutils
72 end
1f9bc2f0
MT
73
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
802ea3af 77end