]> git.pld-linux.org Git - packages/compat-libstdc++.git/blame - compat-libstdc++.spec
- BR: /sbin/ldconfig
[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
JB
3Name: compat-libstdc++
4Version: 3.3
0868112f 5Release: 6
5dccf867
JB
6License: GPL
7Group: Libraries
35c690f5 8Source0: libstdc++-compat.tar.gz
ba25752b 9# Source0-md5: 98ab37235f8cf0d20251716dabd40690
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
15%description
16This is the GNU implementation of the standard C++ libraries, along
17with additional GNU tools. This package includes the compatibility
18shared libraries necessary to run some old C++ applications.
19
8f00ec0a 20%description -l de.UTF-8
5dccf867 21Dies ist die GNU-Implementierung der Standard-C++-Libraries mit
8f00ec0a 22weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von
5dccf867
JB
23C++-Anwendungen erforderlichen gemeinsam genutzten Libraries.
24
8f00ec0a
JR
25%description -l fr.UTF-8
26Ceci est l'implémentation GNU des librairies C++ standard, ainsi que
27des outils GNU supplémentaires. Ce package comprend les librairies
28partagées nécessaires à l'exécution d'application C++.
5dccf867 29
8f00ec0a
JR
30%description -l pl.UTF-8
31Pakiet ten zawiera biblioteki będące implementacją standardowych
32bibliotek C++, znajdują się w nim stare biblioteki dynamiczne
33niezbędne do uruchomienia niektórych starych aplikacji C++.
5dccf867 34
8f00ec0a
JR
35%description -l tr.UTF-8
36Bu paket, standart C++ kitaplıklarının GNU gerçeklemesidir ve C++
37uygulamalarının koşturulması için gerekli kitaplıkları içerir.
5dccf867
JB
38
39%package -n compat-libg++-2.7
40Summary: Old version of GNU C++ library - libg++ 2.7.x
77bc18aa 41Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - libg++ 2.7.x
5dccf867
JB
42Version: 2.7.2.8
43Group: Libraries
44Obsoletes: libg++
45Conflicts: compat-libstdc++
46Conflicts: libstdc++-compat
47
48%description -n compat-libg++-2.7
49Old, compatibility version of GNU C++ library - libg++ 2.7.x (from gcc
502.7.x), needed to run some old C++ applications.
51
8f00ec0a 52%description -n compat-libg++-2.7 -l pl.UTF-8
5dccf867 53Stara wersja biblioteki GNU C++ - libg++ 2.7.x (z gcc 2.7.x) potrzebna
8f00ec0a 54dla kompatybilności z niektórymi starymi programami w C++.
5dccf867
JB
55
56%package 2.7
57Summary: Old version of GNU C++ library - 2.7.x
77bc18aa 58Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.7.x
5dccf867
JB
59Version: 2.7.2.8
60Group: Libraries
61Conflicts: compat-libstdc++
62Conflicts: libstdc++-compat
63
64%description 2.7
65Old, compatibility version of GNU C++ library - libstdc++ 2.7.x (from
66gcc 2.7.x), needed to run some old C++ applications.
67
8f00ec0a 68%description 2.7 -l pl.UTF-8
5dccf867 69Stara wersja biblioteki GNU C++ - libstdc++ 2.7.x (z gcc 2.7.x)
8f00ec0a 70potrzebna dla kompatybilności z niektórymi starymi programami w C++.
5dccf867
JB
71
72%package 2.8
73Summary: Old version of GNU C++ library - 2.8
77bc18aa 74Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.8
5dccf867
JB
75Version: 2.8.0
76Group: Libraries
77%ifarch ppc
78Provides: libstdc++.so.27
79%endif
80Conflicts: compat-libstdc++
81Conflicts: libstdc++-compat
82
83%description 2.8
84Old, compatibility version of GNU C++ library - libstdc++ 2.8.0 (from
85gcc 2.8.x), needed to run some old C++ applications.
86
8f00ec0a 87%description 2.8 -l pl.UTF-8
5dccf867 88Stara wersja biblioteki GNU C++ - libstdc++ 2.8.0 (z gcc 2.8.x)
8f00ec0a 89potrzebna dla kompatybilności z niektórymi starymi programami w C++.
5dccf867
JB
90
91%package 2.9
92Summary: Old version of GNU C++ library - 2.9
77bc18aa 93Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.9
5dccf867
JB
94Version: 2.9.0
95Group: Libraries
96Conflicts: compat-libstdc++
97Conflicts: libstdc++-compat
98
99%description 2.9
100Old, compatibility version of GNU C++ library - libstdc++ 2.9.0 (from
101egcs 1.x-2.9x?), needed to run some old C++ applications.
102
8f00ec0a 103%description 2.9 -l pl.UTF-8
5dccf867 104Stara wersja biblioteki GNU C++ - libstdc++ 2.9.0 (z egcs 1.x-2.9x?)
8f00ec0a 105potrzebna dla kompatybilności z niektórymi starymi programami w C++.
5dccf867
JB
106
107%package 2.10
108Summary: Old version of GNU C++ library - 2.10
77bc18aa 109Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.10
5dccf867
JB
110Version: 2.10.0
111Group: Libraries
112%ifarch ppc
113Provides: libstdc++-libc6.1-2.so.3
114%endif
115Conflicts: compat-libstdc++
116Conflicts: libstdc++-compat
117
118%description 2.10
119Old, compatibility version of GNU C++ library - libstdc++ 2.10.0 (from
120gcc 2.95.x), needed to run some old C++ applications.
121
8f00ec0a 122%description 2.10 -l pl.UTF-8
5dccf867 123Stara wersja biblioteki GNU C++ - libstdc++ 2.10.0 (z gcc 2.95.x)
8f00ec0a 124potrzebna dla kompatybilności z niektórymi starymi programami w C++.
5dccf867
JB
125
126%package 3.0
127Summary: Old version of GNU C++ library - gcc 3.0
77bc18aa 128Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.0
5dccf867
JB
129%ifarch alpha
130Version: 3.0.2
131%else
132Version: 3.0.4
133%endif
134Group: Libraries
135Conflicts: compat-libstdc++
136Conflicts: libstdc++-compat
137
138%description 3.0
139Old, compatibility version of GNU C++ library - from gcc 3.0.x, needed
140to run some old C++ applications.
141
8f00ec0a 142%description 3.0 -l pl.UTF-8
5dccf867 143Stara wersja biblioteki GNU C++ - z gcc 3.0.x, potrzebna dla
8f00ec0a 144kompatybilności z niektórymi starymi programami w C++.
5dccf867
JB
145
146%package 3.1
147Summary: Old version of GNU C++ library - gcc 3.1
77bc18aa 148Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.1
5dccf867
JB
149Version: 3.1.1
150Group: Libraries
151Conflicts: compat-libstdc++
152Conflicts: libstdc++-compat
153
154%description 3.1
155Old, compatibility version of GNU C++ library - from gcc 3.1.x, needed
156to run some old C++ applications.
157
8f00ec0a 158%description 3.1 -l pl.UTF-8
5dccf867 159Stara wersja biblioteki GNU C++ - z gcc 3.1.x, potrzebna dla
8f00ec0a 160kompatybilności z niektórymi starymi programami w C++.
5dccf867 161
b0a7aeb6
PS
162%package 3.3
163Summary: Old version of GNU C++ library - gcc 3.3
77bc18aa 164Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.3
db6180e0 165Version: 3.3.5
b0a7aeb6
PS
166Group: Libraries
167Conflicts: compat-libstdc++
168Conflicts: libstdc++-compat
169
170%description 3.3
7df8dc07 171Old, compatibility version of GNU C++ library - from gcc 3.3.5, needed
b0a7aeb6
PS
172to run some old C++ applications.
173
8f00ec0a 174%description 3.3 -l pl.UTF-8
7df8dc07 175Stara wersja biblioteki GNU C++ - z gcc 3.3.5, potrzebna dla
8f00ec0a 176kompatybilnoś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
183rm -rf $RPM_BUILD_ROOT
184install -d $RPM_BUILD_ROOT%{_libdir}
185
186%ifarch alpha
187cp -a alpha/* $RPM_BUILD_ROOT%{_libdir}
188%endif
189
0af1ca32 190%ifarch %{x8664}
ba25752b
PS
191cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
192%endif
193
5dccf867
JB
194%ifarch sparc
195cp -a sparc/* $RPM_BUILD_ROOT%{_libdir}
196%endif
197
198%ifarch %{ix86}
199cp -a i386/* $RPM_BUILD_ROOT%{_libdir}
200%endif
201
202%ifarch ppc
203cp -a ppc/* $RPM_BUILD_ROOT%{_libdir}
204%endif
205
fa9d3531 206/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
207
5dccf867
JB
208%clean
209rm -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
This page took 0.096134 seconds and 4 git commands to generate.