1 %define MAKEFILE gcc
-linux.mak
3 Summary: Complete C
++ standard library
7 Copyright: free
(see license
), see
/usr
/share
/doc
/%{name}-%{version}/license.html
8 URL: http
://www.stlport.org
/
9 Packager: Levente Farkas
<lfarkas@mindmaker.hu
>
10 Group: System Environment
/Languages
11 Icon: stlport_powered_white.gif
12 Source0: http
://www.stlport.org
/archive
/%{name}-%{version}.tar.gz
13 Patch0: STLport
-rename.patch
14 #Patch1: STLport-rules.patch
15 #Patch2: STLport-install-dir.patch
16 Buildroot: %{_tmppath}/%{name}-%{version}-%
(id
-u
-n
)
19 STLport is a multiplatform STL implementation based on SGI STL.
20 This package contains the runtime library
for STLport.
22 %package -n STLport
-devel
23 Summary: Complete C
++ standard library header files and libraries
24 Group: Development
/Libraries
25 Requires: STLport
= %{version}
27 %description -n STLport
-devel
28 STLport is a multiplatform STL implementation based on SGI STL. Complete
29 C
++ standard library
, including
<complex
> and SGI STL iostreams. If you
30 would like to use your code with STLport add
31 "
-nostdinc
++ -I
/usr
/include
/stlport" when compile and
-lstlport_gcc when
32 link
(eg
: gcc
-nostdinc
++ -I
/usr
/include
/stlport x.cc
-lstlport_gcc
).
42 make -f
%{MAKEFILE} INSTALLDIR
=$RPM_BUILD_ROOT
/usr clean all
45 rm -rf $RPM_BUILD_ROOT
47 make -f
%{MAKEFILE} INSTALLDIR
=$RPM_BUILD_ROOT
/usr
install
48 cd $RPM_BUILD_ROOT
/usr
/include
/stlport
52 rm -rf $RPM_BUILD_ROOT
54 %post -p
/sbin
/ldconfig
56 %postun -p
/sbin
/ldconfig
58 %post -n STLport
-devel
61 %postun -n STLport
-devel
67 /usr
/lib
/libstlport_gcc.so
68 #/usr/lib/libstlport_gcc.so.%{version}
69 /usr
/lib
/libstlport_gcc.so
.4.5
71 %files -n STLport
-devel
73 %doc INSTALL README doc etc
test
74 /usr
/lib
/libstlport_gcc
*.a
75 /usr
/lib
/libstlport_gcc_
*debug.so
*
79 * Mon Dec
10 2001 Levente Farkas
<lfarkas@mindmaker.hu
>
82 * Fri Nov
16 2001 Levente Farkas
<lfarkas@mindmaker.hu
>
83 - merge with Harold's changes
85 * Thu Nov
15 2001 <stlport@lanceerplaats.nl
>
86 - rebuild
for RedHat
7.2, spec file fixes.
88 * Tue Oct
2 2001 Levente Farkas
<lfarkas@mindmaker.hu
>
91 * Thu Oct
26 2000 Levente Farkas
<lfarkas@mindmaker.hu
>
94 * Thu Jul
17 2000 Levente Farkas
<lfarkas@mindmaker.hu
>
95 - initial release use STLport
-4.0