SDL_ttf-vl.spec 3.7 KB

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