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.bz2
10 Source0: http://dl.sourceforge.net/stlport/%{name}-%{version}.tar.bz2
11 # Source0-md5: 5aefcbb0c30a91d50bb2d6c7b30e8393
12 Patch0: %{name}-nodebug.patch
13 Patch1: %{name}-soname.patch
14 Patch2: %{name}-gcc34.patch
15 Patch3: %{name}-4.5.3-gcc3stdexcept.patch
16 Patch4: %{name}-4.5.3-extra-cxxflags.patch
17 URL: http://www.stlport.org/
18 BuildRequires: libstdc++-devel >= 5:3.3.2
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.
64 %{__make} -C build/lib -f gcc.mak \
67 CXXFLAGS="%{rpmcxxflags}" \
71 rm -rf $RPM_BUILD_ROOT
72 install -d $RPM_BUILD_ROOT%{_includedir}
74 %{__make} -C build/lib -f gcc.mak \
75 install-release-shared \
76 install-release-static \
77 INSTALL_BIN_DIR=$RPM_BUILD_ROOT%{_bindir} \
78 INSTALL_LIB_DIR=$RPM_BUILD_ROOT%{_libdir}
80 cp -a stlport $RPM_BUILD_ROOT%{_includedir}
81 rm -rf $RPM_BUILD_ROOT%{_includedir}/stlport/BC50
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
90 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/*.so.*.*
93 %attr(755,root,root) %{_libdir}/*.so
96 %defattr(644,root,root,755)
98 %{_includedir}/stlport
101 %defattr(644,root,root,755)