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 URL: http://www.gnu.org/software/libtool/
28 BuildRequires: /usr/bin/which
29 BuildRequires: autoconf >= 2.62
30 BuildRequires: automake >= 1:1.11.1
31 BuildRequires: help2man
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 Це окремий пакет зі статичними бібліотеками, що більше не входять до
162 %{__aclocal} -I ../m4
167 # Change in configure itself, so it will affect packaged %{_bindir}/libtool
168 # script, not local libtools generated during packages building:
169 # libtool packaged as /bin/sh script for general use should work with any
170 # POSIX sh, not just the ones having extensions (like "+=" operator) that
171 # shell used to build libtool package had.
172 %{__sed} -i 's/lt_shell_append=yes/lt_shell_append=no/' configure
174 --disable-silent-rules
178 %{?with_tests:%{__make} check GCJ= %{!?with_tests_expensive:TESTSUITEFLAGS='-k "!expensive"'}}
181 rm -rf $RPM_BUILD_ROOT
182 install -d $RPM_BUILD_ROOT%{_mandir}
185 DESTDIR=$RPM_BUILD_ROOT
187 # decompress only "ja" manuals; English ones are back in upstream
188 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} ja
190 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
193 rm -rf $RPM_BUILD_ROOT
195 %post -p /sbin/postshell
196 -/usr/sbin/fix-info-dir -c %{_infodir}
198 %postun -p /sbin/postshell
199 -/usr/sbin/fix-info-dir -c %{_infodir}
201 %post -n libltdl -p /sbin/ldconfig
202 %postun -n libltdl -p /sbin/ldconfig
205 %defattr(644,root,root,755)
206 %doc AUTHORS NEWS README THANKS TODO ChangeLog
207 %attr(755,root,root) %{_bindir}/libtool
208 %attr(755,root,root) %{_bindir}/libtoolize
209 %dir %{_datadir}/libtool
210 # libltdl copy for libtoolize --ltdl
211 %dir %{_datadir}/libtool/build-aux
212 %attr(755,root,root) %{_datadir}/libtool/build-aux/compile
213 %attr(755,root,root) %{_datadir}/libtool/build-aux/config.guess
214 %attr(755,root,root) %{_datadir}/libtool/build-aux/config.sub
215 %attr(755,root,root) %{_datadir}/libtool/build-aux/depcomp
216 %attr(755,root,root) %{_datadir}/libtool/build-aux/install-sh
217 %attr(755,root,root) %{_datadir}/libtool/build-aux/ltmain.sh
218 %attr(755,root,root) %{_datadir}/libtool/build-aux/missing
219 %{_datadir}/libtool/COPYING.LIB
220 %{_datadir}/libtool/README
221 %{_datadir}/libtool/Makefile*
222 %{_datadir}/libtool/aclocal.m4
223 %{_datadir}/libtool/config-h.in
224 %attr(755,root,root) %{_datadir}/libtool/configure
225 %{_datadir}/libtool/configure.ac
226 %{_datadir}/libtool/lt*.c
227 %{_datadir}/libtool/ltdl.h
228 %{_datadir}/libtool/ltdl.mk
229 %{_datadir}/libtool/slist.c
230 %{_datadir}/libtool/libltdl
231 %{_datadir}/libtool/loaders
232 %{_mandir}/man1/libtool.1*
233 %{_mandir}/man1/libtoolize.1*
234 %lang(ja) %{_mandir}/ja/man1/libtool.1*
235 %lang(ja) %{_mandir}/ja/man1/libtoolize.1*
236 %{_infodir}/libtool.info*
237 %{_aclocaldir}/libtool.m4
238 %{_aclocaldir}/ltoptions.m4
239 %{_aclocaldir}/ltsugar.m4
240 %{_aclocaldir}/ltversion.m4
241 %{_aclocaldir}/lt~obsolete.m4
244 %defattr(644,root,root,755)
245 %attr(755,root,root) %{_libdir}/libltdl.so.*.*.*
246 %attr(755,root,root) %ghost %{_libdir}/libltdl.so.7
248 %files -n libltdl-devel
249 %defattr(644,root,root,755)
250 %attr(755,root,root) %{_libdir}/libltdl.so
251 %{_libdir}/libltdl.la
252 %{_includedir}/libltdl
253 %{_aclocaldir}/ltargz.m4
254 %{_includedir}/ltdl.h
255 %{_aclocaldir}/ltdl.m4
257 %files -n libltdl-static
258 %defattr(644,root,root,755)