SDL_ttf-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Summary: Simple DirectMedia Layer - Sample TrueType Font Library
  2. Name: SDL_ttf
  3. Version: 2.0.11
  4. Release: 1%{?_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*.{a,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*.so
  58. %{_libdir}/pkgconfig/SDL_ttf.pc
  59. %{_includedir}/SDL/
  60. %changelog
  61. * Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.11-1
  62. - new upstream release
  63. * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 2.0.10-1
  64. - new upstream release
  65. - add pkg-config file in devel package
  66. - remove *.a
  67. * Sat May 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.0.9-2
  68. - don't include showfont anymore, as it now comes from xorg-x11-xfs-utils
  69. * Sun Sep 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.9-1
  70. - applied new versioning policy
  71. - spec in UTF-8
  72. - BuildRequires: libXt-devel instead of XOrg-devel
  73. * Sun Sep 02 2007 Shu KONNO <owa@bg.wakwak.com> 2.0.9-0vl1
  74. - updated SDL_ttf to 2.0.9
  75. * Tue Jan 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.8-0vl1
  76. - new upstream release
  77. - added %post and %postun section
  78. * Mon Mar 21 2005 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-0vl2
  79. - fixed included devel package
  80. * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 2.0.7-0vl1
  81. - new upstream release
  82. -- dropped patch1 because it ihas been included
  83. * Tue May 04 2004 Satoshi MACHINO <machino@vinelinux.org> 2.0.6-0vl2
  84. - added japanese description
  85. - changed BuildPreReq to XOrg-devel from XFree86-devel
  86. - added freetype2.patch
  87. - built on SDL-1.2.7
  88. * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 2.0.6-0vl1
  89. - new upstream version
  90. - added automake in BuildPreReq
  91. - used rpmmacros
  92. * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 2.0.5-0vl1
  93. - updated SDL_ttf-2.0.5
  94. - BuildRequires: SDL-devel >= 1.2.4
  95. * Thu Jan 10 2002 akira yamada <akira@vinelinux.org> 2.0.4-0vl1
  96. - new upstream version.
  97. * Sat Oct 27 2001 akira yamada <akira@vinelinux.org> 2.0.3-1vl1
  98. - imported to VineSeed Plus.
  99. * Wed Jan 19 2000 Sam Lantinga
  100. - converted to get package information from configure
  101. * Sun Jan 16 2000 Hakan Tandogan <hakan@iconsult.com>
  102. - initial spec file