4 %bcond_without tests_expensive
6 Summary: GNU libtool, a shared library generation tool
7 Summary(es.UTF-8): GNU libtool, una herramienta de creación de bibliotecas compartidas
8 Summary(pl.UTF-8): GNU libtool - narzędzie do generowania bibliotek współdzielonych
9 Summary(pt_BR.UTF-8): GNU libtool, uma ferramenta de geração de bibliotecas compartilhadas
10 Summary(ru.UTF-8): GNU libtool, набор утилит для генерации разделяемых библиотек
11 Summary(uk.UTF-8): GNU libtool, набір утиліт для генерації динамічних бібліотек
17 Group: Development/Tools
18 Source0: http://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.xz
19 # Source0-md5: b5699a6d58f5594cdb0992c5e1f5e57e
20 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-man-pages.tar.bz2
21 # Source1-md5: b95e215961860c66f0868b0d551358c9
22 Patch0: %{name}-info.patch
23 Patch1: %{name}-libdirs.patch
24 Patch2: %{name}-multilib.patch
25 Patch3: %{name}-linking-order.patch
26 Patch4: %{name}-fuse-ld.patch
27 Patch5: %{name}-tests.patch
28 URL: http://www.gnu.org/software/libtool/
29 BuildRequires: /usr/bin/which
30 BuildRequires: autoconf >= 2.59
31 BuildRequires: automake >= 1:1.11.1
32 BuildRequires: libstdc++-devel >= 5:3.3.3
33 BuildRequires: rpmbuild(macros) >= 1.213
34 BuildRequires: sed >= 4.0
35 BuildRequires: tar >= 1:1.22
36 BuildRequires: texinfo
44 Obsoletes: libltdl-devel < 2:2.2
45 Conflicts: autoconf < 2.58
46 Conflicts: gettext-devel < 0.17
47 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
50 GNU libtool is a set of shell scripts to automatically configure UNIX
51 architectures to build shared libraries in generic fashion.
53 %description -l es.UTF-8
54 GNU libtool es un conjunto de scripts shell para configurar
55 automáticamente la creación de bibliotecas compartidas para varias
56 arquitecturas UNIX de una manera genérica.
58 %description -l pl.UTF-8
59 GNU libtool jest zbiorem skryptów shellowych do automatycznego
60 generowania bibliotek współdzielonych niezależnie od typu platformy
63 %description -l pt_BR.UTF-8
64 GNU libtool é um conjunto de scripts shell para configurar
65 automaticamente a geração de bibliotecas compartilhadas para várias
66 arquiteturas UNIX de uma maneira genérica.
68 %description -l ru.UTF-8
69 GNU libtool - это набор скриптов для автоматической генерации
70 динамических разделяемых библиотек на различных архитектурах UNIX.
72 %description -l uk.UTF-8
73 GNU libtool - це набір скриптів для автоматичної генерації динамічних
74 бібліотек на різних архітектурах UNIX.
77 Summary: System independent dlopen wrapper for GNU libtool
78 Summary(pl.UTF-8): Biblioteka ogólnych wywołań dlopen
79 Summary(pt_BR.UTF-8): GNU libltdl, um wrapper dlopen para o GNU libtool
82 Obsoletes: libtool-libs
84 %description -n libltdl
85 System independent dlopen wrapper for GNU libtool.
87 %description -n libltdl -l pl.UTF-8
88 Biblioteka ogólnych wywołań dlopen.
90 %description -n libltdl -l pt_BR.UTF-8
91 GNU libltdl, um wrapper dlopen para o GNU libtool.
93 %package -n libltdl-devel
94 Summary: Development components for libltdl
95 Summary(pl.UTF-8): Część libltdl przeznaczona dla programistów
96 Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl
97 Summary(ru.UTF-8): Файлы для разработки программ с libltdl
98 Summary(uk.UTF-8): Файли для розробки програм з libltdl
100 Group: Development/Libraries
101 Requires: libltdl = %{epoch}:%{version}-%{release}
103 %description -n libltdl-devel
104 System independent dlopen wrapper for GNU libtool - development part.
105 Install this package if you want to develop for libltdl.
107 %description -n libltdl-devel -l pl.UTF-8
108 Biblioteka ogólnych wywołań dlopen - część dla programistów.
110 %description -n libltdl-devel -l pt_BR.UTF-8
111 Instale este pacote se você deseja desenvolver para a libltdl.
113 %description -n libltdl-devel -l uk.UTF-8
114 Файли для розробки програм з libltdl.
116 %description -n libltdl-devel -l ru.UTF-8
117 Файлы для разработки программ с libltdl.
119 %package -n libltdl-static
120 Summary: Static system independent dlopen wrapper for GNU libtool
121 Summary(pl.UTF-8): Statyczna biblioteka ogólnych wywołań dlopen
122 Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl
123 Summary(ru.UTF-8): Статическая библиотека libltdl из libltdl
124 Summary(uk.UTF-8): Статична бібліотека libltdl з libltdl
126 Group: Development/Libraries
127 Requires: libltdl-devel = %{epoch}:%{version}-%{release}
129 %description -n libltdl-static
130 Static system independent dlopen wrapper for GNU libtool. Install this
131 package if you want to develop for libltdl, but using static
132 components (seldom used).
134 %description -n libltdl-static -l pl.UTF-8
135 Statyczna biblioteka ogólnych wywołań dlopen.
137 %description -n libltdl-static -l pt_BR.UTF-8
138 Instale este pacote se você deseja desenvolver para a libltdl,
139 utilizando componentes estáticos (raramente necessário).
141 %description -n libltdl-static -l ru.UTF-8
142 Это отдельный пакет со статическими библиотеками, которые больше не
145 %description -n libltdl-static -l uk.UTF-8
146 Це окремий пакет зі статичними бібліотеками, що більше не входять до
163 %{__aclocal} -I ../m4
168 # Change in configure itself, so it will affect packaged %{_bindir}/libtool
169 # script, not local libtools generated during packages building:
170 # libtool packaged as /bin/sh script for general use should work with any
171 # POSIX sh, not just the ones having extensions (like "+=" operator) that
172 # shell used to build libtool package had.
173 %{__sed} -i 's/lt_shell_append=yes/lt_shell_append=no/' configure
175 --disable-silent-rules
179 %{?with_tests:%{__make} check %{!?with_tests_expensive:TESTSUITEFLAGS='-k "!expensive"'}}
182 rm -rf $RPM_BUILD_ROOT
183 install -d $RPM_BUILD_ROOT%{_mandir}
186 DESTDIR=$RPM_BUILD_ROOT
188 # decompress only "ja" manuals; English ones are back in upstream
189 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} ja
191 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
194 rm -rf $RPM_BUILD_ROOT
196 %post -p /sbin/postshell
197 -/usr/sbin/fix-info-dir -c %{_infodir}
199 %postun -p /sbin/postshell
200 -/usr/sbin/fix-info-dir -c %{_infodir}
202 %post -n libltdl -p /sbin/ldconfig
203 %postun -n libltdl -p /sbin/ldconfig
206 %defattr(644,root,root,755)
207 %doc AUTHORS NEWS README THANKS TODO ChangeLog
208 %attr(755,root,root) %{_bindir}/libtool
209 %attr(755,root,root) %{_bindir}/libtoolize
210 %dir %{_datadir}/libtool
211 # libltdl copy for libtoolize --ltdl
212 %dir %{_datadir}/libtool/build-aux
213 %attr(755,root,root) %{_datadir}/libtool/build-aux/compile
214 %attr(755,root,root) %{_datadir}/libtool/build-aux/config.guess
215 %attr(755,root,root) %{_datadir}/libtool/build-aux/config.sub
216 %attr(755,root,root) %{_datadir}/libtool/build-aux/depcomp
217 %attr(755,root,root) %{_datadir}/libtool/build-aux/install-sh
218 %attr(755,root,root) %{_datadir}/libtool/build-aux/ltmain.sh
219 %attr(755,root,root) %{_datadir}/libtool/build-aux/missing
220 %{_datadir}/libtool/COPYING.LIB
221 %{_datadir}/libtool/README
222 %{_datadir}/libtool/Makefile*
223 %{_datadir}/libtool/aclocal.m4
224 %{_datadir}/libtool/argz.c
225 %{_datadir}/libtool/argz_.h
226 %{_datadir}/libtool/config-h.in
227 %attr(755,root,root) %{_datadir}/libtool/configure
228 %{_datadir}/libtool/configure.ac
229 %{_datadir}/libtool/lt*.c
230 %{_datadir}/libtool/ltdl.h
231 %{_datadir}/libtool/ltdl.mk
232 %{_datadir}/libtool/slist.c
233 %{_datadir}/libtool/libltdl
234 %{_datadir}/libtool/loaders
235 %{_mandir}/man1/libtool.1*
236 %{_mandir}/man1/libtoolize.1*
237 %lang(ja) %{_mandir}/ja/man1/libtool.1*
238 %lang(ja) %{_mandir}/ja/man1/libtoolize.1*
239 %{_infodir}/libtool.info*
240 %{_aclocaldir}/libtool.m4
241 %{_aclocaldir}/ltoptions.m4
242 %{_aclocaldir}/ltsugar.m4
243 %{_aclocaldir}/ltversion.m4
244 %{_aclocaldir}/lt~obsolete.m4
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_libdir}/libltdl.so.*.*.*
249 %attr(755,root,root) %ghost %{_libdir}/libltdl.so.7
251 %files -n libltdl-devel
252 %defattr(644,root,root,755)
253 %attr(755,root,root) %{_libdir}/libltdl.so
254 %{_libdir}/libltdl.la
255 %{_includedir}/libltdl
256 %{_includedir}/ltdl.h
257 %{_aclocaldir}/argz.m4
258 %{_aclocaldir}/ltdl.m4
260 %files -n libltdl-static
261 %defattr(644,root,root,755)