]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = elfutils |
427948e0 MT |
7 | version = 0.161 |
8 | release = 1 | |
15a8a13f | 9 | |
802ea3af MT |
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. | |
15a8a13f | 15 | |
802ea3af MT |
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 | |
15a8a13f | 21 | (to check for well-formed ELF files). |
802ea3af MT |
22 | end |
23 | ||
427948e0 | 24 | source_dl = https://fedorahosted.org/releases/e/l/elfutils/%{version}/ |
802ea3af | 25 | sources = %{thisapp}.tar.bz2 |
15a8a13f | 26 | |
802ea3af MT |
27 | build |
28 | requires | |
427948e0 MT |
29 | autoconf |
30 | automake | |
802ea3af MT |
31 | bzip2-devel |
32 | m4 | |
33 | xz-devel | |
34 | zlib-devel | |
35 | end | |
15a8a13f | 36 | |
427948e0 | 37 | CFLAGS += -Wno-error -Wformat |
387a9bcb | 38 | |
802ea3af | 39 | configure_options += \ |
427948e0 MT |
40 | --program-prefix=eu- \ |
41 | --disable-werror | |
087df360 | 42 | |
802ea3af MT |
43 | # fails |
44 | #test | |
45 | # make check | |
46 | #end | |
47 | end | |
15a8a13f | 48 | |
802ea3af MT |
49 | quality-agent |
50 | whitelist_rpath | |
dc21a2af | 51 | %{libdir}/elfutils |
802ea3af MT |
52 | end |
53 | end | |
15a8a13f | 54 | |
802ea3af MT |
55 | packages |
56 | package %{name} | |
d24aa702 | 57 | |
802ea3af MT |
58 | package %{name}-devel |
59 | template DEVEL | |
1f9bc2f0 | 60 | |
2bd9b33a MT |
61 | requires |
62 | %{name} = %{thisver} | |
63 | %{name}-libs = %{thisver} | |
64 | end | |
802ea3af | 65 | end |
d24aa702 | 66 | |
802ea3af MT |
67 | package %{name}-libs |
68 | template LIBS | |
62b3c312 | 69 | |
dc21a2af MT |
70 | files += %{libdir}/lib*%{version}.so |
71 | files += %{libdir}/elfutils | |
802ea3af | 72 | end |
1f9bc2f0 MT |
73 | |
74 | package %{name}-debuginfo | |
75 | template DEBUGINFO | |
76 | end | |
802ea3af | 77 | end |