]> git.pld-linux.org Git - packages/elfutils.git/blob - elfutils.spec
- updated to 0.94.
[packages/elfutils.git] / elfutils.spec
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
3 Name:           elfutils
4 Version:        0.94
5 Release:        0.1
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)
24
25 %define         _programprefix  eu-
26
27 %description
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
34 handling.
35
36 %description -l pl
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.
44
45 %package devel
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}
51
52 %description devel
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
59 interface.
60
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.
69
70 %package libelf
71 Summary:        Library to read and write ELF files
72 Summary(pl):    Biblioteki do odczytu i zapisu plików ELF
73 Group:          Libraries
74 #Obsoletes:     libelf
75
76 %description libelf
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.
81
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.
87
88 %package static
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}
94
95 %description static
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
102 interface.
103
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.
112
113 %prep
114 %setup -q
115 %patch0 -p1
116 %patch1 -p1
117 %patch2 -p1
118
119 %build
120 %{__gettextize}
121 %{__aclocal}
122 %{__autoheader}
123 %{__automake}
124 %{__autoconf}
125 %configure \
126         --program-prefix=%{_programprefix} \
127         --enable-shared
128
129 %{__make}
130
131 %{__make} -C debian/man
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135 install -d $RPM_BUILD_ROOT%{_mandir}/man1
136
137 # *OBJEXT must be passed to workaround problem with messed gettext,
138 # which doesn't like *-po dir names
139 %{__make} install \
140         DESTDIR=$RPM_BUILD_ROOT \
141         CATOBJEXT=.gmo INSTOBJEXT=.mo
142
143 install debian/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
144
145 %find_lang libelf
146 %find_lang libasm
147 %find_lang libdwarf
148 %find_lang libebl
149 %find_lang %{name}
150 cat libasm.lang libdwarf.lang libebl.lang >> %{name}.lang
151
152 %clean
153 rm -rf $RPM_BUILD_ROOT
154
155 %post   -p /sbin/ldconfig
156 %postun -p /sbin/ldconfig
157
158 %post   libelf -p /sbin/ldconfig
159 %postun libelf -p /sbin/ldconfig
160
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
170 %{_mandir}/man1/*.1*
171
172 %files devel
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
179 %{_libdir}/libebl.a
180 %{_includedir}/*
181
182 %files libelf -f libelf.lang
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/libelf-*.so
185
186 %files static
187 %defattr(644,root,root,755)
188 %{_libdir}/libasm.a
189 %{_libdir}/libdw.a
190 %{_libdir}/libdwarf.a
191 %{_libdir}/libelf.a
This page took 0.073631 seconds and 4 git commands to generate.