SDL.spec.in
changeset 1390 67781f790694
parent 1361 19418e4422cb
child 1588 e20dcef5647c
equal deleted inserted replaced
1389:ce65f014190a 1390:67781f790694
    43 make
    43 make
    44 
    44 
    45 %install
    45 %install
    46 rm -rf $RPM_BUILD_ROOT
    46 rm -rf $RPM_BUILD_ROOT
    47 %ifos linux
    47 %ifos linux
    48 make install prefix=$RPM_BUILD_ROOT/%{prefix} \
    48 make install prefix=$RPM_BUILD_ROOT%{prefix} \
    49              bindir=$RPM_BUILD_ROOT/%{_bindir} \
    49              bindir=$RPM_BUILD_ROOT%{_bindir} \
    50              libdir=$RPM_BUILD_ROOT/%{_libdir} \
    50              libdir=$RPM_BUILD_ROOT%{_libdir} \
    51              includedir=$RPM_BUILD_ROOT/%{_includedir} \
    51              includedir=$RPM_BUILD_ROOT%{_includedir} \
    52              datadir=$RPM_BUILD_ROOT/%{_datadir} \
    52              datadir=$RPM_BUILD_ROOT%{_datadir} \
    53              mandir=$RPM_BUILD_ROOT/%{_mandir}
    53              mandir=$RPM_BUILD_ROOT%{_mandir}
    54 ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT/%{prefix}/lib/libSDL-1.1.so.0
    54 ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{prefix}/lib/libSDL-1.1.so.0
    55 %else
    55 %else
    56 %makeinstall
    56 %makeinstall
    57 %endif
    57 %endif
    58 
    58 
    59 %clean
    59 %clean