]> git.pld-linux.org Git - packages/compat-libstdc++.git/blobdiff - compat-libstdc++.spec
- disable compat-libstdc++-4.6 in th, now that old soname is back
[packages/compat-libstdc++.git] / compat-libstdc++.spec
index cc24ed533f822785e8efc9e5f75f44a607270bed..2bfb2bc180dbd7a4806071c0b51841efc1f958fc 100644 (file)
@@ -1,43 +1,47 @@
 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:       4
+Version:       4.6
+Release:       3
 License:       GPL
 Group:         Libraries
-#Source0:      libstdc++-compat.tar.gz
-Source0:       http://pld-nptl.ds14.agh.edu.pl/libstdc++-compat.tar.gz
-# Source0-md5: 98ab37235f8cf0d20251716dabd40690
-ExclusiveArch: alpha amd64 %{ix86} ppc sparc
+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
+%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++
@@ -48,13 +52,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++
@@ -64,13 +68,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
@@ -83,13 +87,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++
@@ -99,13 +103,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
@@ -118,13 +122,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
@@ -138,13 +142,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++
@@ -154,26 +158,47 @@ 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.5
+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.5, needed
+Old, compatibility version of GNU C++ library - from gcc 3.3.6, needed
 to run some old C++ applications.
 
-%description 3.3 -l pl
-Stara wersja biblioteki GNU C++ - z gcc 3.3.5, 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.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
@@ -186,7 +211,7 @@ install -d $RPM_BUILD_ROOT%{_libdir}
 cp -a alpha/* $RPM_BUILD_ROOT%{_libdir}
 %endif
 
-%ifarch amd64
+%ifarch %{x8664}
 cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
 %endif
 
@@ -195,13 +220,15 @@ cp -a sparc/* $RPM_BUILD_ROOT%{_libdir}
 %endif
 
 %ifarch %{ix86}
-cp -a i386/* $RPM_BUILD_ROOT%{_libdir}
+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
 
@@ -229,22 +256,28 @@ rm -rf $RPM_BUILD_ROOT
 %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
@@ -254,11 +287,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
 
@@ -267,10 +303,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
 
@@ -279,9 +316,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
 
@@ -289,10 +328,21 @@ 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 amd64 %{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.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
This page took 0.08778 seconds and 4 git commands to generate.