]> git.pld-linux.org Git - packages/compat-libstdc++.git/blob - compat-libstdc++.spec
- fixed (?) %%install for sparc. Please, test
[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:  rpmbuild(macros) >= 1.213
11 ExclusiveArch:  %{x8664} %{ix86} alpha ppc sparc
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
19 %description -l de.UTF-8
20 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
21 weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
22 C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
23
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++.
28
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++.
33
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.
37
38 %package -n compat-libg++-2.7
39 Summary:        Old version of GNU C++ library - libg++ 2.7.x
40 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - libg++ 2.7.x
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
51 %description -n compat-libg++-2.7 -l pl.UTF-8
52 Stara wersja biblioteki GNU C++ - libg++ 2.7.x (z gcc 2.7.x) potrzebna
53 dla kompatybilności z niektórymi starymi programami w C++.
54
55 %package 2.7
56 Summary:        Old version of GNU C++ library - 2.7.x
57 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.7.x
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
67 %description 2.7 -l pl.UTF-8
68 Stara wersja biblioteki GNU C++ - libstdc++ 2.7.x (z gcc 2.7.x)
69 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
70
71 %package 2.8
72 Summary:        Old version of GNU C++ library - 2.8
73 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.8
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
86 %description 2.8 -l pl.UTF-8
87 Stara wersja biblioteki GNU C++ - libstdc++ 2.8.0 (z gcc 2.8.x)
88 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
89
90 %package 2.9
91 Summary:        Old version of GNU C++ library - 2.9
92 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.9
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
102 %description 2.9 -l pl.UTF-8
103 Stara wersja biblioteki GNU C++ - libstdc++ 2.9.0 (z egcs 1.x-2.9x?)
104 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
105
106 %package 2.10
107 Summary:        Old version of GNU C++ library - 2.10
108 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - 2.10
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
121 %description 2.10 -l pl.UTF-8
122 Stara wersja biblioteki GNU C++ - libstdc++ 2.10.0 (z gcc 2.95.x)
123 potrzebna dla kompatybilności z niektórymi starymi programami w C++.
124
125 %package 3.0
126 Summary:        Old version of GNU C++ library - gcc 3.0
127 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.0
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
141 %description 3.0 -l pl.UTF-8
142 Stara wersja biblioteki GNU C++ - z gcc 3.0.x, potrzebna dla
143 kompatybilności z niektórymi starymi programami w C++.
144
145 %package 3.1
146 Summary:        Old version of GNU C++ library - gcc 3.1
147 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.1
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
157 %description 3.1 -l pl.UTF-8
158 Stara wersja biblioteki GNU C++ - z gcc 3.1.x, potrzebna dla
159 kompatybilności z niektórymi starymi programami w C++.
160
161 %package 3.3
162 Summary:        Old version of GNU C++ library - gcc 3.3
163 Summary(pl.UTF-8):      Stara wersja biblioteki GNU C++ - gcc 3.3
164 Version:        3.3.5
165 Group:          Libraries
166 Conflicts:      compat-libstdc++
167 Conflicts:      libstdc++-compat
168
169 %description 3.3
170 Old, compatibility version of GNU C++ library - from gcc 3.3.5, needed
171 to run some old C++ applications.
172
173 %description 3.3 -l pl.UTF-8
174 Stara wersja biblioteki GNU C++ - z gcc 3.3.5, potrzebna dla
175 kompatybilności z niektórymi starymi programami w C++.
176
177
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
189 %ifarch %{x8664}
190 cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
191 %endif
192
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
205 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
206
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
231 %post   3.3 -p /sbin/ldconfig
232 %postun 3.3 -p /sbin/ldconfig
233
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
238 %attr(755,root,root) %ghost %{_libdir}/libg++.so.2.7.2
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
245 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.7.2
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
252 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8
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
262 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2
263 %ifarch alpha sparc
264 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0
265 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9
266 %endif
267 %ifarch %{ix86}
268 %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.dummy
269 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9
270 %endif
271 %endif
272
273 %ifarch %{ix86} ppc
274 %files 2.10
275 %defattr(644,root,root,755)
276 %ifarch %{ix86}
277 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so
278 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3
279 %endif 
280 %ifarch ppc
281 %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so
282 %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3
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
291 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3
292 %endif
293 %ifarch %{ix86} sparc
294 %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.4
295 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3
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
303 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.4
304 %endif
305
306 %ifarch alpha %{x8664} %{ix86} ppc sparc
307 %files 3.3
308 %defattr(644,root,root,755)
309 %attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7
310 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5
311 %endif
This page took 0.099035 seconds and 3 git commands to generate.