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