/[packages]/updates/8/sdl2/current/SPECS/sdl2.spec
ViewVC logotype

Diff of /updates/8/sdl2/current/SPECS/sdl2.spec

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

revision 494253 by shadow95, Wed Oct 9 20:23:11 2013 UTC revision 495199 by blue_prawn, Fri Oct 11 10:21:47 2013 UTC
# Line 2  Line 2 
2  %define major   0  %define major   0
3  %define libname     %mklibname sdl %{apiver} %{major}  %define libname     %mklibname sdl %{apiver} %{major}
4  %define develname   %mklibname sdl %{apiver} -d  %define develname   %mklibname sdl %{apiver} -d
5    %define develsname  %mklibname sdl %{apiver} -d -s
6    
7  Name:       sdl2  Name:       sdl2
8  Summary:    Simple DirectMedia Layer 2  Summary:    Simple DirectMedia Layer 2
9  Version:    2.0.0  Version:    2.0.0
10  Release:    %mkrel 7  Release:    %mkrel 8
11  License:    Zlib  License:    Zlib
12  Group:      System/Libraries  Group:      System/Libraries
13  URL:        http://wiki.libsdl.org/moin.fcg/FrontPage  URL:        http://wiki.libsdl.org/moin.fcg/FrontPage
# Line 54  Obsoletes:  %{_lib}sdl-devel < 2.0.0-2 Line 55  Obsoletes:  %{_lib}sdl-devel < 2.0.0-2
55  This package contains the headers that programmers will need to develop  This package contains the headers that programmers will need to develop
56  applications which will use %{name}.  applications which will use %{name}.
57    
58    %package -n %{develsname}
59    Summary:    Static library for developing static programs that use %{name}
60    Group:      Development/C
61    
62    %description -n %{develsname}
63    This package contains the static library that programmers will need
64    to develop static applications which are using %{name}.
65    
66  %package docs  %package docs
67  Summary:    Documentation for Simple DirectMedia Layer 2 (SDL2)  Summary:    Documentation for Simple DirectMedia Layer 2 (SDL2)
68  Group:      Documentation  Group:      Documentation
# Line 78  This package contains the generated API Line 87  This package contains the generated API
87          --enable-directfb-shared \          --enable-directfb-shared \
88          --enable-fusionsound-shared \          --enable-fusionsound-shared \
89          --disable-rpath \          --disable-rpath \
90          --disable-static          #End
   
 #from openmandriva  
 sed -i s,"objdir=.libs","objdir=",g libtool  
91    
92  %make  %make
93    
# Line 93  pushd include Line 99  pushd include
99  popd  popd
100    
101  %install  %install
 #from openmandriva  
 rm -rf build/libSDL2.la  
 cp build/libSDL2.lai build/libSDL2.la  
   
102  %makeinstall_std  %makeinstall_std
103    
 #we don't want these  
 find %{buildroot} -name "*.la" -delete  
 find %{buildroot} -name "*.a" -delete  
   
104  %files -n %{libname}  %files -n %{libname}
105  %doc README-SDL.txt README.txt  %doc README-SDL.txt README.txt
106  %doc CREDITS.txt COPYING.txt  %doc CREDITS.txt COPYING.txt
# Line 117  find %{buildroot} -name "*.a" -delete Line 115  find %{buildroot} -name "*.a" -delete
115  %{_datadir}/aclocal/*  %{_datadir}/aclocal/*
116  %{_includedir}/SDL2/*.h  %{_includedir}/SDL2/*.h
117    
118    %files -n %{develsname}
119    %{_libdir}/*.la
120    %{_libdir}/*.a
121    
122  %files docs  %files docs
123  %doc include/html  %doc include/html

Legend:
Removed from v.494253  
changed lines
  Added in v.495199

  ViewVC Help
Powered by ViewVC 1.1.30