1 Summary: C++ standard library
2 Summary(pl): Biblioteki standardowe C++
6 License: distributable (see README.gz)
8 Source0: http://www.stlport.com/archive/%{name}-%{version}.tar.gz
9 # Source0-md5: cd4dd34b623a8704fbc800de79705171
10 Patch0: %{name}-nodebug.patch
11 Patch1: %{name}-gcc3.patch
12 Patch2: %{name}-4.5.3-gcc3stdexcept.patch
13 #Patch3: %{name}-4.5.3-nobadlink.patch
14 Patch4: %{name}-4.5.3-extra-cxxflags.patch
15 Patch5: %{name}-soname.patch
16 URL: http://www.stlport.org/
17 BuildRequires: gcc-c++
18 # rationale: the -gcc3.patch
19 %requires_eq libstdc++
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Implementation of C++ standard library required by OpenOffice.
26 Implementacja standardowej biblioteki C++ wymaganej przez OpenOffice.
29 Summary: STLport heades files, documentation
30 Summary(pl): Pliki nag³ówkowe i dokumentacja do STLport
31 Group: Development/Libraries
32 Requires: %{name} = %{version}
35 Header files and development documentation for STLport.
37 %description devel -l pl
38 Pliki nag³ówkowe i dokumentacja dla STLport.
41 Summary: Static STLport libraries
42 Summary(pl): Biblioteki statyczne do STLport
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}
47 Static STLport libraries.
49 %description static -l pl
50 Biblioteki statyczne do STLport.
63 CXXFLAGS="%{rpmcflags}" \
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
70 rm -fr stlport/{BC50,old_hp}
71 cp -fr stlport $RPM_BUILD_ROOT%{_includedir}
72 install lib/*.a $RPM_BUILD_ROOT%{_libdir}
73 install lib/*.so.* $RPM_BUILD_ROOT%{_libdir}
74 ln -sf libstlport_gcc.so.4.5 $RPM_BUILD_ROOT%{_libdir}/libstlport_gcc.so
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/*.so.*.*
85 %attr(755,root,root) %{_libdir}/*.so
88 %defattr(644,root,root,755)
90 %{_includedir}/stlport
94 %defattr(644,root,root,755)