pkg://crystalspace-0.99-0.cvs20050308.2mdk.src.rpm:22031602/crystalspace.spec
info downloads
%define name crystalspace
%define version 0.99
%define release 0.cvs20050308.2mdk
Summary: CrystalSpace free 3d engine
Name: %{name}
Version: %{version}
Release: %{release}
Group: System/Libraries
License: LGPL
Source: cs-2005-03-08.020020.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
URL: http://crystal.sourceforge.net/
BuildRequires: lib3ds-devel MesaGLU-devel libogg-devel libmikmod-devel cal3d-devel
BuildRequires: jpeg-devel zlib-devel ode-devel png-devel openal-devel >= 0.0.6-5mdk
BuildRequires: mng-devel arts-devel XFree86-devel nasm perl-devel
BuildRequires: swig >= 1.3.14 bison >= 1.35 python-devel
%description
Crystal Space is a free (LGPL) and portable 3D Development Kit
written in C++. It supports: true six degree's of freedom,
colored lighting, mipmapping, portals, mirrors, alpha transparency,
reflective surfaces, 3D sprites (frame based or with skeletal animation),
procedural textures, radiosity, particle systems, halos, volumetric fog,
scripting (using Python or other languages), 8-bit, 16-bit, and 32-bit
display support, OpenGL and software renderering, font support,
hierarchical transformations, etc.
%package devel
Group: Development/C
Summary: Development headers and libraries for %{name}
Requires: %{name} = %{version}
%description devel
Development headers and libraries for %{name}
%package doc
Summary: Crystalspace documentation
Group: Development/C
License: LGPL
Requires: %{name} = %{version}
Conflicts: freetds-devel
%description doc
Crystalspace documentation
%package demos
Summary: Crystalspace demos
Group: Toys
License: LGPL
Requires: %{name} = %{version}
%description demos
Crystalspace demos.
%prep
%setup -q -n CS
%build
%configure2_5x --with-mesa \
--with-x \
--disable-cpu-specific-instructions \
--enable-linux-joystick \
--enable-optimize \
--disable-debug \
--with-pic \
--with-gnu-ld \
--enable-mode=optimize \
--enable-plugins
#make INSTALL_DIR=%{csroot} all CFLAGS.SYSTEM="$RPM_OPT_FLAGS -fPIC -Wno-unknown-pragmas"
jam -d2 %_smp_mflags -s INSTALL_DIR=%{csroot} -s CFLAGS.SYSTEM="$RPM_OPT_FLAGS -fPIC -Wno-unknown-pragmas"
%install
%{__rm} -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT jam -d2 install
%{__install} -m644 mk/autoconf/crystal.m4 -D $RPM_BUILD_ROOT%{_datadir}/aclocal/crystal.m4
#multiarch
%multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/cs-config
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,755)
%dir %{_libdir}/crystalspace
%{_libdir}/crystalspace/*.csplugin
%{_libdir}/crystalspace/*.so
%{_datadir}/crystalspace
%dir %{_sysconfdir}/crystalspace
%config(noreplace) %{_sysconfdir}/crystalspace/*
%files devel
%defattr(-,root,root,755)
%{_libdir}/*.a
%{_includedir}/*
%{_bindir}/python.cex
%{_datadir}/aclocal/crystal.m4
%{_bindir}/cs-config
%multiarch %{multiarch_bindir}/cs-config
%files doc
%defattr(-,root,root,755)
%doc %{_docdir}/%{name}-%{version}
%files demos
%defattr(-,root,root,755)
%{_bindir}/*
%exclude %{_bindir}/python.cex
%exclude %{_bindir}/cs-config
%exclude %{multiarch_bindir}
%changelog
* Wed Mar 09 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.99-0.cvs20050308.2mdk
- versioned requires for devel package
- multiarch
* Tue Mar 08 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.99-0.cvs20050308.1mdk
- new cvs snapshot
* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.97-0.cvs20040615.3mdk
- Rebuild for new python
* Sun Jul 18 2004 Michael Scherer <misc@mandrake.org> 0.97-0.cvs20040615.2mdk
- add the proper Conflict
* Tue Jun 15 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.97-0.cvs20040615.1mdk
- new cvs snapshot
- switch to jam
- clean up files
* Tue Feb 10 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.97-0.cvs20040210.1mdk
- new cvs snapshot
* Sat Jan 03 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.97-0.cvs20040102.1mdk
- new cvs snapshot
- fix buildrequires (lib64..)
* Wed May 07 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.97-0.cvs20030507.2mdk
- fix problems with scripts that looks in %{csroot}/bin by making a symlink to /usr/bin
* Wed May 07 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 0.97-0.cvs20030507.1mdk
- initial mdk release, mind the ugly packaging..