#%define extraver -rc1 Name: libplib Version: 1.8.5 Release: 3mamba Summary: PLIB: A Suite of Portable Game Libraries. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Tiziano Pratellesi URL: http://plib.sourceforge.net/ Source: http://plib.sourceforge.net/dist/plib-%{version}.tar.gz Patch0: plib-1.8.4-alt-shared.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libGL-devel BuildRequires: libICE-devel BuildRequires: libSM-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXext-devel BuildRequires: libXi-devel BuildRequires: libXmu-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description PLIB includes sound effects, music, a complete 3D engine, font rendering, a simple Windowing library, a game scripting language, a GUI, networking, 3D math library and a collection of handy utility functions. All are 100% portable across nearly all modern computing platforms. Each library component is fairly independent of the others - so if you want to use SDL, GTK, GLUT, or FLTK instead of PLIB's 'PW' windowing library, you can. %package devel Summary: PLIB: A Suite of Portable Game Libraries. Group: Development/Libraries Requires: %{name} = %{version} %description devel This package contains static libraries and header files need for development. %prep %setup -q -n plib-%{version} %patch0 -p1 %build libtoolize ./autogen.sh %configure \ --enable-shared %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/libplib*.so.* #%doc AUTHORS COPYING ChangeLog README README.GLUT README.mac README.win32 %files devel %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog README README.GLUT README.mac README.win32 %{_includedir}/plib/* %{_libdir}/libplib*.a %{_libdir}/libplib*.la %{_libdir}/libplib*.so %changelog * Sun Dec 28 2014 Automatic Build System 1.8.5-3mamba - automatic rebuild by autodist * Mon Jan 04 2010 Ercole 'ercolinux' Carpanetto 1.8.5-2mamba - update to 1.8.5 * Wed Nov 14 2007 Silvan Calarco 1.8.5-1mamba - update to 1.8.5-rc1 - build shared libraries * Mon May 21 2007 Silvan Calarco 1.8.4-3mamba - group entry fixed * Tue Sep 06 2005 Alessandro Ramazzina 1.8.4-2qilnx - rebuild and moved from devel-contrib repository to devel repository * Sat Sep 03 2005 Tiziano Pratellesi 1.8.4-1qilnx - package created by autospec