Summary: Old versions of GNU C++ library Summary(pl.UTF-8): Stare wersje bibliotek GNU C++ Name: compat-libstdc++ Version: 4.6 Release: 3 License: GPL Group: Libraries Source0: libstdc++-compat-%{version}.tar.bz2 # Source0-md5: 6fd4b43281ced8c3511a10957b3a3f38 BuildRequires: /sbin/ldconfig BuildRequires: rpmbuild(macros) >= 1.213 ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define no_install_post_check_so 1 %define _enable_debug_packages 0 %description This is the GNU implementation of the standard C++ libraries, along with additional GNU tools. This package includes the compatibility shared libraries necessary to run some old C++ applications. %description -l de.UTF-8 Dies ist die GNU-Implementierung der Standard-C++-Libraries mit weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von C++-Anwendungen erforderlichen gemeinsam genutzten Libraries. %description -l fr.UTF-8 Ceci est l'implémentation GNU des librairies C++ standard, ainsi que des outils GNU supplémentaires. Ce package comprend les librairies partagées nécessaires à l'exécution d'application C++. %description -l pl.UTF-8 Pakiet ten zawiera biblioteki będące implementacją standardowych bibliotek C++, znajdują się w nim stare biblioteki dynamiczne niezbędne do uruchomienia niektórych starych aplikacji C++. %description -l tr.UTF-8 Bu paket, standart C++ kitaplıklarının GNU gerçeklemesidir ve C++ uygulamalarının koşturulması için gerekli kitaplıkları içerir. %package -n compat-libg++-2.7 Summary: Old version of GNU C++ library - libg++ 2.7.x Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - libg++ 2.7.x Version: 2.7.2.8 Group: Libraries Obsoletes: libg++ Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description -n compat-libg++-2.7 Old, compatibility version of GNU C++ library - libg++ 2.7.x (from gcc 2.7.x), needed to run some old C++ applications. %description -n compat-libg++-2.7 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - libg++ 2.7.x (z gcc 2.7.x) potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 2.7 Summary: Old version of GNU C++ library - 2.7.x Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.7.x Version: 2.7.2.8 Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 2.7 Old, compatibility version of GNU C++ library - libstdc++ 2.7.x (from gcc 2.7.x), needed to run some old C++ applications. %description 2.7 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - libstdc++ 2.7.x (z gcc 2.7.x) potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 2.8 Summary: Old version of GNU C++ library - 2.8 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.8 Version: 2.8.0 Group: Libraries %ifarch ppc Provides: libstdc++.so.27 %endif Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 2.8 Old, compatibility version of GNU C++ library - libstdc++ 2.8.0 (from gcc 2.8.x), needed to run some old C++ applications. %description 2.8 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - libstdc++ 2.8.0 (z gcc 2.8.x) potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 2.9 Summary: Old version of GNU C++ library - 2.9 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.9 Version: 2.9.0 Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 2.9 Old, compatibility version of GNU C++ library - libstdc++ 2.9.0 (from egcs 1.x-2.9x?), needed to run some old C++ applications. %description 2.9 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - libstdc++ 2.9.0 (z egcs 1.x-2.9x?) potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 2.10 Summary: Old version of GNU C++ library - 2.10 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.10 Version: 2.10.0 Group: Libraries %ifarch ppc Provides: libstdc++-libc6.1-2.so.3 %endif Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 2.10 Old, compatibility version of GNU C++ library - libstdc++ 2.10.0 (from gcc 2.95.x), needed to run some old C++ applications. %description 2.10 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - libstdc++ 2.10.0 (z gcc 2.95.x) potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 3.0 Summary: Old version of GNU C++ library - gcc 3.0 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.0 %ifarch alpha Version: 3.0.2 %else Version: 3.0.4 %endif Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 3.0 Old, compatibility version of GNU C++ library - from gcc 3.0.x, needed to run some old C++ applications. %description 3.0 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - z gcc 3.0.x, potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 3.1 Summary: Old version of GNU C++ library - gcc 3.1 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.1 Version: 3.1.1 Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 3.1 Old, compatibility version of GNU C++ library - from gcc 3.1.x, needed to run some old C++ applications. %description 3.1 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - z gcc 3.1.x, potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 3.3 Summary: Old version of GNU C++ library - gcc 3.3 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.3 Version: 3.3.6 Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %if "%{pld_release}" == "ac" Provides: libstdc++ = 5:3.3.6-10 Obsoletes: libstdc++ < 5:3.3.6-10 %endif %description 3.3 Old, compatibility version of GNU C++ library - from gcc 3.3.6, needed to run some old C++ applications. %description 3.3 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - z gcc 3.3.6, potrzebna dla kompatybilności z niektórymi starymi programami w C++. %package 4.6 Summary: Old version of GNU C++ library - gcc 4.6 Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 4.6 Version: 4.6.3 Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat Provides: libstdc++ = 6:4.6.3-5 Obsoletes: libstdc++ < 6:4.6.3-5 %description 4.6 Old, compatibility version of GNU C++ library - from gcc 4.6.3, needed to run some old C++ applications. %description 4.6 -l pl.UTF-8 Stara wersja biblioteki GNU C++ - z gcc 4.6.3, potrzebna dla kompatybilności z niektórymi starymi programami w C++. %prep %setup -q -n libstdc++-compat %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_libdir} %ifarch alpha cp -a alpha/* $RPM_BUILD_ROOT%{_libdir} %endif %ifarch %{x8664} cp -a amd64/* $RPM_BUILD_ROOT%{_libdir} %endif %ifarch sparc cp -a sparc/* $RPM_BUILD_ROOT%{_libdir} %endif %ifarch %{ix86} cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir} %endif %ifarch ppc cp -a ppc/* $RPM_BUILD_ROOT%{_libdir} %endif /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} %clean rm -rf $RPM_BUILD_ROOT %post -n compat-libg++-2.7 -p /sbin/ldconfig %postun -n compat-libg++-2.7 -p /sbin/ldconfig %post 2.7 -p /sbin/ldconfig %postun 2.7 -p /sbin/ldconfig %post 2.8 -p /sbin/ldconfig %postun 2.8 -p /sbin/ldconfig %post 2.9 -p /sbin/ldconfig %postun 2.9 -p /sbin/ldconfig %post 2.10 -p /sbin/ldconfig %postun 2.10 -p /sbin/ldconfig %post 3.0 -p /sbin/ldconfig %postun 3.0 -p /sbin/ldconfig %post 3.1 -p /sbin/ldconfig %postun 3.1 -p /sbin/ldconfig %post 3.3 -p /sbin/ldconfig %postun 3.3 -p /sbin/ldconfig %post 4.6 -p /sbin/ldconfig %postun 4.6 -p /sbin/ldconfig %ifarch alpha %{ix86} %files -n compat-libg++-2.7 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libg++.so.2.7.2.8 %attr(755,root,root) %ghost %{_libdir}/libg++.so.2.7.2 %endif %ifarch alpha %{ix86} %files 2.7 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libstdc++.so.2.7.2.8 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.7.2 %endif %ifarch alpha %{ix86} ppc sparc %files 2.8 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libstdc++.so.2.8.0 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.8 %ifarch ppc %attr(755,root,root) %{_libdir}/libstdc++.so.27 %endif %endif %ifarch alpha %{ix86} sparc %files 2.9 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libstdc++-2-libc6.1-1-2.9.0.so %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-1.so.2 %ifarch alpha sparc %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.0 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9 %endif %ifarch %{ix86} %attr(755,root,root) %{_libdir}/libstdc++.so.2.9.dummy %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.2.9 %endif %endif %ifarch %{ix86} ppc %files 2.10 %defattr(644,root,root,755) %ifarch %{ix86} %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.2-2.so.3 %endif %ifarch ppc %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.1-2-2.10.0.so %attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3 %endif %endif %ifarch alpha %{ix86} sparc %files 3.0 %defattr(644,root,root,755) %ifarch alpha %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.2 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3 %endif %ifarch %{ix86} sparc %attr(755,root,root) %{_libdir}/libstdc++.so.3.0.4 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.3 %endif %endif %ifarch %{ix86} ppc %files 3.1 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libstdc++.so.4.0.1 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.4 %endif %ifarch alpha %{x8664} %{ix86} ppc sparc %files 3.3 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5 %endif %if "%{pld_release}" != "th" %ifarch %{x8664} %{ix86} %files 4.6 %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libstdc++.so.6.0.16 %attr(755,root,root) %ghost %{_libdir}/libstdc++.so.6 %endif %endif