os/ossrv/genericopenlibs/cppstdlib/stl/etc/STLport-4.5.1.spec
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
%define MAKEFILE gcc-linux.mak
sl@0
     2
sl@0
     3
Summary: Complete C++ standard library
sl@0
     4
Name: STLport
sl@0
     5
Version: 4.5.1
sl@0
     6
Release: 1
sl@0
     7
Copyright: free (see license), see /usr/share/doc/%{name}-%{version}/license.html
sl@0
     8
URL: http://www.stlport.org/
sl@0
     9
Packager: Levente Farkas <lfarkas@mindmaker.hu>
sl@0
    10
Group: System Environment/Languages
sl@0
    11
Icon: stlport_powered_white.gif
sl@0
    12
Source0: http://www.stlport.org/archive/%{name}-%{version}.tar.gz
sl@0
    13
Patch0: STLport-rename.patch
sl@0
    14
#Patch1: STLport-rules.patch
sl@0
    15
#Patch2: STLport-install-dir.patch
sl@0
    16
Buildroot: %{_tmppath}/%{name}-%{version}-%(id -u -n)
sl@0
    17
sl@0
    18
%description
sl@0
    19
STLport is a multiplatform STL implementation based on SGI STL.
sl@0
    20
This package contains the runtime library for STLport.
sl@0
    21
sl@0
    22
%package -n STLport-devel
sl@0
    23
Summary: Complete C++ standard library header files and libraries
sl@0
    24
Group: Development/Libraries
sl@0
    25
Requires: STLport = %{version}
sl@0
    26
sl@0
    27
%description -n STLport-devel
sl@0
    28
STLport is a multiplatform STL implementation based on SGI STL. Complete   
sl@0
    29
C++ standard library, including <complex> and SGI STL iostreams. If you
sl@0
    30
would like to use your code with STLport add
sl@0
    31
"-nostdinc++ -I/usr/include/stlport" when compile and -lstlport_gcc when
sl@0
    32
link (eg: gcc -nostdinc++ -I/usr/include/stlport x.cc -lstlport_gcc).
sl@0
    33
sl@0
    34
%prep
sl@0
    35
%setup
sl@0
    36
%patch0 -p1
sl@0
    37
#%patch1 -p1
sl@0
    38
#%patch2 -p1
sl@0
    39
sl@0
    40
%build
sl@0
    41
cd src
sl@0
    42
make -f %{MAKEFILE} INSTALLDIR=$RPM_BUILD_ROOT/usr clean all
sl@0
    43
sl@0
    44
%install
sl@0
    45
rm -rf $RPM_BUILD_ROOT
sl@0
    46
cd src
sl@0
    47
make -f %{MAKEFILE} INSTALLDIR=$RPM_BUILD_ROOT/usr install
sl@0
    48
cd $RPM_BUILD_ROOT/usr/include/stlport
sl@0
    49
ln -s . ext
sl@0
    50
sl@0
    51
%clean
sl@0
    52
rm -rf $RPM_BUILD_ROOT
sl@0
    53
sl@0
    54
%post -p /sbin/ldconfig
sl@0
    55
sl@0
    56
%postun -p /sbin/ldconfig
sl@0
    57
sl@0
    58
%post -n STLport-devel
sl@0
    59
/sbin/ldconfig
sl@0
    60
sl@0
    61
%postun -n STLport-devel
sl@0
    62
/sbin/ldconfig
sl@0
    63
sl@0
    64
%files
sl@0
    65
%defattr(-,root,root)
sl@0
    66
%doc doc/license.html
sl@0
    67
/usr/lib/libstlport_gcc.so
sl@0
    68
#/usr/lib/libstlport_gcc.so.%{version}
sl@0
    69
/usr/lib/libstlport_gcc.so.4.5
sl@0
    70
sl@0
    71
%files -n STLport-devel
sl@0
    72
%defattr(-,root,root)
sl@0
    73
%doc INSTALL README doc etc test
sl@0
    74
/usr/lib/libstlport_gcc*.a
sl@0
    75
/usr/lib/libstlport_gcc_*debug.so*
sl@0
    76
/usr/include/*
sl@0
    77
sl@0
    78
%changelog
sl@0
    79
* Mon Dec 10 2001 Levente Farkas <lfarkas@mindmaker.hu>
sl@0
    80
- upgrade to 4.5.1
sl@0
    81
sl@0
    82
* Fri Nov 16 2001 Levente Farkas <lfarkas@mindmaker.hu>
sl@0
    83
- merge with Harold's changes
sl@0
    84
sl@0
    85
* Thu Nov 15 2001 <stlport@lanceerplaats.nl>
sl@0
    86
- rebuild for RedHat 7.2, spec file fixes.
sl@0
    87
sl@0
    88
* Tue Oct  2 2001 Levente Farkas <lfarkas@mindmaker.hu>
sl@0
    89
- upgrade to 4.5
sl@0
    90
sl@0
    91
* Thu Oct 26 2000 Levente Farkas <lfarkas@mindmaker.hu>
sl@0
    92
- upgrade to 4.1-b3
sl@0
    93
sl@0
    94
* Thu Jul 17 2000 Levente Farkas <lfarkas@mindmaker.hu>
sl@0
    95
- initial release use STLport-4.0
sl@0
    96