X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=compat-libstdc%2B%2B.spec;h=383a9cdacd67faa0f677cca78bd5043e3cfed322;hb=1a809c947c6f1c3a68f8271d2f2ff1f602d212ff;hp=3c7d4f787959b43d6cfafe14315383152d30800d;hpb=c53c61395505454e39bd9f7d83a8d4f7759f9a3e;p=packages%2Fcompat-libstdc%2B%2B.git diff --git a/compat-libstdc++.spec b/compat-libstdc++.spec index 3c7d4f7..383a9cd 100644 --- a/compat-libstdc++.spec +++ b/compat-libstdc++.spec @@ -1,13 +1,15 @@ Summary: Old versions of GNU C++ library -Summary(pl): Stare wersje bibliotek GNU C++ +Summary(pl.UTF-8): Stare wersje bibliotek GNU C++ Name: compat-libstdc++ Version: 3.3 -Release: 3 +Release: 6 License: GPL Group: Libraries Source0: libstdc++-compat.tar.gz -# Source0-md5: aa2d683eb17f3ee63cf2e264a87ae787 -ExclusiveArch: alpha %{ix86} ppc sparc +# Source0-md5: 98ab37235f8cf0d20251716dabd40690 +BuildRequires: /sbin/ldconfig +BuildRequires: rpmbuild(macros) >= 1.213 +ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -15,28 +17,28 @@ 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 +%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 +weiteren GNU-Tools. Dieses Paket enthält die zum Ausführen von C++-Anwendungen erforderlichen gemeinsam genutzten Libraries. -%description -l fr -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 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 -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 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 -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. +%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): Stara wersja biblioteki GNU C++ - 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++ @@ -47,13 +49,13 @@ Conflicts: libstdc++-compat 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 +%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++. +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): Stara wersja biblioteki GNU C++ - 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++ @@ -63,13 +65,13 @@ Conflicts: libstdc++-compat 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 +%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++. +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): Stara wersja biblioteki GNU C++ - 2.8 +Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.8 Version: 2.8.0 Group: Libraries %ifarch ppc @@ -82,13 +84,13 @@ Conflicts: libstdc++-compat 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 +%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++. +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): Stara wersja biblioteki GNU C++ - 2.9 +Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.9 Version: 2.9.0 Group: Libraries Conflicts: compat-libstdc++ @@ -98,13 +100,13 @@ Conflicts: libstdc++-compat 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 +%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++. +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): Stara wersja biblioteki GNU C++ - 2.10 +Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - 2.10 Version: 2.10.0 Group: Libraries %ifarch ppc @@ -117,13 +119,13 @@ Conflicts: libstdc++-compat 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 +%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++. +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): Stara wersja biblioteki GNU C++ - gcc 3.0 +Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.0 %ifarch alpha Version: 3.0.2 %else @@ -137,13 +139,13 @@ Conflicts: libstdc++-compat Old, compatibility version of GNU C++ library - from gcc 3.0.x, needed to run some old C++ applications. -%description 3.0 -l pl +%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++. +kompatybilności z niektórymi starymi programami w C++. %package 3.1 Summary: Old version of GNU C++ library - gcc 3.1 -Summary(pl): Stara wersja biblioteki GNU C++ - gcc 3.1 +Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.1 Version: 3.1.1 Group: Libraries Conflicts: compat-libstdc++ @@ -153,25 +155,25 @@ Conflicts: libstdc++-compat Old, compatibility version of GNU C++ library - from gcc 3.1.x, needed to run some old C++ applications. -%description 3.1 -l pl +%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++. +kompatybilności z niektórymi starymi programami w C++. %package 3.3 Summary: Old version of GNU C++ library - gcc 3.3 -Summary(pl): Stara wersja biblioteki GNU C++ - gcc 3.3 -Version: 3.3.3 +Summary(pl.UTF-8): Stara wersja biblioteki GNU C++ - gcc 3.3 +Version: 3.3.5 Group: Libraries Conflicts: compat-libstdc++ Conflicts: libstdc++-compat %description 3.3 -Old, compatibility version of GNU C++ library - from gcc 3.3.3, needed +Old, compatibility version of GNU C++ library - from gcc 3.3.5, needed to run some old C++ applications. -%description 3.3 -l pl -Stara wersja biblioteki GNU C++ - z gcc 3.3.3, potrzebna dla -kompatybilno¶ci z niektórymi starymi programami w C++. +%description 3.3 -l pl.UTF-8 +Stara wersja biblioteki GNU C++ - z gcc 3.3.5, potrzebna dla +kompatybilności z niektórymi starymi programami w C++. %prep @@ -185,6 +187,10 @@ install -d $RPM_BUILD_ROOT%{_libdir} 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 @@ -197,6 +203,8 @@ cp -a i386/* $RPM_BUILD_ROOT%{_libdir} cp -a ppc/* $RPM_BUILD_ROOT%{_libdir} %endif +/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} + %clean rm -rf $RPM_BUILD_ROOT @@ -228,18 +236,21 @@ rm -rf $RPM_BUILD_ROOT %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 @@ -249,11 +260,14 @@ rm -rf $RPM_BUILD_ROOT %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 @@ -262,10 +276,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %ifarch %{ix86} %attr(755,root,root) %{_libdir}/libstdc++-3-libc6.2-2-2.10.0.so -%endif +%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) %{_libdir}/libstdc++-libc6.1-2.so.3 +%attr(755,root,root) %ghost %{_libdir}/libstdc++-libc6.1-2.so.3 %endif %endif @@ -274,9 +289,11 @@ rm -rf $RPM_BUILD_ROOT %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 @@ -284,10 +301,12 @@ rm -rf $RPM_BUILD_ROOT %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 %{ix86} ppc sparc +%ifarch alpha %{x8664} %{ix86} ppc sparc %files 3.3 %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/libstdc++.so.5.0.5 +%attr(755,root,root) %{_libdir}/libstdc++.so.5.0.7 +%attr(755,root,root) %ghost %{_libdir}/libstdc++.so.5 %endif