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, набір утиліт для генерації динамічних бібліотек
12 Group: Development/Tools
13 Source0: http://ftp.gnu.org/gnu/libtool/%{name}-%{version}.tar.xz
14 # Source0-md5: 2ec8997e0c07249eb4cbd072417d70fe
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 URL: http://www.gnu.org/software/libtool/
23 BuildRequires: /usr/bin/which
24 BuildRequires: autoconf >= 2.59
25 BuildRequires: automake >= 1:1.11.1
26 BuildRequires: libstdc++-devel >= 5:3.3.3
27 BuildRequires: rpmbuild(macros) >= 1.213
28 BuildRequires: sed >= 4.0
29 BuildRequires: tar >= 1:1.22
30 BuildRequires: texinfo
38 Obsoletes: libltdl-devel < 2:2.2
39 Conflicts: autoconf < 2.58
40 Conflicts: gettext-devel < 0.17
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 GNU libtool is a set of shell scripts to automatically configure UNIX
45 architectures to build shared libraries in generic fashion.
47 %description -l es.UTF-8
48 GNU libtool es un conjunto de scripts shell para configurar
49 automáticamente la creación de bibliotecas compartidas para varias
50 arquitecturas UNIX de una manera genérica.
52 %description -l pl.UTF-8
53 GNU libtool jest zbiorem skryptów shellowych do automatycznego
54 generowania bibliotek współdzielonych niezależnie od typu platformy
57 %description -l pt_BR.UTF-8
58 GNU libtool é um conjunto de scripts shell para configurar
59 automaticamente a geração de bibliotecas compartilhadas para várias
60 arquiteturas UNIX de uma maneira genérica.
62 %description -l ru.UTF-8
63 GNU libtool - это набор скриптов для автоматической генерации
64 динамических разделяемых библиотек на различных архитектурах UNIX.
66 %description -l uk.UTF-8
67 GNU libtool - це набір скриптів для автоматичної генерації динамічних
68 бібліотек на різних архітектурах UNIX.
71 Summary: System independent dlopen wrapper for GNU libtool
72 Summary(pl.UTF-8): Biblioteka ogólnych wywołań dlopen
73 Summary(pt_BR.UTF-8): GNU libltdl, um wrapper dlopen para o GNU libtool
76 Obsoletes: libtool-libs
78 %description -n libltdl
79 System independent dlopen wrapper for GNU libtool.
81 %description -n libltdl -l pl.UTF-8
82 Biblioteka ogólnych wywołań dlopen.
84 %description -n libltdl -l pt_BR.UTF-8
85 GNU libltdl, um wrapper dlopen para o GNU libtool.
87 %package -n libltdl-devel
88 Summary: Development components for libltdl
89 Summary(pl.UTF-8): Część libltdl przeznaczona dla programistów
90 Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl
91 Summary(ru.UTF-8): Файлы для разработки программ с libltdl
92 Summary(uk.UTF-8): Файли для розробки програм з libltdl
94 Group: Development/Libraries
95 Requires: libltdl = %{epoch}:%{version}-%{release}
97 %description -n libltdl-devel
98 System independent dlopen wrapper for GNU libtool - development part.
99 Install this package if you want to develop for libltdl.
101 %description -n libltdl-devel -l pl.UTF-8
102 Biblioteka ogólnych wywołań dlopen - część dla programistów.
104 %description -n libltdl-devel -l pt_BR.UTF-8
105 Instale este pacote se você deseja desenvolver para a libltdl.
107 %description -n libltdl-devel -l uk.UTF-8
108 Файли для розробки програм з libltdl.
110 %description -n libltdl-devel -l ru.UTF-8
111 Файлы для разработки программ с libltdl.
113 %package -n libltdl-static
114 Summary: Static system independent dlopen wrapper for GNU libtool
115 Summary(pl.UTF-8): Statyczna biblioteka ogólnych wywołań dlopen
116 Summary(pt_BR.UTF-8): Componentes de desenvolvimento para a libltdl
117 Summary(ru.UTF-8): Статическая библиотека libltdl из libltdl
118 Summary(uk.UTF-8): Статична бібліотека libltdl з libltdl
120 Group: Development/Libraries
121 Requires: libltdl-devel = %{epoch}:%{version}-%{release}
123 %description -n libltdl-static
124 Static system independent dlopen wrapper for GNU libtool. Install this
125 package if you want to develop for libltdl, but using static
126 components (seldom used).
128 %description -n libltdl-static -l pl.UTF-8
129 Statyczna biblioteka ogólnych wywołań dlopen.
131 %description -n libltdl-static -l pt_BR.UTF-8
132 Instale este pacote se você deseja desenvolver para a libltdl,
133 utilizando componentes estáticos (raramente necessário).
135 %description -n libltdl-static -l ru.UTF-8
136 Это отдельный пакет со статическими библиотеками, которые больше не
139 %description -n libltdl-static -l uk.UTF-8
140 Це окремий пакет зі статичними бібліотеками, що більше не входять до
152 %{__aclocal} -I libltdl/m4
162 # Change in configure itself, so it will affect packaged %{_bindir}/libtool
163 # script, not local libtools generated during packages building:
164 # libtool packaged as /bin/sh script for general use should work with any
165 # POSIX sh, not just the ones having extensions (like "+=" operator) that
166 # shell used to build libtool package had.
167 %{__sed} -i 's/lt_shell_append=yes/lt_shell_append=no/' configure
173 rm -rf $RPM_BUILD_ROOT
174 install -d $RPM_BUILD_ROOT%{_mandir}
177 DESTDIR=$RPM_BUILD_ROOT
179 # decompress only "ja" manuals; English ones are back in upstream
180 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} ja
182 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
185 rm -rf $RPM_BUILD_ROOT
187 %post -p /sbin/postshell
188 -/usr/sbin/fix-info-dir -c %{_infodir}
190 %postun -p /sbin/postshell
191 -/usr/sbin/fix-info-dir -c %{_infodir}
193 %post -n libltdl -p /sbin/ldconfig
194 %postun -n libltdl -p /sbin/ldconfig
197 %defattr(644,root,root,755)
198 %doc AUTHORS NEWS README THANKS TODO ChangeLog
199 %attr(755,root,root) %{_bindir}/libtool
200 %attr(755,root,root) %{_bindir}/libtoolize
201 %dir %{_datadir}/libtool
202 %dir %{_datadir}/libtool/config
203 %attr(755,root,root) %{_datadir}/libtool/config/compile
204 %attr(755,root,root) %{_datadir}/libtool/config/config.guess
205 %attr(755,root,root) %{_datadir}/libtool/config/config.sub
206 %attr(755,root,root) %{_datadir}/libtool/config/depcomp
207 %attr(755,root,root) %{_datadir}/libtool/config/install-sh
208 %attr(755,root,root) %{_datadir}/libtool/config/ltmain.sh
209 %attr(755,root,root) %{_datadir}/libtool/config/missing
210 # libltdl copy for libtoolize --ltdl
211 %dir %{_datadir}/libtool/libltdl
212 %{_datadir}/libtool/libltdl/[!c]*
213 %{_datadir}/libtool/libltdl/config-h.in
214 %attr(755,root,root) %{_datadir}/libtool/libltdl/configure
215 %{_datadir}/libtool/libltdl/configure.ac
216 %{_mandir}/man1/libtool.1*
217 %{_mandir}/man1/libtoolize.1*
218 %lang(ja) %{_mandir}/ja/man1/libtool.1*
219 %lang(ja) %{_mandir}/ja/man1/libtoolize.1*
220 %{_infodir}/libtool.info*
221 %{_aclocaldir}/libtool.m4
222 %{_aclocaldir}/ltoptions.m4
223 %{_aclocaldir}/ltsugar.m4
224 %{_aclocaldir}/ltversion.m4
225 %{_aclocaldir}/lt~obsolete.m4
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/libltdl.so.*.*.*
230 %attr(755,root,root) %ghost %{_libdir}/libltdl.so.7
232 %files -n libltdl-devel
233 %defattr(644,root,root,755)
234 %attr(755,root,root) %{_libdir}/libltdl.so
235 %{_libdir}/libltdl.la
236 %{_includedir}/libltdl
237 %{_includedir}/ltdl.h
238 %{_aclocaldir}/argz.m4
239 %{_aclocaldir}/ltdl.m4
241 %files -n libltdl-static
242 %defattr(644,root,root,755)