-# TODO: add SONAME to libstlport_gcc.so*
Summary: C++ standard library
Summary(pl): Biblioteki standardowe C++
Name: STLport
Version: 4.5.3
-Release: 3
+Release: 9
License: distributable (see README.gz)
Group: Libraries
Source0: http://www.stlport.com/archive/%{name}-%{version}.tar.gz
+# Source0-md5: cd4dd34b623a8704fbc800de79705171
Patch0: %{name}-nodebug.patch
Patch1: %{name}-gcc3.patch
Patch2: %{name}-4.5.3-gcc3stdexcept.patch
#Patch3: %{name}-4.5.3-nobadlink.patch
Patch4: %{name}-4.5.3-extra-cxxflags.patch
+Patch5: %{name}-soname.patch
URL: http://www.stlport.org/
-BuildRequires: gcc-c++
+BuildRequires: libstdc++-devel >= 5:3.3.1
+# rationale: the -gcc3.patch
+%requires_eq libstdc++
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch2 -p1
#%patch3 -p1
%patch4 -p1
+%patch5 -p1
%build
cd src