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