Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 889298c631ff472bc9ec528983abdc7e > files > 4

rcssserver3d-0.6.5-2.fc13.src.rpm

Name:           rcssserver3d
Version:        0.6.5
Release:        2%{?dist}
Summary:        Robocup 3D Soccer Simulation Server

Group:          Applications/System
License:        GPLv2
URL:            http://sourceforge.net/projects/simspark/
Source0:        http://downloads.sourceforge.net/simspark/%{name}-%{version}.tar.gz
Patch0:         %{name}-odefix.patch
Patch1:         %{name}-0.6.5-goalfix.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  cmake boost-devel SDL-devel desktop-file-utils simspark-devel
BuildRequires:  ode-devel libGL-devel DevIL-devel freetype-devel libGLU-devel
BuildRequires:  tex(latex) ImageMagick

%define         linvendor fedora

%description
The RoboCup Soccer Simulator is a research and educational tool for multi-agent
systems and artificial intelligence. It enables for two teams of 11 simulated
autonomous robotic players to play soccer (football).

This package contains the 3D version of the simulator.


%package        devel
Summary:        Header files and libraries for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}
Requires:       boost-devel ode-devel DevIL-devel
Requires:       libGL-devel libGLU-devel simspark-devel
BuildArch:      noarch

%description    devel
This package contains the header files for %{name}. If you like to develop
programs using %{name}, you will need to install %{name}-devel.

%package        doc
Summary:        Users manual for %{name}
Group:          Documentation
BuildArch:      noarch

%description    doc
This package contains the user documentation
for %{name}. If you like to develop agents for %{name},
you will find %{name}-doc package useful.

%prep
%setup -q
%patch0 -p1 -b .odefix
%patch1 -p1 -b .goalfix

%build
mkdir build
cd build
export CXXFLAGS="${CXXFLAGS:-%optflags}"
export CFLAGS="${CFLAGS:-%optflags}"
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR:PATH=%{_lib} -DODE_CONFIG_EXEC=ode-double-config ..
make VERBOSE=1 %{?_smp_mflags}
make pdf
cp doc/users/user-manual.pdf ../doc/users/

%install
rm -rf %{buildroot}
make -C build install DESTDIR=%{buildroot}

mkdir %{buildroot}/%{_datadir}/pixmaps/
cp -p data/logos/simspark.png %{buildroot}/%{_datadir}/pixmaps/

desktop-file-install --vendor="%{linvendor}"                 \
  --dir=%{buildroot}/%{_datadir}/applications linux/%{name}.desktop

