SDL_ttf-vl.spec 3.4 KB

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