ftgl-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Summary: A font rendering library for OpenGL
  2. Summary(ja): OpenGL 用のフォントレンダリングライブラリ
  3. Name: ftgl
  4. Version: 2.1.2
  5. Release: 1%{?_dist_release}
  6. License: LGPL
  7. Group: System Environment/Libraries
  8. URL: http://homepages.paradise.net.nz/henryj/code/index.html#FTGL
  9. Source: http://opengl.geek.nz/ftgl/ftgl-%{version}.tar.bz2
  10. Patch0: ftgl-2.0.11-pkgconfig.patch
  11. Patch1: ftgl-2.1.2-gcc4.patch
  12. Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
  13. BuildRequires: freetype2-devel, mesa-libGL-devel, freeglut-devel
  14. BuildRequires: pkgconfig
  15. BuildRequires: doxygen
  16. Requires: freetype2, mesa-libGL
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. FTGL is a free, open source library to enable developers to use arbitrary
  21. fonts in their OpenGL applications. Unlike other OpenGL font libraries
  22. FTGL uses standard font file formats so doesn't need a preprocessing step
  23. to convert the high quality font data into a lesser quality, proprietary
  24. format. FTGL uses the Freetype font library to open and 'decode' the fonts.
  25. It then takes that output and stores it in a format most efficient for
  26. OpenGL rendering.
  27. Rendering modes supported are:
  28. * Bit maps
  29. * Anti aliased pix maps
  30. * Texture maps
  31. * Outlines
  32. * Polygon meshes
  33. * Extruded polygon meshes
  34. %package devel
  35. Summary: Development files for FTGL
  36. Summary(ja): FTGL の開発用ファイル
  37. Group: Development/Libraries
  38. Requires: %{name} = %{version}-%{release}
  39. Requires: freetype2-devel, mesa-libGL-devel
  40. Requires: pkgconfig
  41. %description devel
  42. FTGL is a free, open source library to enable developers to use arbitrary
  43. fonts in their OpenGL applications. Unlike other OpenGL font libraries
  44. FTGL uses standard font file formats so doesn't need a preprocessing step
  45. to convert the high quality font data into a lesser quality, proprietary
  46. format. FTGL uses the Freetype font library to open and 'decode' the fonts.
  47. It then takes that output and stores it in a format most efficient for
  48. OpenGL rendering.
  49. This package contains the libraries and header files necessary to develop
  50. applications with FTGL.
  51. %prep
  52. %setup -q -n FTGL
  53. %patch0 -p1 -b .pkgconfig
  54. %patch1 -p1 -b .gcc
  55. %{_bindir}/find . -type f -name "*.txt" -exec %__chmod 0644 "{}" \;
  56. %build
  57. pushd unix
  58. %configure --enable-shared --disable-static
  59. %__make
  60. popd
  61. %install
  62. %__rm -rf %{buildroot}
  63. pushd unix
  64. %makeinstall
  65. popd
  66. # remove unneeded files
  67. %__rm -f %{buildroot}%{_bindir}/FTGLDemo
  68. %__rm -rf %{buildroot}%{_docdir}
  69. %post
  70. /sbin/ldconfig
  71. %postun
  72. /sbin/ldconfig
  73. %clean
  74. %__rm -rf %{buildroot}
  75. %files
  76. %defattr(-,root,root)
  77. %doc COPYING.txt HISTORY.txt README.txt license.txt
  78. %{_libdir}/lib*.so.*
  79. %files devel
  80. %doc unix/README.txt unix/docs/html
  81. %defattr(-,root,root)
  82. %{_includedir}/FTGL
  83. %{_libdir}/lib*.so
  84. %exclude %{_libdir}/lib*.la
  85. %{_libdir}/pkgconfig/*.pc
  86. %changelog
  87. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.2-1vl5
  88. - applied new versioning policy, spec in utf-8
  89. - excluded lib*.la
  90. * Thu Feb 08 2007 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.1.2-0vl1
  91. - initial build for Vine Linux
  92. * Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 2.1.2-1mdv2007.0
  93. + Revision: 113842
  94. - Import ftgl
  95. * Fri Jan 26 2007 Götz Waschk <waschk@mandriva.org> 2.1.2-1mdv2007.1
  96. - fix build
  97. - new version
  98. * Wed Aug 23 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 2.0.11-5mdv2007.0
  99. - fix correct usage of %%mklibname
  100. * Tue Aug 22 2006 Per Øyvind Karlsen <pkarlsen@mandriva.com> 2.0.11-4mdv2007.0
  101. - rebuild for new xorg
  102. - %%mkrel
  103. * Sun Jan 08 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 2.0.11-3mdk
  104. - Rebuild
  105. * Sun Nov 21 2004 Abel Cheung <deaddog@mandrake.org> 2.0.11-2mdk
  106. - Fix build (thx Stefan's bot)
  107. * Thu Nov 04 2004 Abel Cheung <deaddog@mandrake.org> 2.0.11-1mdk
  108. - First Mandrake package
  109. - Patch0: Patch .pc file to use freetype2.pc