]> git.pld-linux.org Git - packages/libtool.git/blob - libtool.spec
- release 8 (by relup.sh)
[packages/libtool.git] / libtool.spec
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.4.2
9 Release:        8
10 Epoch:          2
11 License:        GPL v2+
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
31 BuildRequires:  xz
32 %requires_eq    gcc
33 Requires:       coreutils
34 Requires:       grep
35 Requires:       mktemp
36 Requires:       sed
37 Requires:       tar
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)
42
43 %description
44 GNU libtool is a set of shell scripts to automatically configure UNIX
45 architectures to build shared libraries in generic fashion.
46
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.
51
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
55 systemowej.
56
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.
61
62 %description -l ru.UTF-8
63 GNU libtool - это набор скриптов для автоматической генерации
64 динамических разделяемых библиотек на различных архитектурах UNIX.
65
66 %description -l uk.UTF-8
67 GNU libtool - це набір скриптів для автоматичної генерації динамічних
68 бібліотек на різних архітектурах UNIX.
69
70 %package -n libltdl
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
74 License:        LGPL v2+
75 Group:          Libraries
76 Obsoletes:      libtool-libs
77
78 %description -n libltdl
79 System independent dlopen wrapper for GNU libtool.
80
81 %description -n libltdl -l pl.UTF-8
82 Biblioteka ogólnych wywołań dlopen.
83
84 %description -n libltdl -l pt_BR.UTF-8
85 GNU libltdl, um wrapper dlopen para o GNU libtool.
86
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
93 License:        LGPL v2+
94 Group:          Development/Libraries
95 Requires:       libltdl = %{epoch}:%{version}-%{release}
96
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.
100
101 %description -n libltdl-devel -l pl.UTF-8
102 Biblioteka ogólnych wywołań dlopen - część dla programistów.
103
104 %description -n libltdl-devel -l pt_BR.UTF-8
105 Instale este pacote se você deseja desenvolver para a libltdl.
106
107 %description -n libltdl-devel -l uk.UTF-8
108 Файли для розробки програм з libltdl.
109
110 %description -n libltdl-devel -l ru.UTF-8
111 Файлы для разработки программ с libltdl.
112
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
119 License:        LGPL v2+
120 Group:          Development/Libraries
121 Requires:       libltdl-devel = %{epoch}:%{version}-%{release}
122
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).
127
128 %description -n libltdl-static -l pl.UTF-8
129 Statyczna biblioteka ogólnych wywołań dlopen.
130
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).
134
135 %description -n libltdl-static -l ru.UTF-8
136 Это отдельный пакет со статическими библиотеками, которые больше не
137 входят в libltdl.
138
139 %description -n libltdl-static -l uk.UTF-8
140 Це окремий пакет зі статичними бібліотеками, що більше не входять до
141 складу libltdl.
142
143 %prep
144 %setup -q
145 %patch0 -p1
146 %patch1 -p1
147 %patch2 -p1
148 %patch3 -p1
149 %patch4 -p1
150
151 %build
152 %{__aclocal} -I libltdl/m4
153 %{__autoconf}
154 %{__automake}
155
156 cd libltdl
157 %{__aclocal} -I m4
158 %{__autoconf}
159 %{__automake}
160 cd ..
161
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
168 %configure
169
170 %{__make}
171
172 %install
173 rm -rf $RPM_BUILD_ROOT
174 install -d $RPM_BUILD_ROOT%{_mandir}
175
176 %{__make} install \
177         DESTDIR=$RPM_BUILD_ROOT
178
179 # decompress only "ja" manuals; English ones are back in upstream
180 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} ja
181
182 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
183
184 %clean
185 rm -rf $RPM_BUILD_ROOT
186
187 %post   -p /sbin/postshell
188 -/usr/sbin/fix-info-dir -c %{_infodir}
189
190 %postun -p /sbin/postshell
191 -/usr/sbin/fix-info-dir -c %{_infodir}
192
193 %post   -n libltdl -p /sbin/ldconfig
194 %postun -n libltdl -p /sbin/ldconfig
195
196 %files
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
226
227 %files -n libltdl
228 %defattr(644,root,root,755)
229 %attr(755,root,root) %{_libdir}/libltdl.so.*.*.*
230 %attr(755,root,root) %ghost %{_libdir}/libltdl.so.7
231
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
240
241 %files -n libltdl-static
242 %defattr(644,root,root,755)
243 %{_libdir}/libltdl.a
This page took 0.073337 seconds and 4 git commands to generate.