1 Summary: A collection of utilities and DSOs to handle compiled objects
2 Summary(pl): Zestaw narzêdzi i bibliotek do obs³ugi skompilowanych obiektów
6 License: OSL 1.0 (http://www.opensource.org/licenses/osl.php)
7 Group: Development/Tools
8 # http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/SRPMS/elfutils-0.94-2.1.src.rpm
9 Source0: %{name}-%{version}.tar.gz
10 # Source0-md5: de39e0af6b82b30d48e5d69b75aa2e0b
11 Patch0: %{name}-pl.po.patch
12 Patch1: %{name}-debian-manpages.patch
13 Patch2: %{name}-alpha-stat.patch
14 #URL: file://home/devel/drepper
15 BuildRequires: autoconf >= 2.54
16 BuildRequires: automake >= 1.7
17 BuildRequires: gcc >= 3.2
18 BuildRequires: gettext-devel
19 BuildRequires: libltdl-devel
20 BuildRequires: perl-tools-pod
21 BuildRequires: sharutils
22 Requires: elfutils-libelf = %{version}-%{release}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _programprefix eu-
28 Elfutils is a collection of utilities, including ld (a linker), nm
29 (for listing symbols from object files), size (for listing the section
30 sizes of an object or archive file), strip (for discarding symbols),
31 readline (the see the raw ELF file structures), and elflint (to check
32 for well-formed ELF files). Also included are numerous helper
33 libraries which implement DWARF, ELF, and machine-specific ELF
37 Elfutils to zestaw narzêdzi, sk³adaj±cy siê z ld (linkera), nm (do
38 listowania symboli z plików obiektów), size (do listowania rozmiarów
39 sekcji plików obiektów lub archiwów), strip (do usuwania symboli),
40 readline (do ogl±dania surowych struktur plików ELF) oraz elflint (do
41 sprawdzania poprawno¶ci plików ELF). Do³±czone s± tak¿e liczne
42 biblioteki pomocnicze z zaimplementowan± obs³ug± DWARF, ELF i ELF
43 specyficznych dla architektury.
46 Summary: Development part of libraries to handle compiled objects
47 Summary(pl): Czê¶æ programistyczna bibliotek do obs³ugi skompilowanych obiektów
48 Group: Development/Libraries
49 Obsoletes: libelf-devel
50 Requires: elfutils = %{version}-%{release}
53 The elfutils-devel package contains the development part of libraries
54 to create applications for handling compiled objects. libelf allows
55 you to access the internals of the ELF object file format, so you can
56 see the different sections of an ELF file. libebl provides some
57 higher-level ELF access functionality. libdwarf provides access to the
58 DWARF debugging information. libasm provides a programmable assembler
61 %description devel -l pl
62 Pakiet elfutils-devel zawiera czê¶æ programistyczn± bibliotek do
63 tworzenia aplikacji obs³uguj±cych skompilowane obiekty. libelf pozwala
64 na dostêp do wnêtrzno¶ci formatu pliku obiektowego ELF, co pozwala na
65 ogl±danie ró¿nych sekcji pliku ELF. libebl udostêpnia funkcjonalno¶æ
66 dostêpu do plików ELF trochê wy¿szego poziomu. libdwarf pozwala na
67 dostêp do informacji DWARF s³u¿±cych do odpluskwiania. libasm
68 udostêpnia programowalny interfejs asemblera.
71 Summary: Library to read and write ELF files
72 Summary(pl): Biblioteki do odczytu i zapisu plików ELF
77 The elfutils-libelf package provides a DSO which allows reading and
78 writing ELF files on a high level. Third party programs depend on this
79 package to read internals of ELF files. The programs of the elfutils
80 package use it also to generate new ELF files.
82 %description libelf -l pl
83 Pakiet elfutils-libelf udostêpnia bibliotekê dzielon±, która pozwala
84 na wysokopoziomowe czytanie i zapisywanie plików ELF. Inne programy
85 wymagaj± tego pakietu, aby odczytywaæ zawarto¶æ plików ELF. Programy z
86 pakietu elfutils u¿ywaj± jej tak¿e do generowania nowych plików ELF.
89 Summary: Static libraries to handle compiled objects
90 Summary(pl): Statyczne biblioteki do obs³ugi skompilowanych obiektów
91 Group: Development/Libraries
92 Obsoletes: libelf-static
93 Requires: elfutils-devel = %{version}-%{release}
96 The elfutils-static package contains the static libraries to create
97 applications for handling compiled objects. libelf allows you to
98 access the internals of the ELF object file format, so you can see the
99 different sections of an ELF file. libebl provides some higher-level
100 ELF access functionality. libdwarf provides access to the DWARF
101 debugging information. libasm provides a programmable assembler
104 %description static -l pl
105 Pakiet elfutils-static zawiera statyczne biblioteki do tworzenia
106 aplikacji obs³uguj±cych skompilowane obiekty. libelf pozwala na dostêp
107 do wnêtrzno¶ci formatu pliku obiektowego ELF, co pozwala na ogl±danie
108 ró¿nych sekcji pliku ELF. libebl udostêpnia funkcjonalno¶æ dostêpu do
109 plików ELF trochê wy¿szego poziomu. libdwarf pozwala na dostêp do
110 informacji DWARF s³u¿±cych do odpluskwiania. libasm udostêpnia
111 programowalny interfejs asemblera.
126 --program-prefix=%{_programprefix} \
131 %{__make} -C debian/man
134 rm -rf $RPM_BUILD_ROOT
135 install -d $RPM_BUILD_ROOT%{_mandir}/man1
137 # *OBJEXT must be passed to workaround problem with messed gettext,
138 # which doesn't like *-po dir names
140 DESTDIR=$RPM_BUILD_ROOT \
141 CATOBJEXT=.gmo INSTOBJEXT=.mo
143 install debian/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
150 cat libasm.lang libdwarf.lang libebl.lang >> %{name}.lang
153 rm -rf $RPM_BUILD_ROOT
155 %post -p /sbin/ldconfig
156 %postun -p /sbin/ldconfig
158 %post libelf -p /sbin/ldconfig
159 %postun libelf -p /sbin/ldconfig
161 %files -f %{name}.lang
162 %defattr(644,root,root,755)
163 %doc AUTHORS COPYING NEWS NOTES README THANKS TODO
164 %attr(755,root,root) %{_bindir}/*
165 %attr(755,root,root) %{_libdir}/libasm-*.so
166 %attr(755,root,root) %{_libdir}/libdw-*.so
167 %attr(755,root,root) %{_libdir}/libdwarf-*.so
168 %dir %{_libdir}/elfutils
169 %attr(755,root,root) %{_libdir}/elfutils/lib*.so
173 %defattr(644,root,root,755)
174 %doc libdwarf/AVAILABLE doc/elfutils.sgml
175 %attr(755,root,root) %{_libdir}/libasm.so
176 %attr(755,root,root) %{_libdir}/libdw.so
177 %attr(755,root,root) %{_libdir}/libdwarf.so
178 %attr(755,root,root) %{_libdir}/libelf.so
182 %files libelf -f libelf.lang
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libelf-*.so
187 %defattr(644,root,root,755)
190 %{_libdir}/libdwarf.a