]> git.pld-linux.org Git - packages/SDL.git/commitdiff
- update to 0.9.9,
authorkloczek <kloczek@pld-linux.org>
Tue, 11 May 1999 00:27:33 +0000 (00:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- first part modyfications for PLD (still need work).

Changed files:
    SDL.spec -> 1.2

SDL.spec

index 310df0c1acc60835ee5be9a109b418683bada650..ffea618617508a601c11ab3e0c80789a2d9b11c7 100644 (file)
--- a/SDL.spec
+++ b/SDL.spec
@@ -1,46 +1,42 @@
-%define version 0.8.8
-%define release 1TL
-Name: SDL
-Version: %{version}
-Release: %{release}
-Group: X11/Libraries
-Copyright: LGPL
-Source: SDL-0.8.8.tar.gz
-Source1: SDL-demos.tar.gz
-URL: http://www.devolution.com/~slouken/projects/SDL
-BuildRoot: /mnt/c/TEMP/SDL-root
-Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
-
-%package devel
-Group: X11/Libraries
-Summary: SDL - Header files & static libraries
-
-%package extras
-Group: X11/Utilities
-Summary: SDL - Test programs and demos
+Summary:       SDL (Simple DirectMedia Layer) - Game/Multimedia Library
+Name:          SDL
+Version:       0.9.9
+Release:       1
+Group:         X11/Libraries
+Copyright:     LGPL
+Source:                http://www.devolution.com/~slouken/projects/SDL/SDL-0.9/src/%{name}-%{version}.tar.gz
+Source1:       SDL-demos.tar.gz
+URL:           http://www.devolution.com/~slouken/projects/SDL
+BuildRoot:     /tmp/%{name}-%{version}-root
 
 %description
-SDL (Simple DirectMedia Layer) is a library that allows you portable,
-low level access to a video framebuffer, audio output, mouse, and
-keyboard.  It can support both windowed and DGA modes of XFree86, and
-it is designed to be portable - applications linked with SDL can also
-be built on Win32 and BeOS.
+SDL (Simple DirectMedia Layer) is a library that allows you portable, low
+level access to a video framebuffer, audio output, mouse, and keyboard. It
+can support both windowed and DGA modes of XFree86, and it is designed to be
+portable - applications linked with SDL can also be built on Win32 and BeOS.
+
+%package devel
+Group:         X11/Libraries
+Summary:       SDL - Header files & static libraries
 
 %description devel
 SDL - Header files & static libraries
 
+%package extras
+Group:         X11/Utilities
+Summary:       SDL - Test programs and demos
+
 %description extras
 SDL - Test programs and demos
 
 %prep
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT
 %setup -q
 tar -xvzf %{SOURCE1}
 chown -R 0.0 *
 make config <<EOF
 
 EOF
+
 %build
 make DEBUG="$RPM_OPT_FLAGS"
 cd test
@@ -49,7 +45,9 @@ cd ..
 cd SDL-demos
 for i in PTC aliens draw fire flxplay maclib mixer plasma scrap screenlib stars ttflib warp xflame; do (cd $i;make SDL=../../);done;
 cd ..
+
 %install
+rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/usr/bin/SDL
 mkdir -p $RPM_BUILD_ROOT/usr/lib
 mkdir -p $RPM_BUILD_ROOT/usr/include/SDL
@@ -59,23 +57,25 @@ for i in checkkeys graywin loopwave pixelformat testalpha testbitmap testhread t
 for i in PTC aliens draw fire flxplay maclib mixer netlib plasma scrap screenlib stars ttflib warp xflame; do cp -a SDL-demos/$i $RPM_BUILD_ROOT/usr/bin/sdl; done;
 find $RPM_BUILD_ROOT/usr/bin/SDL -name "*.[hco]" | xargs rm -f
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
 %files
+%defattr(644,root,root,755)
 %doc BUGS COPYING INSTALL README TODO WhatsNew docs docs.html
-/usr/lib/libSDLx11.so.0.8
-/usr/lib/libSDLx11.so.0.8.8
+/usr/lib/libSDLx11.so.*.*
 
 %files devel
-/usr/lib/libSDL.a
+%defattr(644,root,root,755)
 /usr/include/SDL
 
+%files static
+%defattr(644,root,root,755)
+/usr/lib/lib*.a
+
 %files extras
+%defattr(644,root,root,755)
 /usr/bin/SDL
This page took 0.070143 seconds and 4 git commands to generate.