%define name plib %define version 1.6.0 %define release 2mdk Summary: Steve's Portable Game Library Name: %{name} Version: %{version} Release: %{release} License: LGPL Group: Development/C++ Source: http://plib.sourceforge.net/dist/%{name}-%{version}.tar.bz2 URL: http://plib.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-buildroot # Author: Steve J. Baker <sjbaker1@airmail.net> %description Write games and other realtime interactive applications that are 100% portable across a wide range of hardware and operating systems. %package -n %{name}-devel Summary: Headers for developing programs that will use %{name} Group: Development/C++ Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{name} Provides: %{name} %description -n %{name}-devel This package contains the headers that programmers will need to develop applications which will use %{name}. %prep rm -rf $RPM_BUILD_ROOT %setup -q %build %configure make %install %makeinstall includedir=$RPM_BUILD_ROOT/usr/include/plib %clean rm -rf $RPM_BUILD_ROOT %files -n %{name}-devel %defattr(-, root, root) %doc README COPYING %{_libdir}/lib* %{_includedir}/plib %changelog * Tue Sep 17 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.6.0-2mdk - add missing includes files * Fri Sep 13 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.6.0-1mdk - from David Walser <luigiwalser@yahoo.com> : - 1.6.0 * Wed May 29 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 1.4.2-3mdk - recompile against latest libstdc++ * Thu Oct 18 2001 Daouda LO <daouda@mandrakesoft.com> 1.4.2-2mdk - add a devel package * Thu Aug 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.4.2-1mdk - 1.4.2 * Mon Jun 25 2001 Daouda Lo <daouda@mandrakesoft.com> 1.4.1-1mdk - release 1.4.1 * Fri Jun 22 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 1.4.0-1mdk - version 1.4.0 * Mon Mar 05 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-5mdk - rh patches * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 1.2.0-4mdk - rebuild * Thu Sep 14 2000 Lenny Cartier <lenny@mandrakesoft.com> 1.2.0-3mdk - clean spec * Thu Aug 24 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.2.0-2mdk - added Packager tag - removed hardcoded -O6 * Mon Jul 3 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.2.0-1mdk - 1.2.0 stable release * Thu Jun 29 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 1.0.20-1mdk - first Mandrake Package