]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - elfutils/elfutils.nm
Merge remote-tracking branch 'stevee/ppp-update'
[people/ms/ipfire-3.x.git] / elfutils / elfutils.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = elfutils
7 version = 0.152
8 release = 5
9
10 maintainer = Michael Tremer <michael.tremer@ipfire.org>
11 groups = Development/Libraries
12 url = https://fedorahosted.org/elfutils/
13 license = GPLv2 with exceptions
14 summary = A collection of utilities and DSOs to handle compiled objects.
15
16 description
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
21 (to check for well-formed ELF files).
22 end
23
24 source_dl =
25 sources = %{thisapp}.tar.bz2
26
27 build
28 requires
29 bzip2-devel
30 m4
31 xz-devel
32 zlib-devel
33 end
34
35 CFLAGS += -Wno-error
36
37 configure_options += \
38 --program-prefix=eu-
39
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
45
46 # fails
47 #test
48 # make check
49 #end
50 end
51
52 quality-agent
53 whitelist_rpath
54 %{libdir}/elfutils
55 end
56 end
57
58 packages
59 package %{name}
60
61 package %{name}-devel
62 template DEVEL
63
64 requires
65 %{name} = %{thisver}
66 %{name}-libs = %{thisver}
67 end
68 end
69
70 package %{name}-libs
71 template LIBS
72
73 files += %{libdir}/lib*%{version}.so
74 files += %{libdir}/elfutils
75 end
76
77 package %{name}-debuginfo
78 template DEBUGINFO
79 end
80 end