[521] | 1 | Name: STLport |
---|
[2348] | 2 | Version: 5.2.1 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[521] | 4 | Summary: C++ STL library compatible with the latest ANSI/ISO C++ specification |
---|
| 5 | Summary(ja): ANSI/ISO C++ 仕様に沿った C++ 標準テンプレートライブラリ |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: Opensource (Free and Unrestricted) |
---|
| 8 | URL: http://www.stlport.org/ |
---|
| 9 | Source: %{name}-%{version}.tar.bz2 |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | The ANSI/ISO C++ specifcation includes a standard C++ library, also known as |
---|
| 16 | the STL. GCC by default comes with an implementation that does not comply |
---|
| 17 | with this standard, but instead partly implements an older version. STLport |
---|
| 18 | is freely available version, based on the SGI STL implementation. It is |
---|
| 19 | fully-compliant, supported, and very fast. Includes special debugging |
---|
| 20 | facilities, and interesting and useful extensions to the standard. |
---|
| 21 | |
---|
| 22 | %package devel |
---|
| 23 | Summary: STLport development headers and documentation |
---|
| 24 | Summary(ja): STL の開発用ヘッダファイルとドキュメント |
---|
| 25 | Group: Development/Libraries |
---|
| 26 | Requires: %{name} = %{version}-%{release} |
---|
| 27 | |
---|
| 28 | %description devel |
---|
| 29 | Documentarion and headers for STLport |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | %prep |
---|
| 33 | %setup -q |
---|
| 34 | |
---|
[2348] | 35 | |
---|
[521] | 36 | %build |
---|
[2348] | 37 | ./configure \ |
---|
| 38 | --prefix=%{_prefix} \ |
---|
| 39 | --bindir=%{_bindir} \ |
---|
| 40 | --libdir=%{_libdir} \ |
---|
| 41 | --includedir=%{_includedir} \ |
---|
| 42 | --use-compiler-family=gcc \ |
---|
| 43 | --enable-static \ |
---|
| 44 | ; |
---|
| 45 | |
---|
[521] | 46 | pushd build/lib |
---|
[2348] | 47 | export OPT="${RPM_OPT_FLAGS}" |
---|
| 48 | make clean all %{?_smp_mflags} |
---|
[521] | 49 | popd |
---|
| 50 | |
---|
| 51 | |
---|
[2348] | 52 | %check |
---|
| 53 | make check |
---|
[521] | 54 | |
---|
| 55 | |
---|
[2348] | 56 | %install |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
[521] | 59 | |
---|
[2348] | 60 | # fix library path |
---|
| 61 | mv $RPM_BUILD_ROOT$RPM_BUILD_ROOT%{_prefix}/lib/* $RPM_BUILD_ROOT%{_libdir}/ |
---|
| 62 | rm -rf $RPM_BUILD_ROOT/home |
---|
[521] | 63 | |
---|
[2348] | 64 | |
---|
[521] | 65 | %post -p /sbin/ldconfig |
---|
| 66 | %postun -p /sbin/ldconfig |
---|
[2348] | 67 | %post devel -p /sbin/ldconfig |
---|
| 68 | %postun devel -p /sbin/ldconfig |
---|
[521] | 69 | %clean |
---|
| 70 | rm -rf %{buildroot} |
---|
| 71 | |
---|
[2348] | 72 | |
---|
[521] | 73 | %files |
---|
| 74 | %defattr(-,root,root) |
---|
[2348] | 75 | %doc INSTALL INSTALL.unixes README doc etc |
---|
| 76 | %{_libdir}/libstlport.so.* |
---|
| 77 | %{_libdir}/libstlportg.so.* |
---|
| 78 | %{_libdir}/libstlportstlg.so.* |
---|
[521] | 79 | |
---|
| 80 | %files devel |
---|
[2348] | 81 | %defattr(-,root,root) |
---|
[521] | 82 | %{_includedir}/stlport |
---|
[2348] | 83 | %{_libdir}/libstlport*.a |
---|
| 84 | %{_libdir}/libstlport*.so |
---|
[521] | 85 | |
---|
| 86 | |
---|
| 87 | %changelog |
---|
[2348] | 88 | * Tue Dec 14 2010 Shu KONNO <owa@bg.wakwak.com> 5.2.1-1 |
---|
| 89 | - updated STLport to 5.2.1 |
---|
| 90 | |
---|
[521] | 91 | * Sun Oct 12 2008 Shu KONNO <owa@bg.wakwak.com> 5.1.5-2vl5 |
---|
| 92 | - fixed copy option for symlink at %%install |
---|
| 93 | |
---|
| 94 | * Sun Oct 05 2008 Shu KONNO <owa@bg.wakwak.com> 5.1.5-1vl5 |
---|
| 95 | - updated to 5.1.5 |
---|
| 96 | - modified build, install scripts |
---|
| 97 | - applied new versioning policy, spec in utf-8 |
---|
| 98 | |
---|
| 99 | * Wed Dec 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-0vl2 |
---|
| 100 | - fixed typo at Group: |
---|
| 101 | |
---|
| 102 | * Mon Dec 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.2-0vl1 |
---|
| 103 | - updated to 4.6.2 |
---|
| 104 | - rebuilt with new toolchains |
---|
| 105 | - changed Group: |
---|
| 106 | - added Japanese summary |
---|
| 107 | - added %post, %postun section |
---|
| 108 | |
---|
| 109 | * Fri Sep 28 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.0-0vl1 |
---|
| 110 | - built for Vine |
---|