]> git.pld-linux.org Git - packages/STLport.git/blob - STLport.spec
- adding es/fr/pt_BR/ru/uk (and eventually de) Group translations
[packages/STLport.git] / STLport.spec
1 Summary:        C++ standard library
2 Summary(pl):    Biblioteki standardowe C++ 
3 Name:           STLport
4 Version:        4.5.1
5 Release:        1
6 License:        distributable (see README.gz)
7 Group:          Libraries
8 Group(de):      Libraries
9 Group(es):      Bibliotecas
10 Group(fr):      Librairies
11 Group(pl):      Biblioteki
12 Group(pt_BR):   Bibliotecas
13 Group(ru):      âÉÂÌÉÏÔÅËÉ
14 Group(uk):      â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.stlport.com/archive/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-nodebug.patch
17 URL:            http://www.stlport.org/
18 BuildRequires:  gcc-c++
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Implementation of C++ standard library required by OpenOffice.
23
24 %description -l pl
25 Implementacja standardowej biblioteki C++ wymaganej przez OpenOffice.
26
27 %package devel
28 Summary:        STLport heades files, documentation
29 Summary(pl):    Pliki nag³ówkowe i dokumentacja do STLport
30 Group:          Development/Libraries
31 Group(de):      Entwicklung/Libraries
32 Group(es):      Desarrollo/Bibliotecas
33 Group(fr):      Development/Librairies
34 Group(pl):      Programowanie/Biblioteki
35 Group(pt_BR):   Desenvolvimento/Bibliotecas
36 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
37 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Header files and development documentation for STLport.
42
43 %description -l pl devel
44 Pliki nag³ówkowe i dokumentacja dla STLport.
45
46 %package static
47 Summary:        Static STLport libraries
48 Summary(pl):    Biblioteki statyczne do STLport
49 Group:          Development/Libraries
50 Group(de):      Entwicklung/Libraries
51 Group(es):      Desarrollo/Bibliotecas
52 Group(fr):      Development/Librairies
53 Group(pl):      Programowanie/Biblioteki
54 Group(pt_BR):   Desenvolvimento/Bibliotecas
55 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
56 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
57 Requires:       %{name}-devel = %{version}
58
59 %description static
60 Static STLport libraries.
61
62 %description -l pl static
63 Biblioteki statyczne do STLport.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68
69 %build
70 cd src
71 CXXFLAGS="%{rpmcflags}" \
72 %{__make} -f gcc.mak 
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir}}
77
78 rm -fr stlport/{BC50,old_hp}
79 cp -fr stlport $RPM_BUILD_ROOT%{_includedir}
80 install lib/*.a $RPM_BUILD_ROOT%{_libdir}
81 install lib/*.so* $RPM_BUILD_ROOT%{_libdir}
82
83 gzip -9nf README
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/*.so.*.*
94
95 %files devel
96 %defattr(644,root,root,755)
97 %doc doc/* *.gz
98 %{_includedir}/stlport
99 %{_libdir}/*.so
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/*.a
This page took 0.038944 seconds and 4 git commands to generate.