Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 773b29e7f57de775fe2aa172f08778f7 > files > 3

plib-1.8.5-3.1.mga1.src.rpm

%define	name	plib
%define	version	1.8.5
%define subrel	1
%define	release	%mkrel 3

Summary:	Steve's Portable Game Library
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	LGPLv2+
Group:		Development/C++
Source0:	http://plib.sourceforge.net/dist/%{name}-%{version}.tar.gz
URL:		http://plib.sourceforge.net/
Patch0:		plib-1.8.5-CVE-2011-4620.diff
Buildrequires:	MesaGLU-devel Mesa-common-devel
BuildRequires:	libxmu-devel
# 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} = %{version}-%{release}

%description -n %{name}-devel
This package contains the headers that programmers will need to develop
applications which will use %{name}.

%prep
%setup -q
%patch0 -p1

%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export LDFLAGS="$RPM_OPT_FLAGS -fPIC"
export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
%configure2_5x
%make

%install
rm -rf %{buildroot}
%{makeinstall} includedir=%{buildroot}%{_includedir}/%{name}

%clean
rm -rf %{buildroot}

%files -n %{name}-devel
%doc README ChangeLog AUTHORS KNOWN_BUGS
%{_libdir}/lib*
%{_includedir}/plib


%changelog

* Sat Apr 07 2012 luigiwalser <luigiwalser> 1.8.5-3.1.mga1
+ Revision: 229467
- fix CVE-2011-4620 (patch0 from debian)

* Thu Feb 17 2011 dmorgan <dmorgan> 1.8.5-3.mga1
+ Revision: 52881
- imported package plib


* Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.8.5-3mdv2010.0
+ Revision: 430746
- rebuild

* Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.8.5-2mdv2009.0
+ Revision: 259099
- rebuild

* Thu Jul 31 2008 Frederik Himpe <fhimpe@mandriva.org> 1.8.5-1mdv2009.0
+ Revision: 258422
- Update to new upstream version 1.8.5

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.8.4-6mdv2009.0
+ Revision: 247022
- rebuild

* Wed Jan 02 2008 Olivier Blin <oblin@mandriva.com> 1.8.4-4mdv2008.1
+ Revision: 140733
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request


* Wed Mar 14 2007 Couriousous <couriousous@mandriva.org> 1.8.4-4mdv2007.1
+ Revision: 143491
- mkrel
- Patch for gcc ( Thanks to baud123 )

  + Jérôme Soyer <saispo@mandriva.org>
    - Import plib

* Sun Oct 09 2005 Couriousous <couriousous@mandriva.org> 1.8.4-3mdk
- Compile with -fPIC

* Thu Jan 20 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8.4-2mdk
- versioned provides

* Thu Jan 20 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8.4-1mdk
- 1.8.4

* Thu Jun 17 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8.3-2mdk
- rebuild

* Sun May 23 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8.3-1mdk
- 1.8.3
- update docs

* Fri Apr 02 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8.2-1mdk
- 1.8.2

* Fri Apr 02 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.8.0-1mdk
- 1.8.0