%define major 0 %define apiver 1.2 %define libname %mklibname %{name} %{apiver} %{major} %define develname %mklibname %{name} -d Summary: Simple DirectMedia Layer - network Name: SDL_net Version: 1.2.8 Release: %mkrel 6 License: LGPLv2+ Group: System/Libraries URL: http://www.libsdl.org/projects/SDL_net/ Source0: http://www.libsdl.org/projects/SDL_net/release/%{name}-%{version}.tar.gz BuildRequires: SDL-devel >= 1.2 %description This is an example portable network library for use with SDL. Note that this isn't necessarily how you would want to write a chat program, but it demonstrates how to use the basic features of the network and GUI libraries. %package -n %{libname} Summary: Main library for %{name} Group: System/Libraries Obsoletes: %{_lib}SDL_net1.2 < 1.2.7-2 %description -n %{libname} This package contains the library needed to run programs dynamically linked with %{name}. %package -n %{develname} Summary: Headers for developing programs that will use %{name} Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} Obsoletes: %{_lib}SDL_net1.2-devel < 1.2.7-2 %description -n %{develname} This package contains the headers that programmers will need to develop applications which will use %{name}. %prep %setup -q %build %configure2_5x --disable-static %make %install %makeinstall_std rm -f %buildroot%_libdir/*.la %files -n %{libname} %{_libdir}/lib*%{apiver}.so.%{major}* %files -n %{develname} %doc README CHANGES %{_includedir}/SDL/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/*.pc %changelog * Wed Oct 15 2014 umeabot <umeabot> 1.2.8-6.mga5 + Revision: 745525 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.2.8-5.mga5 + Revision: 687152 - Rebuild to fix library dependencies * Tue Sep 16 2014 umeabot <umeabot> 1.2.8-4.mga5 + Revision: 677656 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 1.2.8-3.mga4 + Revision: 502411 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 1.2.8-2.mga3 + Revision: 345116 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Jan 16 2012 fwang <fwang> 1.2.8-1.mga2 + Revision: 196861 - update file list - new version 1.2.8 * Mon Sep 12 2011 fwang <fwang> 1.2.7-8.mga2 + Revision: 142656 - cleanup spec * Sat Mar 19 2011 boklm <boklm> 1.2.7-7.mga1 + Revision: 74565 - increase release * Sat Jan 15 2011 supp <supp> 1.2.7-1.mga1 + Revision: 18815 - imported package SDL_net * Mon Mar 15 2010 Oden Eriksson <oeriksson@mandriva.com> 1.2.7-6mdv2010.1 + Revision: 520006 - rebuilt for 2010.1 * Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 1.2.7-5mdv2010.0 + Revision: 413011 - rebuild * Sat Mar 21 2009 Funda Wang <fwang@mandriva.org> 1.2.7-4mdv2009.1 + Revision: 359982 - recon is not needed - autoreconf * Wed Jun 18 2008 Thierry Vignaud <tv@mandriva.org> 1.2.7-4mdv2009.0 + Revision: 225429 - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sun Jan 13 2008 Anssi Hannula <anssi@mandriva.org> 1.2.7-3mdv2008.1 + Revision: 151078 - obsolete old library name - provide %%name-devel - versionize obsoletes - do not provide old -devel name * Sun Jan 13 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.2.7-2mdv2008.1 + Revision: 150947 - new license policy - new devel library policy - drop not needed buildrequire on esound-devel (?) - spec file clean - correct libification + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request - buildrequires X11-devel instead of XFree86-devel * Thu Jul 26 2007 Funda Wang <fwang@mandriva.org> 1.2.7-1mdv2008.0 + Revision: 55749 - New version 1.2.7 * Mon May 21 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.2.6-2mdv2008.0 + Revision: 29276 - rebuild * Sun Jan 28 2007 Götz Waschk <waschk@mandriva.org> 1.2.6-1mdv2007.0 + Revision: 114684 - Import SDL_net * Sun Jan 28 2007 Götz Waschk <waschk@mandriva.org> 1.2.6-1mdv2007.1 - rebuild * Fri May 19 2006 Götz Waschk <waschk@mandriva.org> 1.2.6-1mdk - source URL - new version * Sat Jan 07 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 1.2.5-5mdk - Rebuild * Sat Nov 13 2004 Götz Waschk <waschk@linux-mandrake.com> 1.2.5-4mdk - rebuild * Fri Jun 04 2004 Götz Waschk <waschk@linux-mandrake.com> 1.2.5-3mdk - fix build