3 %bcond_without tests # "make check"
4 %bcond_without tests_expensive # expensive tests
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: 1bfb9b923f2c1339b4d2ce1807064aa5
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}-libx32.patch
28 URL: http://www.gnu.org/software/libtool/
29 BuildRequires: /usr/bin/which
30 BuildRequires: autoconf >= 2.62
31 BuildRequires: automake >= 1:1.11.1
32 BuildRequires: help2man
33 BuildRequires: libstdc++-devel >= 5:3.3.3
34 BuildRequires: rpmbuild(macros) >= 1.213
35 BuildRequires: sed >= 4.0
36 BuildRequires: tar >= 1:1.22
37 BuildRequires: texinfo
45 Obsoletes: libltdl-devel < 2:2.2
46 Conflicts: autoconf < 2.58
47 Conflicts: gettext-devel < 0.17
48 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 GNU libtool is a set of shell scripts to automatically configure UNIX
52 architectures to build shared libraries in generic fashion.
54 %description -l es.UTF-8
55 GNU libtool es un conjunto de scripts shell para configurar
56 automáticamente la creación de bibliotecas compartidas para varias
57 arquitecturas UNIX de una manera genérica.
59 %description -l pl.UTF-8
60 GNU libtool jest zbiorem skryptów shellowych do automatycznego
61 generowania bibliotek współdzielonych niezależnie od typu platformy
64 %description -l pt_BR.UTF-8
65 GNU libtool é um conjunto de scripts shell para configurar
66 automaticamente a geração de bibliotecas compartilhadas para várias
67 arquiteturas UNIX de uma maneira genérica.
69 %description -l ru.UTF-8
70 GNU libtool - это набор скриптов для автоматической генерации
71 динамических разделяемых библиотек на различных архитектурах UNIX.
73 %description -l uk.UTF-8
74 GNU libtool - це набір скриптів для автоматичної генерації динамічних
75 бібліотек на різних архітектурах UNIX.
78 Summary: System independent dlopen wrapper for GNU libtool
79 Summary(pl.UTF-8): Biblioteka ogólnych wywołań dlopen
80 Summary(pt_BR.UTF-8): GNU libltdl, um wrapper dlopen para o GNU libtool
83 Obsoletes: libtool-libs
85 %description -n libltdl
86 System independent dlopen wrapper for GNU libtool.
88 %description -n libltdl -l pl.UTF-8
89 Biblioteka ogólnych wywołań dlopen.
91 %description -n libltdl -l pt_BR.UTF-8
92 GNU libltdl, um wrapper dlopen para o GNU libtool.
94 %package -n libltdl-devel
95 Summary: Development components for libltdl
96 Summary(pl.UTF-8): Część libltdl przeznaczona dla programistów
97 Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl
98 Summary(ru.UTF-8): Файлы для разработки программ с libltdl
99 Summary(uk.UTF-8): Файли для розробки програм з libltdl
101 Group: Development/Libraries
102 Requires: libltdl = %{epoch}:%{version}-%{release}
104 %description -n libltdl-devel
105 System independent dlopen wrapper for GNU libtool - development part.
106 Install this package if you want to develop for libltdl.
108 %description -n libltdl-devel -l pl.UTF-8
109 Biblioteka ogólnych wywołań dlopen - część dla programistów.
111 %description -n libltdl-devel -l pt_BR.UTF-8
112 Instale este pacote se você deseja desenvolver para a libltdl.
114 %description -n libltdl-devel -l uk.UTF-8
115 Файли для розробки програм з libltdl.
117 %description -n libltdl-devel -l ru.UTF-8
118 Файлы для разработки программ с libltdl.
120 %package -n libltdl-static
121 Summary: Static system independent dlopen wrapper for GNU libtool
122 Summary(pl.UTF-8): Statyczna biblioteka ogólnych wywołań dlopen
123 Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl
124 Summary(ru.UTF-8): Статическая библиотека libltdl из libltdl
125 Summary(uk.UTF-8): Статична бібліотека libltdl з libltdl
127 Group: Development/Libraries
128 Requires: libltdl-devel = %{epoch}:%{version}-%{release}
130 %description -n libltdl-static
131 Static system independent dlopen wrapper for GNU libtool. Install this
132 package if you want to develop for libltdl, but using static
133 components (seldom used).
135 %description -n libltdl-static -l pl.UTF-8
136 Statyczna biblioteka ogólnych wywołań dlopen.
138 %description -n libltdl-static -l pt_BR.UTF-8
139 Instale este pacote se você deseja desenvolver para a libltdl,
140 utilizando componentes estáticos (raramente necessário).
142 %description -n libltdl-static -l ru.UTF-8
143 Это отдельный пакет со статическими библиотеками, которые больше не
146 %description -n libltdl-static -l uk.UTF-8
147 Це окремий пакет зі статичними бібліотеками, що більше не входять до
164 %{__aclocal} -I ../m4
169 # Change in configure itself, so it will affect packaged %{_bindir}/libtool
170 # script, not local libtools generated during packages building:
171 # libtool packaged as /bin/sh script for general use should work with any
172 # POSIX sh, not just the ones having extensions (like "+=" operator) that
173 # shell used to build libtool package had.
174 %{__sed} -i 's/lt_shell_append=yes/lt_shell_append=no/' configure
176 --disable-silent-rules
180 %{?with_tests:%{__make} check GCJ= %{!?with_tests_expensive:TESTSUITEFLAGS='-k "!expensive"'}}
183 rm -rf $RPM_BUILD_ROOT
185 INSTALL="install -p" \
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/config-h.in
225 %attr(755,root,root) %{_datadir}/libtool/configure
226 %{_datadir}/libtool/configure.ac
227 %{_datadir}/libtool/lt*.c
228 %{_datadir}/libtool/ltdl.h
229 %{_datadir}/libtool/ltdl.mk
230 %{_datadir}/libtool/slist.c
231 %{_datadir}/libtool/libltdl
232 %{_datadir}/libtool/loaders
233 %{_mandir}/man1/libtool.1*
234 %{_mandir}/man1/libtoolize.1*
235 %lang(ja) %{_mandir}/ja/man1/libtool.1*
236 %lang(ja) %{_mandir}/ja/man1/libtoolize.1*
237 %{_infodir}/libtool.info*
238 %{_aclocaldir}/libtool.m4
239 %{_aclocaldir}/ltoptions.m4
240 %{_aclocaldir}/ltsugar.m4
241 %{_aclocaldir}/ltversion.m4
242 %{_aclocaldir}/lt~obsolete.m4
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_libdir}/libltdl.so.*.*.*
247 %attr(755,root,root) %ghost %{_libdir}/libltdl.so.7
249 %files -n libltdl-devel
250 %defattr(644,root,root,755)
251 %attr(755,root,root) %{_libdir}/libltdl.so
252 %{_libdir}/libltdl.la
253 %{_includedir}/libltdl
254 %{_aclocaldir}/ltargz.m4
255 %{_includedir}/ltdl.h
256 %{_aclocaldir}/ltdl.m4
258 %files -n libltdl-static
259 %defattr(644,root,root,755)