mkdir package_docs
mv %{buildroot}/%{_datadir}/doc/%{name}/* package_docs/
rm -rf %{buildroot}/%{_datadir}/doc
rm -f package_docs/TODO

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc package_docs/*
%doc doc/TEXT_INSTEAD_OF_A_MANUAL.txt
%{_bindir}/*
# Notice: the package needs .so files for running so
# they can't be moved to -devel package
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{linvendor}-%{name}.desktop
%{_datadir}/pixmaps/*

%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%doc TODO

%files doc
%defattr(-,root,root,-)
%doc doc/users/user-manual.pdf
%doc package_docs/COPYING


%changelog
* Wed Apr 27 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.6.5-2
- Add an upstream fix for goal counting

* Wed Apr 27 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.6.5-1
- Updated to 0.6.5 release
- Added a patch to use correct ODE flags
- Added COPYING to -doc subpackage because of the new guidelines

* Wed Jun 09 2010 Hedayat Vatankhah <hedayat@fedoraproject.org> - 0.6.4-1
- New upstream version: 0.6.4
- Using rcssserver3d's own .desktop file

* Tue Jan 19 2010 Hedayat Vatankhah <hedayat@grad.com> - 0.6.3-1
- Updated to 0.6.3

* Thu Nov 05 2009 Hedayat Vatankhah <hedayat@grad.com> - 0.6.2-1
- Updated to 0.6.2

* Fri Aug 07 2009 Hedayat Vatankhah <hedayat@grad.com> - 0.6.1-7
- Enabled noarch sub-packages for doc and devel subpackages

* Sat Aug 01 2009 Hedayat Vatankhah <hedayat@grad.com> - 0.6.1-6
- Rebuilt against rawhide tetex

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Fri May 08 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6.1-4
- Rebuild for boost-1.39

* Mon Mar 23 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6.1-3
- Added missing requirements: ImageMagic and latex

* Mon Mar 23 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6.1-2
- Rebuild because of a missing patch file in cvs!

* Mon Mar 23 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6.1-1
- Updated to 0.6.1 version
- Using the new CMake build system

* Tue Mar 03 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6-11
- Fixed the name of fonts package requirement to the new name

* Sun Mar 01 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6-10
- Added patch for gcc 4.4 compatibility

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Wed Jan 28 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6-8
- Fixed the year number in changelog documents (fixed in the previous commit).

* Wed Jan 14 2009 Hedayat Vatankhah <hedayat@grad.com> 0.6-7
- Removing VeraMono.ttf from the package because of new Fedora font guidelines.
- Adding dejavu-fonts-sans-mono as a requirement for VeraMono.ttf replacement.

* Fri Dec 19 2008 Petr Machata <pmachata@redhat.com> - 0.6-6
- Rebuild for boost-1.37.0.
- Add patch to convert make_shared(X) to X.lock()

* Mon Sep 29 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-5
- Rebuilding the package to use ODE 0.10.
- Added dInitODE patch for physicsserver.cpp

* Thu Aug 14 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-4
- Rebuilding the package because of new boost libraries.

* Wed Jul 02 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-3
- Added a patch to rename libtinyxml to libtinyxml_ex since it differs from libtinyxml

* Sat Jun 28 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-3
- Fixed Source0 URL
- Added a comment about Source1/2/3
- Replaced an incorrect path (/usr/bin) with the correct macro
- Changing "cp -r" commands in simspark makefiles with cp -pr

* Wed Jun 25 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-2
- Added missing dependencies for -devel subpackage

* Tue Jun 24 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-1
- fixed according to the Fedora package review process:
  - changed some requirements
  - removed -doc version
  - removed ld.so.conf.d/rcssserver3d.conf file in favour of rpath!!

* Mon Jun 23 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-1
- updated for 0.6 release

* Fri Jun 20 2008 Hedayat Vatankhah <hedayat@grad.com> 0.6-0.1.20080620cvs
- preparing for 0.6 release

* Thu Jun 12 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.9-1.20080611cvs
- removing rcssmonitor3D-lite
- update the package to use CVS version which contains Fedora packaging fixes
- added -doc subpackage
- added some documentation to -devel package

* Fri Jun 6 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.9-1
- added a patch to fix gcc43 compile errors and add --disable-rpath
  configure option. this patch is created using upstream CVS tree.s

* Thu Jun 5 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.9-1
- updated for 0.5.9 release
- preparing according to Fedora packaging guidelines:
  added -devel packages
  removed .la files from RPMs

* Thu Apr 17 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.7-2
- added some missing dependencies
- some cleanup
- changed to be more general. now it supports OpenSuse too (however it needs
  3rd party DevIL packages)
- removed RELEASE from doc files since it is not available in released versions

* Sun Apr 13 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.7-2
- updated an ugly wildcard! a little better.

* Fri Apr 11 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.7-2
- added ldconfig config file
- run ldconfig after install/uninstall
- some cleanup
- added subpackage rcssserver3d-rsgedit. TODO: file list should be expressed better
  this package will be built only when "--with wxWidgets" option is passed to rpmbuild

* Wed Apr 9 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.7-1
- added without-wxWidgets option to configure if availabe

* Thu Feb 28 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.7-1
- removed rcssserver3d-data as a requirement since the files are in the
  distribution now
- added libGLU stuff as requirements

* Wed Feb 27 2008 Hedayat Vatankhah <hedayat@grad.com> 0.5.7pre-1
- removed freeglut as a requirement since it is needed for rcssmonitor3d-lite only

* Thu Feb 14 2008 - Hedayat Vatankhah <hedayat@grad.com>
- Initial version