]>
Commit | Line | Data |
---|---|---|
5dccf867 | 1 | Summary: Old versions of GNU C++ library |
77bc18aa | 2 | Summary(pl.UTF-8): Stare wersje bibliotek GNU C++ |
5dccf867 JB |
3 | Name: compat-libstdc++ |
4 | Version: 3.3 | |
84ab7d86 | 5 | Release: 8 |
5dccf867 JB |
6 | License: GPL |
7 | Group: Libraries | |
84ab7d86 ER |
8 | Source0: http://carme.pld-linux.org/~glen/libstdc++-compat-3.3.6-9.tar.bz2 |
9 | # Source0-md5: 5ff9f6f8250c600c8fc555d5ea1d950f | |
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 | |
172 | ||
173 | %description 3.3 | |
84ab7d86 | 174 | Old, compatibility version of GNU C++ library - from gcc 3.3.6, needed |
b0a7aeb6 PS |
175 | to run some old C++ applications. |
176 | ||
8f00ec0a | 177 | %description 3.3 -l pl.UTF-8 |
84ab7d86 | 178 | Stara wersja biblioteki GNU C++ - z gcc 3.3.6, potrzebna dla |
8f00ec0a | 179 | kompatybilności z niektórymi starymi programami w C++. |
b0a7aeb6 | 180 | |
5dccf867 JB |
181 | %prep |
182 | %setup -q -n libstdc++-compat | |
183 | ||
184 | %install | |
185 | rm -rf $RPM_BUILD_ROOT | |
186 | install -d $RPM_BUILD_ROOT%{_libdir} | |
187 | ||
188 | %ifarch alpha | |
189 | cp -a alpha/* $RPM_BUILD_ROOT%{_libdir} | |
190 | %endif | |
191 | ||
0af1ca32 | 192 | %ifarch %{x8664} |
ba25752b PS |
193 | cp -a amd64/* $RPM_BUILD_ROOT%{_libdir} |
194 | %endif | |
195 | ||
5dccf867 JB |
196 | %ifarch sparc |
197 | cp -a sparc/* $RPM_BUILD_ROOT%{_libdir} | |
198 | %endif | |
199 | ||
200 | %ifarch %{ix86} | |
201 | cp -a i386/* $RPM_BUILD_ROOT%{_libdir} | |
202 | %endif | |
203 | ||
204 | %ifarch ppc | |
205 | cp -a ppc/* $RPM_BUILD_ROOT%{_libdir} | |
206 | %endif | |
207 | ||
fa9d3531 | 208 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} |
209 | ||
5dccf867 JB |
210 | %clean |
211 | rm -rf $RPM_BUILD_ROOT | |
212 | ||
213 | %post -n compat-libg++-2.7 -p /sbin/ldconfig | |
214 | %postun -n compat-libg++-2.7 -p /sbin/ldconfig | |
215 | ||
216 | %post 2.7 -p /sbin/ldconfig | |
217 | %postun 2.7 -p /sbin/ldconfig | |
218 | ||
219 | %post 2.8 -p /sbin/ldconfig | |
220 | %postun 2.8 -p /sbin/ldconfig | |
221 | ||
222 | %post 2.9 -p /sbin/ldconfig | |
223 | %postun 2.9 -p /sbin/ldconfig | |
224 | ||
225 | %post 2.10 -p /sbin/ldconfig | |
226 | %postun 2.10 -p /sbin/ldconfig | |
227 | ||
228 | %post 3.0 -p /sbin/ldconfig | |
229 | %postun 3.0 -p /sbin/ldconfig | |
230 | ||
231 | %post 3.1 -p /sbin/ldconfig | |
232 | %postun 3.1 -p /sbin/ldconfig | |
233 | ||
b0a7aeb6 PS |
234 | %post 3.3 -p /sbin/ldconfig |
235 | %postun 3.3 -p /sbin/ldconfig | |
236 | ||
5dccf867 JB |
237 | %ifarch alpha %{ix86} |
238 | %files -n compat-libg++-2.7 | |
239 | %defattr(644,root,root,755) | |
240 | %attr(755,root,root) %{_libdir}/libg++.so.2.7.2.8 | |
0868112f | 241 | %attr(755,root,root) %ghost %{_libdir}/libg++.so.2.7.2 |
5dccf867 JB |
242 | %endif |
243 | ||
244 | %ifarch alpha %{ix86} | |
245 | %files 2.7 | |
246 | %defattr(644,root,root,755) | |
247 | %attr(755,root,root) %{_libdir}/libstdc++.so.2.7.2.8 | |
0868112f | 248 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.7.2 |
5dccf867 JB |
249 | %endif |
250 | ||
251 | %ifarch alpha %{ix86} ppc sparc | |
252 | %files 2.8 | |
253 | %defattr(644,root,root,755) | |
254 | %attr(755,root,root) %{_libdir}/libstdc++.so.2.8.0 | |
fa9d3531 | 255 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8 |
5dccf867 JB |
256 | %ifarch ppc |
257 | %attr(755,root,root) %{_libdir}/libstdc++.so.27 | |
258 | %endif | |
259 | %endif | |
260 | ||
261 | %ifarch alpha %{ix86} sparc | |
262 | %files 2.9 | |
263 | %defattr(644,root,root,755) | |
264 | %attr(755,root,root) %{_libdir}/libstdc++-2-libc6.1-1-2.9.0.so | |
fa9d3531 | 265 | %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2 |
5dccf867 JB |
266 | %ifarch alpha sparc |
267 | %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0 | |
ef5cac53 | 268 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9 |
5dccf867 JB |
269 | %endif |
270 | %ifarch %{ix86} | |
271 | %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.dummy | |
0868112f | 272 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9 |
5dccf867 JB |
273 | %endif |
274 | %endif | |
275 | ||
276 | %ifarch %{ix86} ppc | |
277 | %files 2.10 | |
278 | %defattr(644,root,root,755) | |
66d5de7d | 279 | %ifarch %{ix86} |
5dccf867 | 280 | %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so |
fa9d3531 | 281 | %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3 |
1a809c94 | 282 | %endif |
5dccf867 | 283 | %ifarch ppc |
66d5de7d | 284 | %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so |
fa9d3531 | 285 | %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3 |
5dccf867 JB |
286 | %endif |
287 | %endif | |
288 | ||
289 | %ifarch alpha %{ix86} sparc | |
290 | %files 3.0 | |
291 | %defattr(644,root,root,755) | |
292 | %ifarch alpha | |
293 | %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.2 | |
0868112f | 294 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3 |
5dccf867 JB |
295 | %endif |
296 | %ifarch %{ix86} sparc | |
297 | %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.4 | |
0868112f | 298 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3 |
5dccf867 JB |
299 | %endif |
300 | %endif | |
301 | ||
302 | %ifarch %{ix86} ppc | |
303 | %files 3.1 | |
304 | %defattr(644,root,root,755) | |
305 | %attr(755,root,root) %{_libdir}/libstdc++.so.4.0.1 | |
0868112f | 306 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.4 |
5dccf867 | 307 | %endif |
b0a7aeb6 | 308 | |
0af1ca32 | 309 | %ifarch alpha %{x8664} %{ix86} ppc sparc |
b0a7aeb6 PS |
310 | %files 3.3 |
311 | %defattr(644,root,root,755) | |
ba25752b | 312 | %attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7 |
0868112f | 313 | %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5 |
b0a7aeb6 | 314 | %endif |