]> git.pld-linux.org Git - packages/STLport.git/blobdiff - STLport.spec
- updated to 5.0.2
[packages/STLport.git] / STLport.spec
index c3a77117ebf238dedc63c39c5c826b988e019c0f..9b6b90ec73fc0d2ffdccff5c5fc469055bf5d1d2 100644 (file)
@@ -1,21 +1,17 @@
 Summary:       C++ standard library
 Summary(pl):   Biblioteki standardowe C++
 Name:          STLport
-Version:       5.0.0
-Release:       0.1
+Version:       5.0.2
+Release:       1
 Epoch:         2
 License:       distributable (see README.gz)
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/stlport/%{name}-%{version}.tar.bz2
-# Source0-md5: 5aefcbb0c30a91d50bb2d6c7b30e8393
+# Source0-md5: 784be5e0499009aeea6e9ec8f7259c41
 Patch0:                %{name}-endianness.patch
-#Patch0:               %{name}-nodebug.patch
-#Patch1:               %{name}-soname.patch
-#Patch2:               %{name}-gcc34.patch
-#Patch3:               %{name}-4.5.3-gcc3stdexcept.patch
-#Patch4:               %{name}-4.5.3-extra-cxxflags.patch
 URL:           http://stlport.sourceforge.net/
 BuildRequires: libstdc++-devel >= 5:3.3.2
+BuildRequires: sed >= 4.0
 %requires_eq   libstdc++
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -56,16 +52,13 @@ Biblioteki statyczne do STLport.
 %setup -q -n %{name}
 %patch0 -p1
 
-#patch1 -p1
-#patch2 -p1
-#patch3 -p1
-#patch4 -p1
+sed -i -e 's/= -O2$/= %{rpmcflags}/' build/Makefiles/gmake/gcc.mak
 
 %build
 %{__make} -C build/lib -f gcc.mak \
        release-shared \
        release-static \
-       CXXFLAGS="%{rpmcxxflags}" \
+       CC="%{__cc}" \
        CXX="%{__cxx}"
 
 %install
@@ -90,13 +83,13 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_libdir}/*.so.*.*
-%attr(755,root,root) %{_libdir}/*.so
+%attr(755,root,root) %{_libdir}/*.so.*
 
 %files devel
 %defattr(644,root,root,755)
 %doc doc/{FAQ,*.txt}
 %{_includedir}/stlport
+%attr(755,root,root) %{_libdir}/*.so
 
 %files static
 %defattr(644,root,root,755)
This page took 0.090018 seconds and 4 git commands to generate.