]> git.pld-linux.org Git - packages/compat-libstdc++.git/blob - compat-libstdc++.spec
- rel 2
[packages/compat-libstdc++.git] / compat-libstdc++.spec
1 Summary:        Old versions of GNU C++ library
2 Summary(pl.UTF-8):      Stare wersje bibliotek GNU C++
3 Name:           compat-libstdc++
4 Version:        4.6
5 Release:        2
6 License:        GPL
7 Group:          Libraries
8 Source0:        libstdc++-compat-%{version}.tar.bz2
9 # Source0-md5:  6fd4b43281ced8c3511a10957b3a3f38
10 BuildRequires:  /sbin/ldconfig
11 BuildRequires:  rpmbuild(macros) >= 1.213
12 ExclusiveArch:  %{x8664} %{ix86} alpha ppc sparc
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         no_install_post_check_so        1
16 %define         _enable_debug_packages  0
17
18 %description
19 This is the GNU implementation of the standard C++ libraries, along
20 with additional GNU tools. This package includes the compatibility
21 shared libraries necessary to run some old C++ applications.
22
23 %description -l de.UTF-8
24 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
25 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
26 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
27
28 %description -l fr.UTF-8
29 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
30 des outils GNU supplémentaires. Ce package comprend les librairies
31 partagées nécessaires à l'exécution d'application C++.
32
33 %description -l pl.UTF-8
34 Pakiet ten zawiera biblioteki będące implementacją standardowych
35 bibliotek C++, znajdują się w nim stare biblioteki dynamiczne
36 niezbędne do uruchomienia niektórych starych aplikacji C++.
37
38 %description -l tr.UTF-8
39 Bu paket, standart C++ kitaplıklarının GNU gerçeklemesidir ve C++
40 uygulamalarının koşturulması için gerekli kitaplıkları içerir.
41
42 %package -n compat-libg++-2.7
43 Summary:        Old version of GNU C++ library - libg++ 2.7.x
44 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - libg++ 2.7.x
45 Version:        2.7.2.8
46 Group:          Libraries
47 Obsoletes:      libg++
48 Conflicts:      compat-libstdc++
49 Conflicts:      libstdc++-compat
50
51 %description -n compat-libg++-2.7
52 Old, compatibility version of GNU C++ library - libg++ 2.7.x (from gcc
53 2.7.x), needed to run some old C++ applications.
54
55 %description -n compat-libg++-2.7 -l pl.UTF-8
56 Stara wersja biblioteki GNU C++ - libg++ 2.7.x (z gcc 2.7.x) potrzebna
57 dla kompatybilności z niektórymi starymi programami w C++.
58
59 %package 2.7
60 Summary:        Old version of GNU C++ library - 2.7.x
61 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.7.x
62 Version:        2.7.2.8
63 Group:          Libraries
64 Conflicts:      compat-libstdc++
65 Conflicts:      libstdc++-compat
66
67 %description 2.7
68 Old, compatibility version of GNU C++ library - libstdc++ 2.7.x (from
69 gcc 2.7.x), needed to run some old C++ applications.
70
71 %description 2.7 -l pl.UTF-8
72 Stara wersja biblioteki GNU C++ - libstdc++ 2.7.x (z gcc 2.7.x)
73 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
74
75 %package 2.8
76 Summary:        Old version of GNU C++ library - 2.8
77 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.8
78 Version:        2.8.0
79 Group:          Libraries
80 %ifarch ppc
81 Provides:       libstdc++.so.27
82 %endif
83 Conflicts:      compat-libstdc++
84 Conflicts:      libstdc++-compat
85
86 %description 2.8
87 Old, compatibility version of GNU C++ library - libstdc++ 2.8.0 (from
88 gcc 2.8.x), needed to run some old C++ applications.
89
90 %description 2.8 -l pl.UTF-8
91 Stara wersja biblioteki GNU C++ - libstdc++ 2.8.0 (z gcc 2.8.x)
92 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
93
94 %package 2.9
95 Summary:        Old version of GNU C++ library - 2.9
96 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.9
97 Version:        2.9.0
98 Group:          Libraries
99 Conflicts:      compat-libstdc++
100 Conflicts:      libstdc++-compat
101
102 %description 2.9
103 Old, compatibility version of GNU C++ library - libstdc++ 2.9.0 (from
104 egcs 1.x-2.9x?), needed to run some old C++ applications.
105
106 %description 2.9 -l pl.UTF-8
107 Stara wersja biblioteki GNU C++ - libstdc++ 2.9.0 (z egcs 1.x-2.9x?)
108 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
109
110 %package 2.10
111 Summary:        Old version of GNU C++ library - 2.10
112 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.10
113 Version:        2.10.0
114 Group:          Libraries
115 %ifarch ppc
116 Provides:       libstdc++-libc6.1-2.so.3
117 %endif
118 Conflicts:      compat-libstdc++
119 Conflicts:      libstdc++-compat
120
121 %description 2.10
122 Old, compatibility version of GNU C++ library - libstdc++ 2.10.0 (from
123 gcc 2.95.x), needed to run some old C++ applications.
124
125 %description 2.10 -l pl.UTF-8
126 Stara wersja biblioteki GNU C++ - libstdc++ 2.10.0 (z gcc 2.95.x)
127 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
128
129 %package 3.0
130 Summary:        Old version of GNU C++ library - gcc 3.0
131 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.0
132 %ifarch alpha
133 Version:        3.0.2
134 %else
135 Version:        3.0.4
136 %endif
137 Group:          Libraries
138 Conflicts:      compat-libstdc++
139 Conflicts:      libstdc++-compat
140
141 %description 3.0
142 Old, compatibility version of GNU C++ library - from gcc 3.0.x, needed
143 to run some old C++ applications.
144
145 %description 3.0 -l pl.UTF-8
146 Stara wersja biblioteki GNU C++ - z gcc 3.0.x, potrzebna dla
147 kompatybilności z niektórymi starymi programami w C++.
148
149 %package 3.1
150 Summary:        Old version of GNU C++ library - gcc 3.1
151 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.1
152 Version:        3.1.1
153 Group:          Libraries
154 Conflicts:      compat-libstdc++
155 Conflicts:      libstdc++-compat
156
157 %description 3.1
158 Old, compatibility version of GNU C++ library - from gcc 3.1.x, needed
159 to run some old C++ applications.
160
161 %description 3.1 -l pl.UTF-8
162 Stara wersja biblioteki GNU C++ - z gcc 3.1.x, potrzebna dla
163 kompatybilności z niektórymi starymi programami w C++.
164
165 %package 3.3
166 Summary:        Old version of GNU C++ library - gcc 3.3
167 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.3
168 Version:        3.3.6
169 Group:          Libraries
170 Conflicts:      compat-libstdc++
171 Conflicts:      libstdc++-compat
172 %if "%{pld_release}" == "ac"
173 Provides:       libstdc++ = 5:3.3.6-10
174 Obsoletes:      libstdc++ < 5:3.3.6-10
175 %endif
176
177 %description 3.3
178 Old, compatibility version of GNU C++ library - from gcc 3.3.6, needed
179 to run some old C++ applications.
180
181 %description 3.3 -l pl.UTF-8
182 Stara wersja biblioteki GNU C++ - z gcc 3.3.6, potrzebna dla
183 kompatybilności z niektórymi starymi programami w C++.
184
185 %package 4.6
186 Summary:        Old version of GNU C++ library - gcc 4.6
187 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 4.6
188 Version:        4.6.3
189 Group:          Libraries
190 Conflicts:      compat-libstdc++
191 Conflicts:      libstdc++-compat
192 Provides:       libstdc++ = 6:4.6.3-5
193 Obsoletes:      libstdc++ < 6:4.6.3-5
194
195 %description 4.6
196 Old, compatibility version of GNU C++ library - from gcc 4.6.3, needed
197 to run some old C++ applications.
198
199 %description 4.6 -l pl.UTF-8
200 Stara wersja biblioteki GNU C++ - z gcc 4.6.3, potrzebna dla
201 kompatybilności z niektórymi starymi programami w C++.
202
203 %prep
204 %setup -q -n libstdc++-compat
205
206 %install
207 rm -rf $RPM_BUILD_ROOT
208 install -d $RPM_BUILD_ROOT%{_libdir}
209
210 %ifarch alpha
211 cp -a alpha/* $RPM_BUILD_ROOT%{_libdir}
212 %endif
213
214 %ifarch %{x8664}
215 cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
216 %endif
217
218 %ifarch sparc
219 cp -a sparc/* $RPM_BUILD_ROOT%{_libdir}
220 %endif
221
222 %ifarch %{ix86}
223 cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir}
224 %endif
225
226 %ifarch ppc
227 cp -a ppc/* $RPM_BUILD_ROOT%{_libdir}
228 %endif
229
230 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
231
232 %clean
233 rm -rf $RPM_BUILD_ROOT
234
235 %post   -n compat-libg++-2.7 -p /sbin/ldconfig
236 %postun -n compat-libg++-2.7 -p /sbin/ldconfig
237
238 %post   2.7 -p /sbin/ldconfig
239 %postun 2.7 -p /sbin/ldconfig
240
241 %post   2.8 -p /sbin/ldconfig
242 %postun 2.8 -p /sbin/ldconfig
243
244 %post   2.9 -p /sbin/ldconfig
245 %postun 2.9 -p /sbin/ldconfig
246
247 %post   2.10 -p /sbin/ldconfig
248 %postun 2.10 -p /sbin/ldconfig
249
250 %post   3.0 -p /sbin/ldconfig
251 %postun 3.0 -p /sbin/ldconfig
252
253 %post   3.1 -p /sbin/ldconfig
254 %postun 3.1 -p /sbin/ldconfig
255
256 %post   3.3 -p /sbin/ldconfig
257 %postun 3.3 -p /sbin/ldconfig
258
259 %post   4.6 -p /sbin/ldconfig
260 %postun 4.6 -p /sbin/ldconfig
261
262 %ifarch alpha %{ix86}
263 %files -n compat-libg++-2.7
264 %defattr(644,root,root,755)
265 %attr(755,root,root) %{_libdir}/libg++.so.2.7.2.8
266 %attr(755,root,root) %ghost %{_libdir}/libg++.so.2.7.2
267 %endif
268
269 %ifarch alpha %{ix86}
270 %files 2.7
271 %defattr(644,root,root,755)
272 %attr(755,root,root) %{_libdir}/libstdc++.so.2.7.2.8
273 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.7.2
274 %endif
275
276 %ifarch alpha %{ix86} ppc sparc
277 %files 2.8
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_libdir}/libstdc++.so.2.8.0
280 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8
281 %ifarch ppc
282 %attr(755,root,root) %{_libdir}/libstdc++.so.27
283 %endif
284 %endif
285
286 %ifarch alpha %{ix86} sparc
287 %files 2.9
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/libstdc++-2-libc6.1-1-2.9.0.so
290 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2
291 %ifarch alpha sparc
292 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0
293 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9
294 %endif
295 %ifarch %{ix86}
296 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.dummy
297 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9
298 %endif
299 %endif
300
301 %ifarch %{ix86} ppc
302 %files 2.10
303 %defattr(644,root,root,755)
304 %ifarch %{ix86}
305 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so
306 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3
307 %endif
308 %ifarch ppc
309 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so
310 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3
311 %endif
312 %endif
313
314 %ifarch alpha %{ix86} sparc
315 %files 3.0
316 %defattr(644,root,root,755)
317 %ifarch alpha
318 %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.2
319 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3
320 %endif
321 %ifarch %{ix86} sparc
322 %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.4
323 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3
324 %endif
325 %endif
326
327 %ifarch %{ix86} ppc
328 %files 3.1
329 %defattr(644,root,root,755)
330 %attr(755,root,root) %{_libdir}/libstdc++.so.4.0.1
331 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.4
332 %endif
333
334 %ifarch alpha %{x8664} %{ix86} ppc sparc
335 %files 3.3
336 %defattr(644,root,root,755)
337 %attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7
338 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5
339 %endif
340
341 %ifarch %{x8664} %{ix86}
342 %files 4.6
343 %defattr(644,root,root,755)
344 %attr(755,root,root) %{_libdir}/libstdc++.so.6.0.16
345 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.6
346 %endif
This page took 0.086847 seconds and 3 git commands to generate.