1 Summary: Complete C++ standard library
2 Summary(pl): Pe³na biblioteka standardowa C++
7 License: distributable (see README.gz)
9 Source0: http://www.stlport.com/archive/%{name}-%{version}.tar.gz
10 # Source0-md5: 383cb0e06bb6cebd6c852b478081d54c
11 Patch0: %{name}-nodebug.patch
12 Patch1: %{name}-soname.patch
13 Patch2: %{name}-gcc34.patch
14 Patch3: %{name}-4.5.3-gcc3stdexcept.patch
15 Patch4: %{name}-4.5.3-extra-cxxflags.patch
16 URL: http://www.stlport.org/
17 BuildRequires: libstdc++-devel >= 5:3.3.2
18 %requires_eq libstdc++
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 STLport is a multiplatform implementation of C++ Standard Template
23 Library based on SGI STL. It's used by e.g. OpenOffice.
26 STLport to wieloplatformowa implementacja standardowej biblioteki
27 szablonów (Standard Template Library) C++ oparta na SGI STL. Jest
28 u¿ywana m.in. przez OpenOffice.
31 Summary: STLport heades files, documentation
32 Summary(pl): Pliki nag³ówkowe i dokumentacja do STLport
33 Group: Development/Libraries
34 Requires: %{name} = %{epoch}:%{version}-%{release}
37 Header files and development documentation for STLport.
39 %description devel -l pl
40 Pliki nag³ówkowe i dokumentacja dla STLport.
43 Summary: Static STLport libraries
44 Summary(pl): Biblioteki statyczne do STLport
45 Group: Development/Libraries
46 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
49 Static STLport libraries.
51 %description static -l pl
52 Biblioteki statyczne do STLport.
64 CXXFLAGS="%{rpmcflags}" \
68 rm -rf $RPM_BUILD_ROOT
70 %{__make} -f gcc.mak INSTALLDIR=$RPM_BUILD_ROOT%{_prefix} install
73 rm -rf $RPM_BUILD_ROOT
75 %post -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
79 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_libdir}/*.so.*.*
82 %attr(755,root,root) %{_libdir}/*.so
85 %defattr(644,root,root,755)
86 %doc doc/{images,README.gcc.html,[a-z]*.html}
87 %{_includedir}/stlport
90 %defattr(644,root,root,755)