]> git.pld-linux.org Git - packages/elfutils.git/blob - elfutils.spec
- pl.po patch updated.
[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:        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 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)
25
26 %define         _programprefix  eu-
27
28 %description
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
35 handling.
36
37 %description -l pl
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.
45
46 %package devel
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}
52
53 %description devel
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
60 interface.
61
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.
70
71 %package libelf
72 Summary:        Library to read and write ELF files
73 Summary(pl):    Biblioteki do odczytu i zapisu plików ELF
74 Group:          Libraries
75 #Obsoletes:     libelf
76
77 %description libelf
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.
82
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.
88
89 %package static
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}
95
96 %description static
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
103 interface.
104
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.
113
114 %prep
115 %setup -q
116 %patch0 -p1
117 %patch1 -p1
118 %patch2 -p1
119 %patch3 -p1
120
121 %build
122 %{__gettextize}
123 %{__aclocal}
124 %{__autoheader}
125 %{__automake}
126 %{__autoconf}
127 %configure \
128         --program-prefix=%{_programprefix} \
129         --enable-shared
130
131 %{__make}
132
133 %{__make} -C debian/man
134
135 %install
136 rm -rf $RPM_BUILD_ROOT
137 install -d $RPM_BUILD_ROOT%{_mandir}/man1
138
139 # *OBJEXT must be passed to workaround problem with messed gettext,
140 # which doesn't like *-po dir names
141 %{__make} install \
142         DESTDIR=$RPM_BUILD_ROOT \
143         CATOBJEXT=.gmo INSTOBJEXT=.mo
144
145 install debian/man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
146
147 %find_lang libelf
148 %find_lang libasm
149 %find_lang libdw
150 %find_lang libebl
151 %find_lang %{name}
152 cat libasm.lang libdw.lang libebl.lang >> %{name}.lang
153
154 %clean
155 rm -rf $RPM_BUILD_ROOT
156
157 %post   -p /sbin/ldconfig
158 %postun -p /sbin/ldconfig
159
160 %post   libelf -p /sbin/ldconfig
161 %postun libelf -p /sbin/ldconfig
162
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
171 %{_mandir}/man1/*.1*
172
173 %files devel
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
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}/libelf.a
This page took 0.106185 seconds and 4 git commands to generate.