SDL.spec.in
changeset 1361 19418e4422cb
parent 1133 609c060fd2a2
child 1390 67781f790694
     1.1 --- a/SDL.spec.in	Fri Feb 10 07:29:08 2006 +0000
     1.2 +++ b/SDL.spec.in	Thu Feb 16 10:11:48 2006 +0000
     1.3 @@ -1,6 +1,6 @@
     1.4  Summary: Simple DirectMedia Layer
     1.5 -Name: @PACKAGE@
     1.6 -Version: @VERSION@
     1.7 +Name: SDL
     1.8 +Version: @SDL_VERSION@
     1.9  Release: 1
    1.10  Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
    1.11  URL: http://www.libsdl.org/
    1.12 @@ -45,7 +45,12 @@
    1.13  %install
    1.14  rm -rf $RPM_BUILD_ROOT
    1.15  %ifos linux
    1.16 -make install prefix=$RPM_BUILD_ROOT/%{prefix}
    1.17 +make install prefix=$RPM_BUILD_ROOT/%{prefix} \
    1.18 +             bindir=$RPM_BUILD_ROOT/%{_bindir} \
    1.19 +             libdir=$RPM_BUILD_ROOT/%{_libdir} \
    1.20 +             includedir=$RPM_BUILD_ROOT/%{_includedir} \
    1.21 +             datadir=$RPM_BUILD_ROOT/%{_datadir} \
    1.22 +             mandir=$RPM_BUILD_ROOT/%{_mandir}
    1.23  ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT/%{prefix}/lib/libSDL-1.1.so.0
    1.24  %else
    1.25  %makeinstall
    1.26 @@ -81,8 +86,8 @@
    1.27  %{_libdir}/lib*.%{__soext}
    1.28  %dir %{_includedir}/SDL
    1.29  %{_includedir}/SDL/*.h
    1.30 +%{_datadir}/aclocal/*
    1.31  %{_mandir}/man3/*
    1.32 -%{_datadir}/aclocal/*
    1.33  
    1.34  %changelog
    1.35  * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>