%define name simgear %define oname SimGear %define version 0.3.10 %define release %mkrel 3 %define lib_name_orig lib%{name} %define lib_major 0 %define lib_name %mklibname %{name} %{lib_major} %define lib_name_devel %mklibname %{name} %{lib_major} -d Summary: Basic tools for Simulation Name: %{name} Version: %{version} Release: %{release} URL: http://www.simgear.org/ License: LGPL Group: System/Libraries Source: ftp://ftp.simgear.org/pub/simgear/Source/%{oname}-%{version}.tar.bz2 Patch0: SimGear-0.3.10-fix-x86_64.patch.bz2 BuildRequires: autoconf2.5 BuildRequires: plib BuildRequires: Mesa-common-devel BuildRequires: zlib-devel BuildRequires: openal-devel BuildRequires: jpeg-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot # Author: Curtis Olson <curt@flightgear.org> %description All the basic routines required for the flight simulator as well as for building scenery. Needed for FlightGear, for example. %package -n %{lib_name_devel} Summary: Headers/misc for developing programs that will use %{name} Group: Development/C++ Obsoletes: SimGear-devel Provides: SimGear-devel = %{version}-%{release} %{lib_name_orig}-devel = %{version}-%{release} %description -n %{lib_name_devel} This package contains the headers that programmers will need to develop applications which will use %{name}, for example FlightGear. %prep %setup -q -n %{oname}-%{version} %patch0 -p1 ./autogen.sh %build # (gc) workaround g++ exception bug when -fomit-frame-pointer is set export CFLAGS="$RPM_OPT_FLAGS -fno-omit-frame-pointer" CXXFLAGS="$RPM_OPT_FLAGS -fno-omit-frame-pointer" # (peroyvind) seems to build now:) %configure --with-jpeg-factory # (peroyvind) does'nt seem to handle several jobs, so don't use any macro make %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} %clean rm -rf $RPM_BUILD_ROOT %files -n %{lib_name_devel} %defattr(-, root, root) %doc README %{_libdir}/*.*a %{_includedir}/* %changelog * Sat Jul 29 2006 Bertrand Coconnier <bcoconni@hotmail.com> 0.3.10-3mdk - Build for x86_64 - Remove dependency * Thu Apr 20 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.3.10-2mdk - Add BuildRequires * Wed Apr 19 2006 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 0.3.10-1mdk - 0.3.10 * Mon Nov 21 2005 Lenny Cartier <lenny@mandriva.com> 0.3.9-2mdk - fix changelog * Mon Nov 21 2005 Lenny Cartier <lenny@mandriva.com> 0.3.9-1mdk - 0.3.9 * Thu Jan 20 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.8-1mdk - 0.3.8 * Sat Oct 16 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.7-1mdk - 0.3.7 * Thu Aug 05 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.6-1mdk - 0.3.6 - fix buildrequires - compile with Norman's jpeg image factory support * Wed Jun 16 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.5-3mdk - rebuild * Tue Jun 01 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.5-2mdk - rebuild * Thu Apr 01 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.5-1mdk - 0.3.5 - fix buildrequires (lib64..) * Mon Oct 27 2003 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 0.3.4-1mdk - 0.3.4 * Wed Mar 12 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 0.3.1-4mdk - rm -rf before makeinstall to make package short-circuitable.. - removed unneeded prefix macro * Tue Mar 11 2003 Per Ãyvind Karlsen <peroyvind@sintrax.net> 0.3.1-3mdk - added zlib-devel to BuildRequires - use a couple of macros for installing and building - drop unapplied patch - nicer formatting - use mklibname macro * Tue Jan 28 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.3.1-2mdk - rebuild * Thu Dec 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.3.1-1mdk - 0.3.1 * Tue Sep 17 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-1mdk - from Crispin Boylan <viewtronix@uklinux.net> : - new version * Fri Sep 13 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.0.18-3mdk - rebuild * Wed May 29 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.18-2mdk - recompile against latest libstdc++ * Mon Apr 22 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.18-1mdk - new version * Tue Feb 19 2002 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.17-1mdk - new version (using external zlib btw) - true license is LGPL, not GPL * Mon Oct 15 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.16-2mdk - lib policy - fix invalid-spec-name simgear.spec - fix obsolete-tag Copyright * Mon Jul 23 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.16-1mdk - new version * Fri Jun 22 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.15-2mdk - rebuild against new plib * Thu Jun 21 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.15-1mdk - version 0.0.15 * Fri Mar 30 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.14-4mdk - use no-omit-frame-pointer to workaround g++ exceptions bug * Fri Mar 9 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.14-3mdk - rebuild fix fixed plib * Fri Jan 5 2001 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.14-2mdk - rebuild * Wed Dec 20 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.14-1mdk - 0.0.14 which is needed for latest FlightGear * Tue Sep 26 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.13-1mdk - 0.0.13 which is needed for latest FlightGear * Tue Sep 26 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.12-2mdk - simple rebuild * Mon Jul 24 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.12-1mdk - 0.0.12 * Thu Jun 29 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.0.10-1mdk - first Mandrake Package