]>
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 |
297482ac | 7 | version = 0.189 |
074d1301 | 8 | release = 2 |
15a8a13f | 9 | |
802ea3af | 10 | groups = Development/Libraries |
26483925 | 11 | url = https://sourceware.org/elfutils/ |
802ea3af MT |
12 | license = GPLv2 with exceptions |
13 | summary = A collection of utilities and DSOs to handle compiled objects. | |
15a8a13f | 14 | |
802ea3af MT |
15 | description |
16 | Elfutils is a collection of utilities, including ld (a linker), | |
17 | nm (for listing symbols from object files), size (for listing the | |
18 | section sizes of an object or archive file), strip (for discarding | |
19 | symbols), readelf (to see the raw ELF file structures), and elflint | |
15a8a13f | 20 | (to check for well-formed ELF files). |
802ea3af MT |
21 | end |
22 | ||
26483925 | 23 | source_dl = https://sourceware.org/elfutils/ftp/%{version}/ |
802ea3af | 24 | sources = %{thisapp}.tar.bz2 |
15a8a13f | 25 | |
802ea3af | 26 | build |
074d1301 MT |
27 | DEBUGINFOD_URLS = "https://pakfire.ipfire.org/" |
28 | ||
802ea3af MT |
29 | requires |
30 | bzip2-devel | |
26483925 | 31 | curl-devel |
802ea3af MT |
32 | m4 |
33 | xz-devel | |
34 | zlib-devel | |
26483925 | 35 | zstd-devel |
802ea3af | 36 | end |
15a8a13f | 37 | |
26483925 MT |
38 | configure_options += \ |
39 | --disable-debuginfod | |
40 | ||
41 | test | |
42 | make check | |
43 | end | |
074d1301 MT |
44 | |
45 | install_cmds | |
46 | # Export DEBUGINFOD_URLS | |
47 | echo "%{DEBUGINFOD_URLS}" > %{BUILDROOT}%{sysconfdir}/debuginfod/%{DISTRO_SNAME}.urls | |
48 | end | |
802ea3af | 49 | end |
15a8a13f | 50 | |
802ea3af MT |
51 | packages |
52 | package %{name} | |
d24aa702 | 53 | |
802ea3af MT |
54 | package %{name}-devel |
55 | template DEVEL | |
1f9bc2f0 | 56 | |
2bd9b33a MT |
57 | requires |
58 | %{name} = %{thisver} | |
59 | %{name}-libs = %{thisver} | |
60 | end | |
802ea3af | 61 | end |
d24aa702 | 62 | |
802ea3af MT |
63 | package %{name}-libs |
64 | template LIBS | |
62b3c312 | 65 | |
074d1301 MT |
66 | files |
67 | %{sysconfdir}/debuginfod | |
68 | %{sysconfdir}/profile.d/debuginfod* | |
69 | %{libdir}/lib*%{version}.so | |
70 | end | |
802ea3af | 71 | end |
1f9bc2f0 MT |
72 | |
73 | package %{name}-debuginfo | |
74 | template DEBUGINFO | |
75 | end | |
802ea3af | 76 | end |