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: e2308d3b410310168397ad20e8517862
11 Patch0: %{name}-nodebug.patch
12 #Patch1: %{name}-gcc3.patch
13 Patch2: %{name}-4.5.3-gcc3stdexcept.patch
14 Patch3: %{name}-4.5.3-extra-cxxflags.patch
15 Patch4: %{name}-soname.patch
16 URL: http://www.stlport.org/
17 BuildRequires: libstdc++-devel >= 5:3.3.1
18 # rationale: the -gcc3.patch
19 %requires_eq libstdc++
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 STLport is a multiplatform implementation of C++ Standard Template
24 Library based on SGI STL. It's used by e.g. OpenOffice.
27 STLport to wieloplatformowa implementacja standardowej biblioteki
28 szablonów (Standard Template Library) C++ oparta na SGI STL. Jest
29 u¿ywana m.in. przez OpenOffice.
32 Summary: STLport heades files, documentation
33 Summary(pl): Pliki nag³ówkowe i dokumentacja do STLport
34 Group: Development/Libraries
35 Requires: %{name} = %{epoch}:%{version}-%{release}
38 Header files and development documentation for STLport.
40 %description devel -l pl
41 Pliki nag³ówkowe i dokumentacja dla STLport.
44 Summary: Static STLport libraries
45 Summary(pl): Biblioteki statyczne do STLport
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
50 Static STLport libraries.
52 %description static -l pl
53 Biblioteki statyczne do STLport.
65 CXXFLAGS="%{rpmcflags}" \
69 rm -rf $RPM_BUILD_ROOT
70 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
72 rm -fr stlport/{BC50,old_hp,*.orig,*/*.orig,config/new_compiler}
73 cp -fr stlport $RPM_BUILD_ROOT%{_includedir}
74 install lib/*.a $RPM_BUILD_ROOT%{_libdir}
75 install lib/*.so.* $RPM_BUILD_ROOT%{_libdir}
76 ln -sf libstlport_gcc.so.4.6 $RPM_BUILD_ROOT%{_libdir}/libstlport_gcc.so
79 rm -rf $RPM_BUILD_ROOT
81 %post -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
85 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/*.so.*.*
88 %attr(755,root,root) %{_libdir}/*.so
91 %defattr(644,root,root,755)
92 %doc doc/{images,README.gcc.html,[a-z]*.html}
93 %{_includedir}/stlport
97 %defattr(644,root,root,755)