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 Patch3: %{name}-gcc34.patch
15 #URL: file://home/devel/drepper
16 BuildRequires: autoconf >= 2.54
17 BuildRequires: automake >= 1.7
18 BuildRequires: gcc >= 3.2
19 BuildRequires: gettext-devel
20 BuildRequires: libltdl-devel
21 BuildRequires: perl-tools-pod
22 BuildRequires: sharutils
23 Requires: elfutils-libelf = %{version}-%{release}
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 %define _programprefix eu-
29 Elfutils is a collection of utilities, including ld (a linker), nm
30 (for listing symbols from object files), size (for listing the section
31 sizes of an object or archive file), strip (for discarding symbols),
32 readline (the see the raw ELF file structures), and elflint (to check
33 for well-formed ELF files). Also included are numerous helper
34 libraries which implement DWARF, ELF, and machine-specific ELF
38 Elfutils to zestaw narzêdzi, sk³adaj±cy siê z ld (linkera), nm (do
39 listowania symboli z plików obiektów), size (do listowania rozmiarów
40 sekcji plików obiektów lub archiwów), strip (do usuwania symboli),
41 readline (do ogl±dania surowych struktur plików ELF) oraz elflint (do
42 sprawdzania poprawno¶ci plików ELF). Do³±czone s± tak¿e liczne
43 biblioteki pomocnicze z zaimplementowan± obs³ug± DWARF, ELF i ELF
44 specyficznych dla architektury.
47 Summary: Development part of libraries to handle compiled objects
48 Summary(pl): Czê¶æ programistyczna bibliotek do obs³ugi skompilowanych obiektów
49 Group: Development/Libraries
50 Obsoletes: libelf-devel
51 Requires: elfutils = %{version}-%{release}
54 The elfutils-devel package contains the development part of libraries
55 to create applications for handling compiled objects. libelf allows
56 you to access the internals of the ELF object file format, so you can
57 see the different sections of an ELF file. libebl provides some
58 higher-level ELF access functionality. libdwarf provides access to the
59 DWARF debugging information. libasm provides a programmable assembler
62 %description devel -l pl
63 Pakiet elfutils-devel zawiera czê¶æ programistyczn± bibliotek do
64 tworzenia aplikacji obs³uguj±cych skompilowane obiekty. libelf pozwala
65 na dostêp do wnêtrzno¶ci formatu pliku obiektowego ELF, co pozwala na
66 ogl±danie ró¿nych sekcji pliku ELF. libebl udostêpnia funkcjonalno¶æ
67 dostêpu do plików ELF trochê wy¿szego poziomu. libdwarf pozwala na
68 dostêp do informacji DWARF s³u¿±cych do odpluskwiania. libasm
69 udostêpnia programowalny interfejs asemblera.
72 Summary: Library to read and write ELF files
73 Summary(pl): Biblioteki do odczytu i zapisu plików ELF
78 The elfutils-libelf package provides a DSO which allows reading and
79 writing ELF files on a high level. Third party programs depend on this
80 package to read internals of ELF files. The programs of the elfutils
81 package use it also to generate new ELF files.
83 %description libelf -l pl
84 Pakiet elfutils-libelf udostêpnia bibliotekê dzielon±, która pozwala
85 na wysokopoziomowe czytanie i zapisywanie plików ELF. Inne programy
86 wymagaj± tego pakietu, aby odczytywaæ zawarto¶æ plików ELF. Programy z
87 pakietu elfutils u¿ywaj± jej tak¿e do generowania nowych plików ELF.
90 Summary: Static libraries to handle compiled objects
91 Summary(pl): Statyczne biblioteki do obs³ugi skompilowanych obiektów
92 Group: Development/Libraries
93 Obsoletes: libelf-static
94 Requires: elfutils-devel = %{version}-%{release}
97 The elfutils-static package contains the static libraries to create
98 applications for handling compiled objects. libelf allows you to
99 access the internals of the ELF object file format, so you can see the
100 different sections of an ELF file. libebl provides some higher-level
101 ELF access functionality. libdwarf provides access to the DWARF
102 debugging information. libasm provides a programmable assembler
105 %description static -l pl
106 Pakiet elfutils-static zawiera statyczne biblioteki do tworzenia
107 aplikacji obs³uguj±cych skompilowane obiekty. libelf pozwala na dostêp
108 do wnêtrzno¶ci formatu pliku obiektowego ELF, co pozwala na ogl±danie
109 ró¿nych sekcji pliku ELF. libebl udostêpnia funkcjonalno¶æ dostêpu do
110 plików ELF trochê wy¿szego poziomu. libdwarf pozwala na dostêp do
111 informacji DWARF s³u¿±cych do odpluskwiania. libasm udostêpnia
112 programowalny interfejs asemblera.
128 --program-prefix=%{_programprefix} \
133 %{__make} -C debian/man
136 rm -rf $RPM_BUILD_ROOT
137 install -d $RPM_BUILD_ROOT%{_mandir}/man1
139 # *OBJEXT must be passed to workaround problem with messed gettext,
140 # which doesn't like *-po dir names
142 DESTDIR=$RPM_BUILD_ROOT \
143 CATOBJEXT=.gmo INSTOBJEXT=.mo
145 install debian/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
152 cat libasm.lang libdw.lang libebl.lang >> %{name}.lang
155 rm -rf $RPM_BUILD_ROOT
157 %post -p /sbin/ldconfig
158 %postun -p /sbin/ldconfig
160 %post libelf -p /sbin/ldconfig
161 %postun libelf -p /sbin/ldconfig
163 %files -f %{name}.lang
164 %defattr(644,root,root,755)
165 %doc AUTHORS COPYING NEWS NOTES README THANKS TODO
166 %attr(755,root,root) %{_bindir}/*
167 %attr(755,root,root) %{_libdir}/libasm-*.so
168 %attr(755,root,root) %{_libdir}/libdw-*.so
169 %dir %{_libdir}/elfutils
170 %attr(755,root,root) %{_libdir}/elfutils/lib*.so
174 %defattr(644,root,root,755)
175 %doc doc/elfutils.sgml
176 %attr(755,root,root) %{_libdir}/libasm.so
177 %attr(755,root,root) %{_libdir}/libdw.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)