]> git.pld-linux.org Git - packages/compat-libstdc++.git/blob - compat-libstdc++.spec
- BR: /sbin/ldconfig
[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:        3.3
5 Release:        6
6 License:        GPL
7 Group:          Libraries
8 Source0:        libstdc++-compat.tar.gz
9 # Source0-md5:  98ab37235f8cf0d20251716dabd40690
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 %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
20 %description -l de.UTF-8
21 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
22 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
23 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
24
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++.
29
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++.
34
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.
38
39 %package -n compat-libg++-2.7
40 Summary:        Old version of GNU C++ library - libg++ 2.7.x
41 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - libg++ 2.7.x
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
52 %description -n compat-libg++-2.7 -l pl.UTF-8
53 Stara wersja biblioteki GNU C++ - libg++ 2.7.x (z gcc 2.7.x) potrzebna
54 dla kompatybilności z niektórymi starymi programami w C++.
55
56 %package 2.7
57 Summary:        Old version of GNU C++ library - 2.7.x
58 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.7.x
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
68 %description 2.7 -l pl.UTF-8
69 Stara wersja biblioteki GNU C++ - libstdc++ 2.7.x (z gcc 2.7.x)
70 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
71
72 %package 2.8
73 Summary:        Old version of GNU C++ library - 2.8
74 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.8
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
87 %description 2.8 -l pl.UTF-8
88 Stara wersja biblioteki GNU C++ - libstdc++ 2.8.0 (z gcc 2.8.x)
89 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
90
91 %package 2.9
92 Summary:        Old version of GNU C++ library - 2.9
93 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.9
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
103 %description 2.9 -l pl.UTF-8
104 Stara wersja biblioteki GNU C++ - libstdc++ 2.9.0 (z egcs 1.x-2.9x?)
105 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
106
107 %package 2.10
108 Summary:        Old version of GNU C++ library - 2.10
109 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.10
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
122 %description 2.10 -l pl.UTF-8
123 Stara wersja biblioteki GNU C++ - libstdc++ 2.10.0 (z gcc 2.95.x)
124 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
125
126 %package 3.0
127 Summary:        Old version of GNU C++ library - gcc 3.0
128 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.0
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
142 %description 3.0 -l pl.UTF-8
143 Stara wersja biblioteki GNU C++ - z gcc 3.0.x, potrzebna dla
144 kompatybilności z niektórymi starymi programami w C++.
145
146 %package 3.1
147 Summary:        Old version of GNU C++ library - gcc 3.1
148 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.1
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
158 %description 3.1 -l pl.UTF-8
159 Stara wersja biblioteki GNU C++ - z gcc 3.1.x, potrzebna dla
160 kompatybilności z niektórymi starymi programami w C++.
161
162 %package 3.3
163 Summary:        Old version of GNU C++ library - gcc 3.3
164 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.3
165 Version:        3.3.5
166 Group:          Libraries
167 Conflicts:      compat-libstdc++
168 Conflicts:      libstdc++-compat
169
170 %description 3.3
171 Old, compatibility version of GNU C++ library - from gcc 3.3.5, needed
172 to run some old C++ applications.
173
174 %description 3.3 -l pl.UTF-8
175 Stara wersja biblioteki GNU C++ - z gcc 3.3.5, potrzebna dla
176 kompatybilności z niektórymi starymi programami w C++.
177
178
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
190 %ifarch %{x8664}
191 cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
192 %endif
193
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
206 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
207
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
232 %post   3.3 -p /sbin/ldconfig
233 %postun 3.3 -p /sbin/ldconfig
234
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
239 %attr(755,root,root) %ghost %{_libdir}/libg++.so.2.7.2
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
246 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.7.2
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
253 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8
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
263 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2
264 %ifarch alpha sparc
265 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0
266 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9
267 %endif
268 %ifarch %{ix86}
269 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.dummy
270 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9
271 %endif
272 %endif
273
274 %ifarch %{ix86} ppc
275 %files 2.10
276 %defattr(644,root,root,755)
277 %ifarch %{ix86}
278 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so
279 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3
280 %endif
281 %ifarch ppc
282 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so
283 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3
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
292 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3
293 %endif
294 %ifarch %{ix86} sparc
295 %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.4
296 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3
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
304 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.4
305 %endif
306
307 %ifarch alpha %{x8664} %{ix86} ppc sparc
308 %files 3.3
309 %defattr(644,root,root,755)
310 %attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7
311 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5
312 %endif
This page took 0.118181 seconds and 3 git commands to generate.