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 Source0: ftp://sunsite.icm.edu.pl:21/vol/rzm7/linux-sunsite/distributions/gentoo/distfiles/%{name}-%{version}.tar.gz
9 # Source0-md5: 51adf608642cd5fd6a4e3f25545b3c42
10 Patch0: %{name}-pl.po.patch
11 #URL: file://home/devel/drepper
12 BuildRequires: autoconf >= 2.54
13 BuildRequires: automake >= 1.7
14 BuildRequires: gcc >= 3.2
15 BuildRequires: gettext-devel
16 BuildRequires: libltdl-devel
17 BuildRequires: sharutils
18 Requires: elfutils-libelf = %{version}-%{release}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _programprefix eu-
24 Elfutils is a collection of utilities, including ld (a linker), nm
25 (for listing symbols from object files), size (for listing the section
26 sizes of an object or archive file), strip (for discarding symbols),
27 readline (the see the raw ELF file structures), and elflint (to check
28 for well-formed ELF files). Also included are numerous helper
29 libraries which implement DWARF, ELF, and machine-specific ELF
33 Elfutils to zestaw narzêdzi, sk³adaj±cy siê z ld (linkera), nm (do
34 listowania symboli z plików obiektów), size (do listowania rozmiarów
35 sekcji plików obiektów lub archiwów), strip (do usuwania symboli),
36 readline (do ogl±dania surowych struktur plików ELF) oraz elflint (do
37 sprawdzania poprawno¶ci plików ELF). Do³±czone s± tak¿e liczne
38 biblioteki pomocnicze z zaimplementowan± obs³ug± DWARF, ELF i ELF
39 specyficznych dla architektury.
42 Summary: Development part of libraries to handle compiled objects
43 Summary(pl): Czê¶æ programistyczna bibliotek do obs³ugi skompilowanych obiektów
44 Group: Development/Libraries
45 Obsoletes: libelf-devel
46 Requires: elfutils = %{version}-%{release}
49 The elfutils-devel package contains the development part of libraries
50 to create applications for handling compiled objects. libelf allows
51 you to access the internals of the ELF object file format, so you can
52 see the different sections of an ELF file. libebl provides some
53 higher-level ELF access functionality. libdwarf provides access to the
54 DWARF debugging information. libasm provides a programmable assembler
57 %description devel -l pl
58 Pakiet elfutils-devel zawiera czê¶æ programistyczn± bibliotek do
59 tworzenia aplikacji obs³uguj±cych skompilowane obiekty. libelf pozwala
60 na dostêp do wnêtrzno¶ci formatu pliku obiektowego ELF, co pozwala na
61 ogl±danie ró¿nych sekcji pliku ELF. libebl udostêpnia funkcjonalno¶æ
62 dostêpu do plików ELF trochê wy¿szego poziomu. libdwarf pozwala na
63 dostêp do informacji DWARF s³u¿±cych do odpluskwiania. libasm
64 udostêpnia programowalny interfejs asemblera.
67 Summary: Library to read and write ELF files
68 Summary(pl): Biblioteki do odczytu i zapisu plików ELF
73 The elfutils-libelf package provides a DSO which allows reading and
74 writing ELF files on a high level. Third party programs depend on this
75 package to read internals of ELF files. The programs of the elfutils
76 package use it also to generate new ELF files.
78 %description libelf -l pl
79 Pakiet elfutils-libelf udostêpnia bibliotekê dzielon±, która pozwala
80 na wysokopoziomowe czytanie i zapisywanie plików ELF. Inne programy
81 wymagaj± tego pakietu, aby odczytywaæ zawarto¶æ plików ELF. Programy z
82 pakietu elfutils u¿ywaj± jej tak¿e do generowania nowych plików ELF.
85 Summary: Static libraries to handle compiled objects
86 Summary(pl): Statyczne biblioteki do obs³ugi skompilowanych obiektów
87 Group: Development/Libraries
88 Obsoletes: libelf-static
89 Requires: elfutils-devel = %{version}-%{release}
92 The elfutils-static package contains the static libraries to create
93 applications for handling compiled objects. libelf allows you to
94 access the internals of the ELF object file format, so you can see the
95 different sections of an ELF file. libebl provides some higher-level
96 ELF access functionality. libdwarf provides access to the DWARF
97 debugging information. libasm provides a programmable assembler
100 %description static -l pl
101 Pakiet elfutils-static zawiera statyczne biblioteki do tworzenia
102 aplikacji obs³uguj±cych skompilowane obiekty. libelf pozwala na dostêp
103 do wnêtrzno¶ci formatu pliku obiektowego ELF, co pozwala na ogl±danie
104 ró¿nych sekcji pliku ELF. libebl udostêpnia funkcjonalno¶æ dostêpu do
105 plików ELF trochê wy¿szego poziomu. libdwarf pozwala na dostêp do
106 informacji DWARF s³u¿±cych do odpluskwiania. libasm udostêpnia
107 programowalny interfejs asemblera.
120 --program-prefix=%{_programprefix} \
126 rm -rf $RPM_BUILD_ROOT
127 install -d $RPM_BUILD_ROOT%{_prefix}
129 # *OBJEXT must be passed to workaround problem with messed gettext,
130 # which doesn't like *-po dir names
132 DESTDIR=$RPM_BUILD_ROOT \
133 CATOBJEXT=.gmo INSTOBJEXT=.mo
135 chmod +x $RPM_BUILD_ROOT%{_prefix}/%{_lib}/lib*.so*
136 chmod +x $RPM_BUILD_ROOT%{_prefix}/%{_lib}/elfutils/lib*.so*
143 cat libasm.lang libdwarf.lang libebl.lang >> %{name}.lang
146 rm -rf ${RPM_BUILD_ROOT}
148 %post -p /sbin/ldconfig
149 %postun -p /sbin/ldconfig
151 %post libelf -p /sbin/ldconfig
152 %postun libelf -p /sbin/ldconfig
154 %files -f %{name}.lang
155 %defattr(644,root,root,755)
157 %attr(755,root,root) %{_bindir}/*
158 %attr(755,root,root) %{_libdir}/lib*-*.so
159 %dir %{_libdir}/elfutils
160 %attr(755,root,root) %{_libdir}/elfutils/lib*.so
161 %exclude %{_libdir}/libelf-*.so
164 %defattr(644,root,root,755)
165 %doc libdwarf/AVAILABLE
168 %exclude %{_libdir}/lib*-*.so
170 %files libelf -f libelf.lang
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/libelf-*.so
175 %defattr(644,root,root,755)