]>
Commit | Line | Data |
---|---|---|
1 | Summary: GNU libtool, a shared library generation tool | |
2 | Summary(es.UTF-8): GNU libtool, una herramienta de creación de bibliotecas compartidas | |
3 | Summary(pl.UTF-8): GNU libtool - narzędzie do generowania bibliotek współdzielonych | |
4 | Summary(pt_BR.UTF-8): GNU libtool, uma ferramenta de geração de bibliotecas compartilhadas | |
5 | Summary(ru.UTF-8): GNU libtool, набор утилит для генерации разделяемых библиотек | |
6 | Summary(uk.UTF-8): GNU libtool, набір утиліт для генерації динамічних бібліотек | |
7 | Name: libtool | |
8 | Version: 2.2 | |
9 | Release: 0.5 | |
10 | Epoch: 2 | |
11 | License: GPL v2+ | |
12 | Group: Development/Tools | |
13 | Source0: http://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.lzma | |
14 | # Source0-md5: 3036f2b0159feb01abd202bca7f53f77 | |
15 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2 | |
16 | # Source1-md5: b95e215961860c66f0868b0d551358c9 | |
17 | Patch0: %{name}-info.patch | |
18 | Patch1: %{name}-relink.patch | |
19 | Patch2: %{name}-libdirs.patch | |
20 | Patch3: %{name}-multilib.patch | |
21 | Patch4: %{name}-linking-order.patch | |
22 | Patch5: %{name}.m4_cegcc.patch | |
23 | Patch6: %{name}-crossw32.patch | |
24 | Patch7: %{name}-execute-mode.patch | |
25 | URL: http://www.gnu.org/software/libtool/ | |
26 | BuildRequires: /usr/bin/which | |
27 | BuildRequires: autoconf >= 2.59 | |
28 | %ifarch %{x8664} | |
29 | BuildRequires: automake >= 1:1.7.9-2 | |
30 | %else | |
31 | BuildRequires: automake >= 1:1.7.3 | |
32 | %endif | |
33 | BuildRequires: gcc-c++ >= 5:3.3.3 | |
34 | BuildRequires: lzma >= 1:4.42 | |
35 | BuildRequires: rpmbuild(macros) >= 1.213 | |
36 | BuildRequires: texinfo | |
37 | %requires_eq gcc | |
38 | Requires: coreutils | |
39 | Requires: grep | |
40 | Requires: mktemp | |
41 | Requires: sed | |
42 | Conflicts: autoconf < 2.58 | |
43 | Conflicts: gettext-devel < 0.17 | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
47 | GNU libtool is a set of shell scripts to automatically configure UNIX | |
48 | architectures to build shared libraries in generic fashion. | |
49 | ||
50 | %description -l es.UTF-8 | |
51 | GNU libtool es un conjunto de scripts shell para configurar | |
52 | automáticamente la creación de bibliotecas compartidas para varias | |
53 | arquitecturas UNIX de una manera genérica. | |
54 | ||
55 | %description -l pl.UTF-8 | |
56 | GNU libtool jest zbiorem skryptów shellowych do automatycznego | |
57 | generowania bibliotek współdzielonych niezależnie od typu platformy | |
58 | systemowej. | |
59 | ||
60 | %description -l pt_BR.UTF-8 | |
61 | GNU libtool é um conjunto de scripts shell para configurar | |
62 | automaticamente a geração de bibliotecas compartilhadas para várias | |
63 | arquiteturas UNIX de uma maneira genérica. | |
64 | ||
65 | %description -l ru.UTF-8 | |
66 | GNU libtool - это набор скриптов для автоматической генерации | |
67 | динамических разделяемых библиотек на различных архитектурах UNIX. | |
68 | ||
69 | %description -l uk.UTF-8 | |
70 | GNU libtool - це набір скриптів для автоматичної генерації динамічних | |
71 | бібліотек на різних архітектурах UNIX. | |
72 | ||
73 | %package -n libltdl | |
74 | Summary: System independent dlopen wrapper for GNU libtool | |
75 | Summary(pl.UTF-8): Biblioteka ogólnych wywołań dlopen | |
76 | Summary(pt_BR.UTF-8): GNU libltdl, um wrapper dlopen para o GNU libtool | |
77 | License: LGPL v2+ | |
78 | Group: Libraries | |
79 | Obsoletes: libtool-libs | |
80 | ||
81 | %description -n libltdl | |
82 | System independent dlopen wrapper for GNU libtool. | |
83 | ||
84 | %description -n libltdl -l pl.UTF-8 | |
85 | Biblioteka ogólnych wywołań dlopen. | |
86 | ||
87 | %description -n libltdl -l pt_BR.UTF-8 | |
88 | GNU libltdl, um wrapper dlopen para o GNU libtool. | |
89 | ||
90 | %package -n libltdl-devel | |
91 | Summary: Development components for libltdl | |
92 | Summary(pl.UTF-8): Część libltdl przeznaczona dla programistów | |
93 | Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl | |
94 | Summary(ru.UTF-8): Файлы для разработки программ с libltdl | |
95 | Summary(uk.UTF-8): Файли для розробки програм з libltdl | |
96 | License: LGPL v2+ | |
97 | Group: Development/Libraries | |
98 | Requires: libltdl = %{epoch}:%{version}-%{release} | |
99 | ||
100 | %description -n libltdl-devel | |
101 | System independent dlopen wrapper for GNU libtool - development part. | |
102 | Install this package if you want to develop for libltdl. | |
103 | ||
104 | %description -n libltdl-devel -l pl.UTF-8 | |
105 | Biblioteka ogólnych wywołań dlopen - część dla programistów. | |
106 | ||
107 | %description -n libltdl-devel -l pt_BR.UTF-8 | |
108 | Instale este pacote se você deseja desenvolver para a libltdl. | |
109 | ||
110 | %description -n libltdl-devel -l uk.UTF-8 | |
111 | Файли для розробки програм з libltdl. | |
112 | ||
113 | %description -n libltdl-devel -l ru.UTF-8 | |
114 | Файлы для разработки программ с libltdl. | |
115 | ||
116 | %package -n libltdl-static | |
117 | Summary: Static system independent dlopen wrapper for GNU libtool | |
118 | Summary(pl.UTF-8): Statyczna biblioteka ogólnych wywołań dlopen | |
119 | Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl | |
120 | Summary(ru.UTF-8): Статическая библиотека libltdl из libltdl | |
121 | Summary(uk.UTF-8): Статична бібліотека libltdl з libltdl | |
122 | License: LGPL v2+ | |
123 | Group: Development/Libraries | |
124 | Requires: libltdl-devel = %{epoch}:%{version}-%{release} | |
125 | ||
126 | %description -n libltdl-static | |
127 | Static system independent dlopen wrapper for GNU libtool. Install this | |
128 | package if you want to develop for libltdl, but using static | |
129 | components (seldom used). | |
130 | ||
131 | %description -n libltdl-static -l pl.UTF-8 | |
132 | Statyczna biblioteka ogólnych wywołań dlopen. | |
133 | ||
134 | %description -n libltdl-static -l pt_BR.UTF-8 | |
135 | Instale este pacote se você deseja desenvolver para a libltdl, | |
136 | utilizando componentes estáticos (raramente necessário). | |
137 | ||
138 | %description -n libltdl-static -l ru.UTF-8 | |
139 | Это отдельный пакет со статическими библиотеками, которые больше не | |
140 | входят в libltdl. | |
141 | ||
142 | %description -n libltdl-static -l uk.UTF-8 | |
143 | Це окремий пакет зі статичними бібліотеками, що більше не входять до | |
144 | складу libltdl. | |
145 | ||
146 | %prep | |
147 | %setup -q -c -T -a1 | |
148 | lzma -dc %{SOURCE0} | tar xf - -C .. | |
149 | %patch0 -p1 | |
150 | %patch1 -p1 | |
151 | %patch2 -p1 | |
152 | %patch3 -p1 | |
153 | %patch4 -p1 | |
154 | %patch5 -p1 | |
155 | %patch6 -p1 | |
156 | %patch7 -p1 | |
157 | ||
158 | %build | |
159 | %{__aclocal} -I libltdl/m4 | |
160 | %{__autoconf} | |
161 | %{__automake} | |
162 | ||
163 | cd libltdl | |
164 | %{__aclocal} -I m4 | |
165 | %{__autoconf} | |
166 | %{__automake} | |
167 | cd .. | |
168 | ||
169 | %configure | |
170 | ||
171 | %{__make} | |
172 | ||
173 | %install | |
174 | rm -rf $RPM_BUILD_ROOT | |
175 | install -d $RPM_BUILD_ROOT%{_mandir} | |
176 | ||
177 | %{__make} install \ | |
178 | DESTDIR=$RPM_BUILD_ROOT | |
179 | ||
180 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} | |
181 | ||
182 | rm -f $RPM_BUILD_ROOT%{_infodir}/dir | |
183 | rm $RPM_BUILD_ROOT%{_mandir}/README.libtool-man-pages | |
184 | ||
185 | %clean | |
186 | rm -rf $RPM_BUILD_ROOT | |
187 | ||
188 | %post -p /sbin/postshell | |
189 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
190 | ||
191 | %postun -p /sbin/postshell | |
192 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
193 | ||
194 | %post -n libltdl -p /sbin/ldconfig | |
195 | %postun -n libltdl -p /sbin/ldconfig | |
196 | ||
197 | %files | |
198 | %defattr(644,root,root,755) | |
199 | %doc AUTHORS NEWS README THANKS TODO ChangeLog | |
200 | %attr(755,root,root) %{_bindir}/libtool | |
201 | %attr(755,root,root) %{_bindir}/libtoolize | |
202 | %dir %{_datadir}/libtool | |
203 | %dir %{_datadir}/libtool/config | |
204 | %attr(755,root,root) %{_datadir}/libtool/config/compile | |
205 | %attr(755,root,root) %{_datadir}/libtool/config/config.guess | |
206 | %attr(755,root,root) %{_datadir}/libtool/config/config.sub | |
207 | %attr(755,root,root) %{_datadir}/libtool/config/depcomp | |
208 | %attr(755,root,root) %{_datadir}/libtool/config/install-sh | |
209 | %attr(755,root,root) %{_datadir}/libtool/config/ltmain.sh | |
210 | %attr(755,root,root) %{_datadir}/libtool/config/missing | |
211 | # libltdl copy for libtoolize --ltdl | |
212 | %dir %{_datadir}/libtool/libltdl | |
213 | %{_datadir}/libtool/libltdl/[!c]* | |
214 | %{_datadir}/libtool/libltdl/config-h.in | |
215 | %attr(755,root,root) %{_datadir}/libtool/libltdl/configure | |
216 | %{_datadir}/libtool/libltdl/configure.ac | |
217 | %{_mandir}/man1/libtool.1* | |
218 | %{_mandir}/man1/libtoolize.1* | |
219 | %lang(ja) %{_mandir}/ja/man1/libtool.1* | |
220 | %lang(ja) %{_mandir}/ja/man1/libtoolize.1* | |
221 | %{_infodir}/libtool.info* | |
222 | %{_aclocaldir}/libtool.m4 | |
223 | %{_aclocaldir}/ltoptions.m4 | |
224 | %{_aclocaldir}/ltsugar.m4 | |
225 | %{_aclocaldir}/ltversion.m4 | |
226 | %{_aclocaldir}/lt~obsolete.m4 | |
227 | ||
228 | %files -n libltdl | |
229 | %defattr(644,root,root,755) | |
230 | %attr(755,root,root) %{_libdir}/libltdl.so.*.*.* | |
231 | %attr(755,root,root) %ghost %{_libdir}/libltdl.so.7 | |
232 | ||
233 | %files -n libltdl-devel | |
234 | %defattr(644,root,root,755) | |
235 | %attr(755,root,root) %{_libdir}/libltdl.so | |
236 | %{_libdir}/libltdl.la | |
237 | %{_includedir}/libltdl | |
238 | %{_includedir}/ltdl.h | |
239 | %{_aclocaldir}/argz.m4 | |
240 | %{_aclocaldir}/ltdl.m4 | |
241 | ||
242 | %files -n libltdl-static | |
243 | %defattr(644,root,root,755) | |
244 | %{_libdir}/libltdl.a |