SDL_ttf-vl.spec 3.8 KB

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