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