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