]>
Commit | Line | Data |
---|---|---|
5dccf867 | 1 | Summary: Old versions of GNU C++ library |
77bc18aa | 2 | Summary(pl.UTF-8): Stare wersje bibliotek GNU C++ |
5dccf867 | 3 | Name: compat-libstdc++ |
f2c8892a | 4 | Version: 4.6 |
ebb48ff2 | 5 | Release: 2 |
5dccf867 JB |
6 | License: GPL |
7 | Group: Libraries | |
f2c8892a PS |
8 | Source0: libstdc++-compat-%{version}.tar.bz2 |
9 | # Source0-md5: 6fd4b43281ced8c3511a10957b3a3f38 | |
1a809c94 | 10 | BuildRequires: /sbin/ldconfig |
0af1ca32 JB |
11 | BuildRequires: rpmbuild(macros) >= 1.213 |
12 | ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc | |
5dccf867 JB |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
842567f6 | 15 | %define no_install_post_check_so 1 |
3088f1dc | 16 | %define _enable_debug_packages 0 |
842567f6 | 17 | |
5dccf867 JB |
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 | ||
8f00ec0a | 23 | %description -l de.UTF-8 |
5dccf867 | 24 | Dies ist die GNU-Implementierung der Standard-C++-Libraries mit |
8f00ec0a | 25 | weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von |
5dccf867 JB |
26 | C++-Anwendungen erforderlichen gemeinsam genutzten Libraries. |
27 | ||
8f00ec0a JR |
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++. | |
5dccf867 | 32 | |
8f00ec0a JR |
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++. | |
5dccf867 | 37 | |
8f00ec0a JR |
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. | |
5dccf867 JB |
41 | |
42 | %package -n compat-libg++-2.7 | |
43 | Summary: Old version of GNU C++ library - libg++ 2.7.x | |
77bc18aa | 44 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - libg++ 2.7.x |
5dccf867 JB |
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 | ||
8f00ec0a | 55 | %description -n compat-libg++-2.7 -l pl.UTF-8 |
5dccf867 | 56 | Stara wersja biblioteki GNU C++ - libg++ 2.7.x (z gcc 2.7.x) potrzebna |
8f00ec0a | 57 | dla kompatybilności z niektórymi starymi programami w C++. |
5dccf867 JB |
58 | |
59 | %package 2.7 | |
60 | Summary: Old version of GNU C++ library - 2.7.x | |
77bc18aa | 61 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.7.x |
5dccf867 JB |
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 | ||
8f00ec0a | 71 | %description 2.7 -l pl.UTF-8 |
5dccf867 | 72 | Stara wersja biblioteki GNU C++ - libstdc++ 2.7.x (z gcc 2.7.x) |
8f00ec0a | 73 | potrzebna dla kompatybilności z niektórymi starymi programami w C++. |
5dccf867 JB |
74 | |
75 | %package 2.8 | |
76 | Summary: Old version of GNU C++ library - 2.8 | |
77bc18aa | 77 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.8 |
5dccf867 JB |
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 | ||
8f00ec0a | 90 | %description 2.8 -l pl.UTF-8 |
5dccf867 | 91 | Stara wersja biblioteki GNU C++ - libstdc++ 2.8.0 (z gcc 2.8.x) |
8f00ec0a | 92 | potrzebna dla kompatybilności z niektórymi starymi programami w C++. |
5dccf867 JB |
93 | |
94 | %package 2.9 | |
95 | Summary: Old version of GNU C++ library - 2.9 | |
77bc18aa | 96 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.9 |
5dccf867 JB |
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 | ||
8f00ec0a | 106 | %description 2.9 -l pl.UTF-8 |
5dccf867 | 107 | Stara wersja biblioteki GNU C++ - libstdc++ 2.9.0 (z egcs 1.x-2.9x?) |
8f00ec0a | 108 | potrzebna dla kompatybilności z niektórymi starymi programami w C++. |
5dccf867 JB |
109 | |
110 | %package 2.10 | |
111 | Summary: Old version of GNU C++ library - 2.10 | |
77bc18aa | 112 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.10 |
5dccf867 JB |
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 | ||
8f00ec0a | 125 | %description 2.10 -l pl.UTF-8 |
5dccf867 | 126 | Stara wersja biblioteki GNU C++ - libstdc++ 2.10.0 (z gcc 2.95.x) |
8f00ec0a | 127 | potrzebna dla kompatybilności z niektórymi starymi programami w C++. |
5dccf867 JB |
128 | |
129 | %package 3.0 | |
130 | Summary: Old version of GNU C++ library - gcc 3.0 | |
77bc18aa | 131 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.0 |
5dccf867 JB |
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 | ||
8f00ec0a | 145 | %description 3.0 -l pl.UTF-8 |
5dccf867 | 146 | Stara wersja biblioteki GNU C++ - z gcc 3.0.x, potrzebna dla |
8f00ec0a | 147 | kompatybilności z niektórymi starymi programami w C++. |
5dccf867 JB |
148 | |
149 | %package 3.1 | |
150 | Summary: Old version of GNU C++ library - gcc 3.1 | |
77bc18aa | 151 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.1 |
5dccf867 JB |
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 | ||
8f00ec0a | 161 | %description 3.1 -l pl.UTF-8 |
5dccf867 | 162 | Stara wersja biblioteki GNU C++ - z gcc 3.1.x, potrzebna dla |
8f00ec0a | 163 | kompatybilności z niektórymi starymi programami w C++. |
5dccf867 | 164 | |
b0a7aeb6 PS |
165 | %package 3.3 |
166 | Summary: Old version of GNU C++ library - gcc 3.3 | |
77bc18aa | 167 | Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.3 |
84ab7d86 | 168 | Version: 3.3.6 |
b0a7aeb6 PS |
169 | Group: Libraries |
170 | Conflicts: compat-libstdc++ | |
171 | Conflicts: libstdc++-compat | |
ad3041d9 ER |
172 | %if "%{pld_release}" == "ac" |
173 | Provides: libstdc++ = 5:3.3.6-10 | |
174 | Obsoletes: libstdc++ < 5:3.3.6-10 | |
175 | %endif | |
b0a7aeb6 PS |
176 | |
177 | %description 3.3 | |
84ab7d86 | 178 | Old, compatibility version of GNU C++ library - from gcc 3.3.6, needed |
b0a7aeb6 PS |
179 | to run some old C++ applications. |
180 | ||
8f00ec0a | 181 | %description 3.3 -l pl.UTF-8 |
84ab7d86 | 182 | Stara wersja biblioteki GNU C++ - z gcc 3.3.6, potrzebna dla |
8f00ec0a | 183 | kompatybilności z niektórymi starymi programami w C++. |
b0a7aeb6 | 184 | |
f2c8892a PS |
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 | |
ebb48ff2 JR |
192 | Provides: libstdc++ = 6:4.6.3-5 |
193 | Obsoletes: libstdc++ < 6:4.6.3-5 | |
f2c8892a PS |
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 | ||
5dccf867 JB |
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 | ||
0af1ca32 | 214 | %ifarch %{x8664} |
ba25752b PS |
215 | cp -a amd64/* $RPM_BUILD_ROOT%{_libdir} |
216 | %endif | |
217 | ||
5dccf867 JB |
218 | %ifarch sparc |
219 | cp -a sparc/* $RPM_BUILD_ROOT%{_libdir} | |
220 | %endif | |
221 | ||
222 | %ifarch %{ix86} | |
f2c8892a | 223 | cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir} |
5dccf867 JB |
224 | %endif |
225 | ||
226 | %ifarch ppc | |
227 | cp -a ppc/* $RPM_BUILD_ROOT%{_libdir} | |
228 | %endif | |
229 | ||
fa9d3531 | 230 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} |
231 | ||
5dccf867 JB |
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 | ||
b0a7aeb6 PS |
256 | %post 3.3 -p /sbin/ldconfig |
257 | %postun 3.3 -p /sbin/ldconfig | |
258 | ||
f2c8892a PS |
259 | %post 4.6 -p /sbin/ldconfig |
260 | %postun 4.6 -p /sbin/ldconfig | |
261 | ||
5dccf867 JB |
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 | |
0868112f | 266 | %attr(755,root,root) %ghost %{_libdir}/libg++.so.2.7.2 |
5dccf867 JB |
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 | |
0868112f | 273 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.7.2 |
5dccf867 JB |
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 | |
fa9d3531 | 280 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8 |
5dccf867 JB |
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 | |
fa9d3531 | 290 | %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2 |
5dccf867 JB |
291 | %ifarch alpha sparc |
292 | %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0 | |
ef5cac53 | 293 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9 |
5dccf867 JB |
294 | %endif |
295 | %ifarch %{ix86} | |
296 | %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.dummy | |
0868112f | 297 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9 |
5dccf867 JB |
298 | %endif |
299 | %endif | |
300 | ||
301 | %ifarch %{ix86} ppc | |
302 | %files 2.10 | |
303 | %defattr(644,root,root,755) | |
66d5de7d | 304 | %ifarch %{ix86} |
5dccf867 | 305 | %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so |
fa9d3531 | 306 | %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3 |
1a809c94 | 307 | %endif |
5dccf867 | 308 | %ifarch ppc |
66d5de7d | 309 | %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so |
fa9d3531 | 310 | %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3 |
5dccf867 JB |
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 | |
0868112f | 319 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3 |
5dccf867 JB |
320 | %endif |
321 | %ifarch %{ix86} sparc | |
322 | %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.4 | |
0868112f | 323 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3 |
5dccf867 JB |
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 | |
0868112f | 331 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.4 |
5dccf867 | 332 | %endif |
b0a7aeb6 | 333 | |
0af1ca32 | 334 | %ifarch alpha %{x8664} %{ix86} ppc sparc |
b0a7aeb6 PS |
335 | %files 3.3 |
336 | %defattr(644,root,root,755) | |
ba25752b | 337 | %attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7 |
0868112f | 338 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5 |
b0a7aeb6 | 339 | %endif |
f2c8892a PS |
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 |