1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericopenlibs/cppstdlib/stl/etc/STLport-4.5.1.spec Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,96 @@
1.4 +%define MAKEFILE gcc-linux.mak
1.5 +
1.6 +Summary: Complete C++ standard library
1.7 +Name: STLport
1.8 +Version: 4.5.1
1.9 +Release: 1
1.10 +Copyright: free (see license), see /usr/share/doc/%{name}-%{version}/license.html
1.11 +URL: http://www.stlport.org/
1.12 +Packager: Levente Farkas <lfarkas@mindmaker.hu>
1.13 +Group: System Environment/Languages
1.14 +Icon: stlport_powered_white.gif
1.15 +Source0: http://www.stlport.org/archive/%{name}-%{version}.tar.gz
1.16 +Patch0: STLport-rename.patch
1.17 +#Patch1: STLport-rules.patch
1.18 +#Patch2: STLport-install-dir.patch
1.19 +Buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
1.20 +
1.21 +%description
1.22 +STLport is a multiplatform STL implementation based on SGI STL.
1.23 +This package contains the runtime library for STLport.
1.24 +
1.25 +%package -n STLport-devel
1.26 +Summary: Complete C++ standard library header files and libraries
1.27 +Group: Development/Libraries
1.28 +Requires: STLport = %{version}
1.29 +
1.30 +%description -n STLport-devel
1.31 +STLport is a multiplatform STL implementation based on SGI STL. Complete
1.32 +C++ standard library, including <complex> and SGI STL iostreams. If you
1.33 +would like to use your code with STLport add
1.34 +"-nostdinc++ -I/usr/include/stlport" when compile and -lstlport_gcc when
1.35 +link (eg: gcc -nostdinc++ -I/usr/include/stlport x.cc -lstlport_gcc).
1.36 +
1.37 +%prep
1.38 +%setup
1.39 +%patch0 -p1
1.40 +#%patch1 -p1
1.41 +#%patch2 -p1
1.42 +
1.43 +%build
1.44 +cd src
1.45 +make -f %{MAKEFILE} INSTALLDIR=$RPM_BUILD_ROOT/usr clean all
1.46 +
1.47 +%install
1.48 +rm -rf $RPM_BUILD_ROOT
1.49 +cd src
1.50 +make -f %{MAKEFILE} INSTALLDIR=$RPM_BUILD_ROOT/usr install
1.51 +cd $RPM_BUILD_ROOT/usr/include/stlport
1.52 +ln -s . ext
1.53 +
1.54 +%clean
1.55 +rm -rf $RPM_BUILD_ROOT
1.56 +
1.57 +%post -p /sbin/ldconfig
1.58 +
1.59 +%postun -p /sbin/ldconfig
1.60 +
1.61 +%post -n STLport-devel
1.62 +/sbin/ldconfig
1.63 +
1.64 +%postun -n STLport-devel
1.65 +/sbin/ldconfig
1.66 +
1.67 +%files
1.68 +%defattr(-,root,root)
1.69 +%doc doc/license.html
1.70 +/usr/lib/libstlport_gcc.so
1.71 +#/usr/lib/libstlport_gcc.so.%{version}
1.72 +/usr/lib/libstlport_gcc.so.4.5
1.73 +
1.74 +%files -n STLport-devel
1.75 +%defattr(-,root,root)
1.76 +%doc INSTALL README doc etc test
1.77 +/usr/lib/libstlport_gcc*.a
1.78 +/usr/lib/libstlport_gcc_*debug.so*
1.79 +/usr/include/*
1.80 +
1.81 +%changelog
1.82 +* Mon Dec 10 2001 Levente Farkas <lfarkas@mindmaker.hu>
1.83 +- upgrade to 4.5.1
1.84 +
1.85 +* Fri Nov 16 2001 Levente Farkas <lfarkas@mindmaker.hu>
1.86 +- merge with Harold's changes
1.87 +
1.88 +* Thu Nov 15 2001 <stlport@lanceerplaats.nl>
1.89 +- rebuild for RedHat 7.2, spec file fixes.
1.90 +
1.91 +* Tue Oct 2 2001 Levente Farkas <lfarkas@mindmaker.hu>
1.92 +- upgrade to 4.5
1.93 +
1.94 +* Thu Oct 26 2000 Levente Farkas <lfarkas@mindmaker.hu>
1.95 +- upgrade to 4.1-b3
1.96 +
1.97 +* Thu Jul 17 2000 Levente Farkas <lfarkas@mindmaker.hu>
1.98 +- initial release use STLport-4.0
1.99 +