SDL_ttf-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Summary: Simple DirectMedia Layer - Sample TrueType Font Library
  2. Name: SDL_ttf
  3. Version: 2.0.9
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: LGPL
  7. Source0: http://www.libsdl.org/projects/SDL_ttf/src/%{name}-%{version}.tar.gz
  8. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  9. BuildRequires: SDL-devel >= 1.2.4
  10. BuildRequires: esound-devel
  11. BuildRequires: freetype2-devel
  12. BuildRequires: libXt-devel
  13. BuildRequires: libtool, autoconf, automake
  14. %description
  15. This library allows you to use TrueType fonts to render text in SDL
  16. applications.
  17. %description -l ja
  18. このライブラリはSDLアプリケーションに於て、
  19. TrueTypeフォントを使用してtextをレンダリングするためのライブラリです。
  20. %package devel
  21. Summary: Libraries, includes and more to develop SDL applications.
  22. Group: Development/Libraries
  23. Requires: %{name} = %{version}
  24. Requires: SDL-devel
  25. %description devel
  26. This library allows you to use TrueType fonts to render text in SDL
  27. applications.
  28. %description devel -l ja
  29. このライブラリはSDLアプリケーションに於て、
  30. TrueTypeフォントを使用してtextをレンダリングするためのライブラリです。
  31. %prep
  32. rm -rf $RPM_BUILD_ROOT
  33. %setup
  34. %build
  35. %configure
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. %makeinstall
  40. # install binary
  41. #%__mkdir_p $RPM_BUILD_ROOT%{_bindir}
  42. #/bin/sh ./libtool --mode=install /usr/bin/install -c showfont \
  43. #$RPM_BUILD_ROOT%{_bindir}
  44. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %doc README CHANGES COPYING
  52. %doc showfont.c
  53. #%{_bindir}/showfont*
  54. %{_libdir}/lib*.so.*
  55. %files devel
  56. %defattr(-,root,root)
  57. %{_libdir}/lib*.a
  58. %{_libdir}/lib*.so
  59. %{_includedir}/SDL/
  60. %changelog
  61. * Sat May 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.0.9-2
  62. - don't include showfont anymore, as it now comes from xorg-x11-xfs-utils
  63. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.9-1
  64. - applied new versioning policy
  65. - spec in UTF-8
  66. - BuildRequires: libXt-devel instead of XOrg-devel
  67. * Sun Sep 02 2007 Shu KONNO <owa@bg.wakwak.com> 2.0.9-0vl1
  68. - updated SDL_ttf to 2.0.9
  69. * Tue Jan 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.8-0vl1
  70. - new upstream release
  71. - added %post and %postun section
  72. * Mon Mar 21 2005 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-0vl2
  73. - fixed included devel package
  74. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-0vl1
  75. - new upstream release
  76. -- dropped patch1 because it ihas been included
  77. * Tue May 04 2004 Satoshi MACHINO <machino@vinelinux.org> 2.0.6-0vl2
  78. - added japanese description
  79. - changed BuildPreReq to XOrg-devel from XFree86-devel
  80. - added freetype2.patch
  81. - built on SDL-1.2.7
  82. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.6-0vl1
  83. - new upstream version
  84. - added automake in BuildPreReq
  85. - used rpmmacros
  86. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.5-0vl1
  87. - updated SDL_ttf-2.0.5
  88. - BuildRequires: SDL-devel >= 1.2.4
  89. * Thu Jan 10 2002 akira yamada <akira@vinelinux.org> 2.0.4-0vl1
  90. - new upstream version.
  91. * Sat Oct 27 2001 akira yamada <akira@vinelinux.org> 2.0.3-1vl1
  92. - imported to VineSeed Plus.
  93. * Wed Jan 19 2000 Sam Lantinga
  94. - converted to get package information from configure
  95. * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
  96. - initial spec file