libstdc++2_10-compat-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. %define release 0vl5
  2. %define STDC_VERSION 2.10.0
  3. %define STDC_PKG_NAME libstdc++2_10
  4. Summary: C++ compatibility library for the GNU Compiler Collection.
  5. Name: %{STDC_PKG_NAME}-compat
  6. Version: %{STDC_VERSION}
  7. Release: %{release}
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: GPL
  11. Group: System Environment/Libraries
  12. Buildarch: noarch
  13. Buildroot: %{_tmppath}/%{name}-%{version}-root
  14. Provides: libstdc++-libc6.1-2.so.3
  15. Provides: libstdc++-libc6.2-2.so.3
  16. Prereq: %{STDC_PKG_NAME} >= %{STDC_VERSION}-2vl23, glibc >= 2.3
  17. %description
  18. GNU C++ compatibility runtime Libraries for programs linked against
  19. glibc 2.1.x and glibc-2.2.x.
  20. %prep
  21. %build
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. mkdir -p $RPM_BUILD_ROOT%{_libdir}
  25. pushd $RPM_BUILD_ROOT%{_libdir}
  26. ln -sf libstdc++-3-libc6.3-2-%{STDC_VERSION}.so libstdc++-libc6.1-2.so.3
  27. ln -sf libstdc++-3-libc6.3-2-%{STDC_VERSION}.so libstdc++-libc6.2-2.so.3
  28. popd
  29. %clean
  30. rm -rf $RPM_BUILD_ROOT
  31. %post -p /sbin/ldconfig
  32. %postun -p /sbin/ldconfig
  33. %files
  34. %defattr(-,root,root)
  35. %{_libdir}/libstdc++-libc6.1-2.so.3
  36. %{_libdir}/libstdc++-libc6.2-2.so.3
  37. %changelog
  38. * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.0-0vl5
  39. - changed Group to System Environment/Libraries
  40. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.10.0-0vl4
  41. - rebuild
  42. * Sun Nov 24 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.10.0-0vl2
  43. - modified for glibc-2.3.x
  44. * Wed Dec 12 2001 Tomoya TAKA <taka@vinelinux.org> 2.10.0-0vl1
  45. - initial package