1 Summary: C++ standard library
2 Summary(pl.UTF-8): Biblioteki standardowe C++
6 License: distributable (see README.gz)
8 Source0: http://www.stlport.com/archive/STLport-%{version}.tar.gz
9 # Source0-md5: 4c01c84f1212369ceb369567ed06d1a2
10 Patch0: %{name}-nodebug.patch
11 Patch1: %{name}-soname.patch
12 Patch2: %{name}-gcc34.patch
13 Patch3: %{name}-4.5.3-gcc3stdexcept.patch
14 Patch4: %{name}-4.5.3-extra-cxxflags.patch
15 URL: http://www.stlport.org/
16 BuildRequires: libstdc++-devel >= 5:3.3.2
17 %requires_eq libstdc++
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 STLport is a multiplatform implementation of C++ Standard Template
22 Library based on SGI STL. It's used by e.g. OpenOffice.
24 %description -l pl.UTF-8
25 STLport to wieloplatformowa implementacja standardowej biblioteki
26 szablonów (Standard Template Library) C++ oparta na SGI STL. Jest
27 używana m.in. przez OpenOffice.
30 Summary: STLport heades files, documentation
31 Summary(pl.UTF-8): 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.UTF-8
39 Pliki nagłówkowe i dokumentacja dla STLport.
42 Summary: Static STLport libraries
43 Summary(pl.UTF-8): Biblioteki statyczne do STLport
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
48 Static STLport libraries.
50 %description static -l pl.UTF-8
51 Biblioteki statyczne do STLport.
54 %setup -q -n STLport-%{version}
62 %{__make} -C src -f gcc.mak \
63 CXXFLAGS="%{rpmcxxflags}" \
67 rm -rf $RPM_BUILD_ROOT
69 %{__make} -C src -f gcc.mak install \
70 INSTALLDIR=$RPM_BUILD_ROOT%{_prefix} \
71 INSTALLDIR_LIB=$RPM_BUILD_ROOT%{_libdir}
74 rm -rf $RPM_BUILD_ROOT
76 %post -p /sbin/ldconfig
77 %postun -p /sbin/ldconfig
80 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/*.so.*.*
83 %attr(755,root,root) %{_libdir}/*.so
86 %defattr(644,root,root,755)
87 %doc doc/{images,README.gcc.html,[a-z]*.html}
88 %{_includedir}/stlport
91 %defattr(644,root,root,755)