SDL.spec.in
changeset 0 74212992fb08
child 84 c7f1b0647448
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/SDL.spec.in	Thu Apr 26 16:45:43 2001 +0000
     1.3 @@ -0,0 +1,90 @@
     1.4 +%define name @PACKAGE@
     1.5 +%define version @VERSION@
     1.6 +%define release 1
     1.7 +
     1.8 +Summary: Simple DirectMedia Layer
     1.9 +Name: %{name}
    1.10 +Version: %{version}
    1.11 +Release: %{release}
    1.12 +Source0: %{name}-%{version}.tar.gz
    1.13 +URL: http://www.libsdl.org/
    1.14 +Copyright: LGPL
    1.15 +Group: System Environment/Libraries
    1.16 +BuildRoot: /var/tmp/%{name}-buildroot
    1.17 +Prefix: %{_prefix}
    1.18 +
    1.19 +%description
    1.20 +This is the Simple DirectMedia Layer, a generic API that provides low
    1.21 +level access to audio, keyboard, mouse, and display framebuffer across
    1.22 +multiple platforms.
    1.23 +
    1.24 +%package devel
    1.25 +Summary: Libraries, includes and more to develop SDL applications.
    1.26 +Group: Development/Libraries
    1.27 +Requires: %{name}
    1.28 +
    1.29 +%description devel
    1.30 +This is the Simple DirectMedia Layer, a generic API that provides low
    1.31 +level access to audio, keyboard, mouse, and display framebuffer across
    1.32 +multiple platforms.
    1.33 +
    1.34 +This is the libraries, include files and other resources you can use
    1.35 +to develop SDL applications.
    1.36 +
    1.37 +
    1.38 +%prep
    1.39 +rm -rf ${RPM_BUILD_ROOT}
    1.40 +
    1.41 +%setup -q 
    1.42 +
    1.43 +%build
    1.44 +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --disable-video-svga --disable-video-ggi --disable-video-aalib --disable-debug --enable-xfree86-glidehack
    1.45 +make
    1.46 +
    1.47 +%install
    1.48 +rm -rf $RPM_BUILD_ROOT
    1.49 +make install prefix=$RPM_BUILD_ROOT/%{prefix}
    1.50 +
    1.51 +%clean
    1.52 +rm -rf $RPM_BUILD_ROOT
    1.53 +
    1.54 +%files
    1.55 +%defattr(-,root,root)
    1.56 +%doc README-SDL.txt COPYING CREDITS BUGS
    1.57 +%{prefix}/lib/lib*.so.*
    1.58 +
    1.59 +%files devel
    1.60 +%defattr(-,root,root)
    1.61 +%doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
    1.62 +%doc docs/index.html docs/html
    1.63 +%{prefix}/bin/*-config
    1.64 +%{prefix}/lib/lib*.a
    1.65 +%{prefix}/lib/lib*.so
    1.66 +%{prefix}/include/SDL/
    1.67 +%{prefix}/man/man3/*
    1.68 +%{prefix}/share/aclocal/*
    1.69 +
    1.70 +%changelog
    1.71 +* Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
    1.72 +- Re-integrated spec file into SDL distribution
    1.73 +- 'name' and 'version' come from configure 
    1.74 +- Some of the documentation is devel specific
    1.75 +- Removed SMP support from %build - it doesn't work with libtool anyway
    1.76 +
    1.77 +* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
    1.78 +- Hacked Mandrake sdl spec to build 1.1
    1.79 +
    1.80 +* Sun Dec 19 1999 John Buswell <johnb@mandrakesoft.com>
    1.81 +- Build Release
    1.82 +
    1.83 +* Sat Dec 18 1999 John Buswell <johnb@mandrakesoft.com>
    1.84 +- Add symlink for libSDL-1.0.so.0 required by sdlbomber
    1.85 +- Added docs
    1.86 +
    1.87 +* Thu Dec 09 1999 Lenny Cartier <lenny@mandrakesoft.com>
    1.88 +- v 1.0.0
    1.89 +
    1.90 +* Mon Nov  1 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
    1.91 +- First spec file for Mandrake distribution.
    1.92 +
    1.93 +# end of file