]> git.pld-linux.org Git - packages/SDL_ttf.git/blobdiff - SDL_ttf.spec
- massive attack: adding Source-md5
[packages/SDL_ttf.git] / SDL_ttf.spec
index 6b0d6d151e28b002e431968be6c1cf5fc1b242d2..8b6e28e965b23b7b1168570094ce5f1c74a4c183 100644 (file)
@@ -2,21 +2,20 @@ Summary:      Simple DirectMedia Layer - ttf handling
 Summary(pl):   Biblioteka obs³ugi fontów TTF
 Summary(pt_BR):        Simple DirectMedia Layer - Biblioteca de fontes TrueType
 Name:          SDL_ttf
-Version:       2.0.5
+Version:       2.0.6
 Release:       1
 License:       LGPL
 Group:         Libraries
 Source0:       http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
+# Source0-md5: 880ca22ac3e8beb5cca2326cc8069733
 URL:           http://www.libsdl.org/projects/SDL_ttf/
-BuildRequires: SDL-devel >= 1.2.3
+BuildRequires: SDL-devel >= 1.2.5-2
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: freetype-devel >= 2.0.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-
 %description
 This is a sample library which allows you to use TrueType fonts in
 your SDL applications. It comes with an example program "sdlfont"
@@ -81,12 +80,11 @@ rm -f missing
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-mv -f $RPM_BUILD_ROOT%{_bindir}/showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
-
-gzip -9nf README CHANGES
+install showfont $RPM_BUILD_ROOT%{_bindir}/sdlfont
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -96,12 +94,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README CHANGES
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc {README,CHANGES}.gz
 %{_includedir}/SDL/*
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
This page took 0.393395 seconds and 4 git commands to generate.