1 Summary: Complete C++ standard library
2 Summary(pl): Pe³na biblioteka standardowa C++
6 License: distributable (see README.gz)
8 Source0: http://www.stlport.com/archive/%{name}-%{version}.tar.gz
9 # Source0-md5: e2308d3b410310168397ad20e8517862
10 Patch0: %{name}-nodebug.patch
11 #Patch1: %{name}-gcc3.patch
12 Patch2: %{name}-4.5.3-gcc3stdexcept.patch
13 Patch3: %{name}-4.5.3-extra-cxxflags.patch
14 Patch4: %{name}-soname.patch
15 URL: http://www.stlport.org/
16 BuildRequires: libstdc++-devel >= 5:3.3.1
17 # rationale: the -gcc3.patch
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} = %{version}
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 = %{version}
49 Static STLport libraries.
51 %description static -l pl
52 Biblioteki statyczne do STLport.
64 CXXFLAGS="%{rpmcflags}" \
68 rm -rf $RPM_BUILD_ROOT
69 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
71 rm -fr stlport/{BC50,old_hp,*.orig,*/*.orig,config/new_compiler}
72 cp -fr stlport $RPM_BUILD_ROOT%{_includedir}
73 install lib/*.a $RPM_BUILD_ROOT%{_libdir}
74 install lib/*.so.* $RPM_BUILD_ROOT%{_libdir}
75 ln -sf libstlport_gcc.so.4.6 $RPM_BUILD_ROOT%{_libdir}/libstlport_gcc.so
78 rm -rf $RPM_BUILD_ROOT
80 %post -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
84 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_libdir}/*.so.*.*
87 %attr(755,root,root) %{_libdir}/*.so
90 %defattr(644,root,root,755)
91 %doc doc/{images,README.gcc.html,[a-z]*.html}
92 %{_includedir}/stlport
96 %defattr(644,root,root,755)