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