comparison SDL.spec.in @ 1361:19418e4422cb

New configure-based build system. Still work in progress, but much improved
author Sam Lantinga <slouken@libsdl.org>
date Thu, 16 Feb 2006 10:11:48 +0000
parents 609c060fd2a2
children 67781f790694
comparison
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
1 Summary: Simple DirectMedia Layer 1 Summary: Simple DirectMedia Layer
2 Name: @PACKAGE@ 2 Name: SDL
3 Version: @VERSION@ 3 Version: @SDL_VERSION@
4 Release: 1 4 Release: 1
5 Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz 5 Source: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
6 URL: http://www.libsdl.org/ 6 URL: http://www.libsdl.org/
7 License: LGPL 7 License: LGPL
8 Group: System Environment/Libraries 8 Group: System Environment/Libraries
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} \
50 libdir=$RPM_BUILD_ROOT/%{_libdir} \
51 includedir=$RPM_BUILD_ROOT/%{_includedir} \
52 datadir=$RPM_BUILD_ROOT/%{_datadir} \
53 mandir=$RPM_BUILD_ROOT/%{_mandir}
49 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
50 %else 55 %else
51 %makeinstall 56 %makeinstall
52 %endif 57 %endif
53 58
79 %{_libdir}/lib*.a 84 %{_libdir}/lib*.a
80 %{_libdir}/lib*.la 85 %{_libdir}/lib*.la
81 %{_libdir}/lib*.%{__soext} 86 %{_libdir}/lib*.%{__soext}
82 %dir %{_includedir}/SDL 87 %dir %{_includedir}/SDL
83 %{_includedir}/SDL/*.h 88 %{_includedir}/SDL/*.h
89 %{_datadir}/aclocal/*
84 %{_mandir}/man3/* 90 %{_mandir}/man3/*
85 %{_datadir}/aclocal/*
86 91
87 %changelog 92 %changelog
88 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se> 93 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
89 - Added support for Darwin, updated spec file 94 - Added support for Darwin, updated spec file
90 95