/[packages]/updates/3/SDL_ttf/current/SPECS/SDL_ttf.spec
ViewVC logotype

Diff of /updates/3/SDL_ttf/current/SPECS/SDL_ttf.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24947 by blino, Wed Jan 19 22:29:34 2011 UTC revision 196866 by fwang, Mon Jan 16 14:09:50 2012 UTC
# Line 6  Line 6 
6    
7  Summary:        Simple DirectMedia Layer - Sample TrueType Font Library  Summary:        Simple DirectMedia Layer - Sample TrueType Font Library
8  Name:           SDL_ttf  Name:           SDL_ttf
9  Version:        2.0.10  Version:        2.0.11
10  Release:        %mkrel 2  Release:        %mkrel 1
11  License:        LGPLv2+  License:        LGPLv2+
12  Group:          System/Libraries  Group:          System/Libraries
13  URL:            http://www.libsdl.org/projects/SDL_ttf/  URL:            http://www.libsdl.org/projects/SDL_ttf/
14  Source0:        http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz  Source0:        http://www.libsdl.org/projects/SDL_ttf/release/%{name}-%{version}.tar.gz
15    Patch0:         SDL_ttf-2.0.11-link.patch
16  BuildRequires:  SDL-devel  BuildRequires:  SDL-devel
17  BuildRequires:  freetype2-devel >= 2.1.7  BuildRequires:  freetype2-devel >= 2.1.7
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  
18    
19  %description  %description
20  This is a sample library which allows you to use TrueType fonts in your SDL  This is a sample library which allows you to use TrueType fonts in your SDL
# Line 65  This package contains binary to test the Line 65  This package contains binary to test the
65    
66  %prep  %prep
67  %setup -q  %setup -q
68    %patch0 -p0
69    
70  %build  %build
71  export CFLAGS="%{optflags} -lm"  %configure2_5x --disable-static
 %configure2_5x  
72  %make  %make
73    
74  %install  %install
75  rm -rf %{buildroot}  rm -rf %{buildroot}
76  %makeinstall_std  %makeinstall_std
77    
78    rm -f %{buildroot}%{_libdir}/*.la
79    
80  install -d %{buildroot}%{_bindir}  install -d %{buildroot}%{_bindir}
81  install -m755 .libs/{showfont,glfont} %{buildroot}%{_bindir}  install -m755 .libs/{showfont,glfont} %{buildroot}%{_bindir}
82    
# Line 92  rm -rf %{buildroot} Line 95  rm -rf %{buildroot}
95  %files -n %{develname}  %files -n %{develname}
96  %defattr(-,root,root)  %defattr(-,root,root)
97  %doc README CHANGES  %doc README CHANGES
 %{_libdir}/*a  
98  %{_libdir}/lib*.so  %{_libdir}/lib*.so
99  %{_includedir}/SDL/*  %{_includedir}/SDL/*
100  %{_libdir}/pkgconfig/*.pc  %{_libdir}/pkgconfig/*.pc
   
   

Legend:
Removed from v.24947  
changed lines
  Added in v.196866

  ViewVC Help
Powered by ViewVC 1.1.30