1 Summary: C++ standard library
2 Summary(pl): Biblioteki standardowe C++
7 License: distributable (see README.gz)
9 Source0: http://www.stlport.com/archive/%{name}-%{version}.tar.gz
10 # Source0-md5: cd4dd34b623a8704fbc800de79705171
11 Patch0: %{name}-nodebug.patch
12 Patch1: %{name}-gcc3.patch
13 Patch2: %{name}-4.5.3-gcc3stdexcept.patch
14 #Patch3: %{name}-4.5.3-nobadlink.patch
15 Patch4: %{name}-4.5.3-extra-cxxflags.patch
16 Patch5: %{name}-soname.patch
17 URL: http://www.stlport.org/
18 BuildRequires: libstdc++-devel >= 5:3.3.1
19 # rationale: the -gcc3.patch
20 %requires_eq libstdc++
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Implementation of C++ standard library required by OpenOffice.
27 Implementacja standardowej biblioteki C++ wymaganej przez OpenOffice.
30 Summary: STLport heades files, documentation
31 Summary(pl): Pliki nag³ówkowe i dokumentacja do STLport
32 Group: Development/Libraries
33 Requires: %{name} = %{epoch}:%{version}-%{release}
36 Header files and development documentation for STLport.
38 %description devel -l pl
39 Pliki nag³ówkowe i dokumentacja dla STLport.
42 Summary: Static STLport libraries
43 Summary(pl): Biblioteki statyczne do STLport
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
48 Static STLport libraries.
50 %description static -l pl
51 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}
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.5 $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)
85 %attr(755,root,root) %{_libdir}/*.so.*.*
86 %attr(755,root,root) %{_libdir}/*.so
89 %defattr(644,root,root,755)
91 %{_includedir}/stlport
95 %defattr(644,root,root,755)