]> git.pld-linux.org Git - packages/STLport.git/blob - STLport.spec
- updated to 4.5.3 (fix release)
[packages/STLport.git] / STLport.spec
1 Summary:        C++ standard library
2 Summary(pl):    Biblioteki standardowe C++ 
3 Name:           STLport
4 Version:        4.5.3
5 Release:        1
6 License:        distributable (see README.gz)
7 Group:          Libraries
8 Source0:        http://www.stlport.com/archive/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-nodebug.patch
10 URL:            http://www.stlport.org/
11 BuildRequires:  gcc-c++
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Implementation of C++ standard library required by OpenOffice.
16
17 %description -l pl
18 Implementacja standardowej biblioteki C++ wymaganej przez OpenOffice.
19
20 %package devel
21 Summary:        STLport heades files, documentation
22 Summary(pl):    Pliki nag³ówkowe i dokumentacja do STLport
23 Group:          Development/Libraries
24 Requires:       %{name} = %{version}
25
26 %description devel
27 Header files and development documentation for STLport.
28
29 %description -l pl devel
30 Pliki nag³ówkowe i dokumentacja dla STLport.
31
32 %package static
33 Summary:        Static STLport libraries
34 Summary(pl):    Biblioteki statyczne do STLport
35 Group:          Development/Libraries
36 Requires:       %{name}-devel = %{version}
37
38 %description static
39 Static STLport libraries.
40
41 %description -l pl static
42 Biblioteki statyczne do STLport.
43
44 %prep
45 %setup -q
46 %patch0 -p1
47
48 %build
49 cd src
50 CXXFLAGS="%{rpmcflags}" \
51 %{__make} -f gcc.mak 
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
56
57 rm -fr stlport/{BC50,old_hp}
58 cp -fr stlport $RPM_BUILD_ROOT%{_includedir}
59 install lib/*.a $RPM_BUILD_ROOT%{_libdir}
60 install lib/*.so.* $RPM_BUILD_ROOT%{_libdir}
61 ln -sf libstlport_gcc.so.4.5 $RPM_BUILD_ROOT%{_libdir}/libstlport_gcc.so
62
63 gzip -9nf README
64
65 %post   -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_libdir}/*.so.*.*
74
75 %files devel
76 %defattr(644,root,root,755)
77 %doc doc/* *.gz
78 %{_includedir}/stlport
79 %{_libdir}/*.so
80
81 %files static
82 %defattr(644,root,root,755)
83 %{_libdir}/*.a
This page took 0.082275 seconds and 3 git commands to generate.