From: kloczek Date: Tue, 11 Apr 2000 21:06:04 +0000 (+0000) Subject: - raw version. X-Git-Tag: SDL_ttf-1_0_1-2~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2FSDL_ttf.git;a=commitdiff_plain;h=0eb88c47f0d5e1b256232ba6ddd313976049f3a2 - raw version. Changed files: SDL_ttf.spec -> 1.1 --- 0eb88c47f0d5e1b256232ba6ddd313976049f3a2 diff --git a/SDL_ttf.spec b/SDL_ttf.spec new file mode 100644 index 0000000..8821db7 --- /dev/null +++ b/SDL_ttf.spec @@ -0,0 +1,88 @@ +%define name SDL_ttf +%define version 1.0.1 + +Summary: Simple DirectMedia Layer - ttf handling +Name: %{name} +Version: %{version} +Release: 2mdk +Source0: %{name}-%{version}.tar.bz2 +Copyright: LGPL +Group: System/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +URL: http://www.devolution.com/~slouken/SDL/projects/SDL_ttf/ +Prefix: %{_prefix} +Requires: SDL >= 1.0 + +%description +This is a sample library which allows you to use TrueType fonts in your SDL +applications. It comes with an example program "showfont" which displays an +example string for a given TrueType font file. + +Warning! TrueType font decoding is under patent, and software using this +library may be in violation of this patent. Use at your own risk! See +http://www.freetype.org/ for details. + +%package devel +Summary: Libraries, includes and more to develop SDL applications. +Group: Development/C +Requires: %{name} +Requires: SDL-devel + +%description devel +This is a sample library which allows you to use TrueType fonts in your SDL +applications. It comes with an example program "showfont" which displays an +example string for a given TrueType font file. + +Warning! TrueType font decoding is under patent, and software using this +library may be in violation of this patent. Use at your own risk! See +http://www.freetype.org/ for details. + +%prep +rm -rf ${RPM_BUILD_ROOT} + +%setup +#%patch -p1 + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +make + +%install +rm -rf $RPM_BUILD_ROOT +make install prefix=$RPM_BUILD_ROOT/%{prefix} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README COPYING +%{prefix}/bin/showfont +%{prefix}/lib/lib*.so.* + +%files devel +%defattr(-,root,root) +%doc README COPYING CHANGES +%{prefix}/lib/*a +%{prefix}/include/SDL/ +%{prefix}/lib/lib*.so + +%changelog +* Tue Apr 11 2000 Guillaume Cottenceau 1.0.1-2mdk +- added url +- fixed group +- some minor package build fixes +- built against stable SDL version, previous was using 1.1.x devel + +* Fri Feb 11 2000 Lenny Cartier +- new in contribs +- used specfile provided by Hakan Tandogan + +* Sun Jan 16 2000 Hakan Tandogan +- initial spec file