/[packages]/cauldron/SDL_ttf/current/SPECS/SDL_ttf.spec
ViewVC logotype

Diff of /cauldron/SDL_ttf/current/SPECS/SDL_ttf.spec

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

revision 24941 by blino, Wed Jan 19 22:27:40 2011 UTC revision 142702 by fwang, Mon Sep 12 12:43:38 2011 UTC
# Line 7  Line 7 
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.10
10  Release:        %mkrel 1  Release:        %mkrel 3
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.10-linkage.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    
83  %clean  %clean
84  rm -rf %{buildroot}  rm -rf %{buildroot}
85    
 %if %mdkversion < 200900  
 %post -n %{libname} -p /sbin/ldconfig  
 %endif  
   
 %if %mdkversion < 200900  
 %postun -n %{libname} -p /sbin/ldconfig  
 %endif  
   
86  %files -n %{libname}-test  %files -n %{libname}-test
87  %defattr(-,root,root)  %defattr(-,root,root)
88  %{_bindir}/showfont  %{_bindir}/showfont
# Line 100  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.24941  
changed lines
  Added in v.142702

  ViewVC Help
Powered by ViewVC 1.1.30