rpms/rcssserver3d/devel simspark.png, NONE, 1.1 .cvsignore, 1.2, 1.3 rcssserver3d.desktop, 1.2, 1.3 rcssserver3d.spec, 1.11, 1.12 sources, 1.2, 1.3 rcssserver3d-0.6-boost.patch, 1.1, NONE rcssserver3d-0.6-gcc4_4fix.patch, 1.1, NONE rcssserver3d-0.6-libnamefix.patch, 1.1, NONE rcssserver3d-0.6-odefix.patch, 1.1, NONE rcssserver3d-rsgedit.desktop, 1.1, NONE rcssserver3d.png, 1.1, NONE

Hedayat Vatankhah hedayat at fedoraproject.org
Mon Mar 23 11:22:18 UTC 2009


Author: hedayat

Update of /cvs/pkgs/rpms/rcssserver3d/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3270

Modified Files:
	.cvsignore rcssserver3d.desktop rcssserver3d.spec sources 
Added Files:
	simspark.png 
Removed Files:
	rcssserver3d-0.6-boost.patch rcssserver3d-0.6-gcc4_4fix.patch 
	rcssserver3d-0.6-libnamefix.patch 
	rcssserver3d-0.6-odefix.patch rcssserver3d-rsgedit.desktop 
	rcssserver3d.png 
Log Message:
New upstream version: 0.6.1 with a new build system


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rcssserver3d/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	4 Aug 2008 20:01:36 -0000	1.2
+++ .cvsignore	23 Mar 2009 11:21:46 -0000	1.3
@@ -1 +1 @@
-rcssserver3d-0.6.tar.gz
+rcssserver3d-0.6.1.tar.gz


Index: rcssserver3d.desktop
===================================================================
RCS file: /cvs/pkgs/rpms/rcssserver3d/devel/rcssserver3d.desktop,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- rcssserver3d.desktop	29 Sep 2008 19:32:13 -0000	1.2
+++ rcssserver3d.desktop	23 Mar 2009 11:21:46 -0000	1.3
@@ -3,7 +3,7 @@
 Name=RoboCup Soccer Server 3D
 Comment=RoboCup Soccer Simulation Server 3D
 Exec=simspark
-Icon=rcssserver3d
+Icon=simspark
 Terminal=false
 Type=Application
 Categories=Education;Science;Robotics;


Index: rcssserver3d.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rcssserver3d/devel/rcssserver3d.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- rcssserver3d.spec	3 Mar 2009 18:30:39 -0000	1.11
+++ rcssserver3d.spec	23 Mar 2009 11:21:46 -0000	1.12
@@ -1,27 +1,22 @@
 Name:           rcssserver3d
-Version:        0.6
-Release:        11%{?dist}
+Version:        0.6.1
+Release:        1%{?dist}
 Summary:        Robocup 3D Soccer Simulation Server
 
 Group:          Applications/System
 License:        GPLv2
-URL:            http://sourceforge.net/projects/sserver/
-Source0:        http://downloads.sourceforge.net/sserver/%{name}-%{version}.tar.gz
+URL:            http://sourceforge.net/projects/simspark/
+Source0:        http://downloads.sourceforge.net/simspark/%{name}-%{version}.tar.gz
 
-# Source 2 & 3 are created by myslef. Source1 is created by me using the photo in the user-manual.pdf
-Source1:        %{name}.png
+# Source 2 is created by myslef. Source1 is now available in rcssserver3d svn
+# (under data/logos directory)
+Source1:        simspark.png
 Source2:        %{name}.desktop
-Source3:        %{name}-rsgedit.desktop
-Patch0:         %{name}-0.6-libnamefix.patch
-Patch1:         %{name}-0.6-odefix.patch
-Patch2:         %{name}-0.6-boost.patch
-Patch3:         %{name}-0.6-gcc4_4fix.patch
+Patch0:         %{name}-0.6.1-cmakefix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  automake autoconf gcc-c++ boost-devel slang-devel
-BuildRequires:  ruby ruby-devel SDL-devel desktop-file-utils libtool
+BuildRequires:  cmake boost-devel SDL-devel desktop-file-utils simspark-devel
 BuildRequires:  ode-devel libGL-devel DevIL-devel freetype-devel libGLU-devel
-Requires:       ruby ruby(abi) = 1.8 dejavu-sans-mono-fonts 
 
 %define         linvendor fedora
 
@@ -37,13 +32,12 @@
 Summary:        Header files and libraries for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
-Requires:       boost-devel ruby-devel ode-devel DevIL-devel
-Requires:       libGL-devel libGLU-devel
+Requires:       boost-devel ode-devel DevIL-devel
+Requires:       libGL-devel libGLU-devel simspark-devel
 
 %description    devel
-This package contains the header files and libraries
-for %{name}. If you like to develop programs using %{name},
-you will need to install %{name}-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}
@@ -54,125 +48,65 @@
 for %{name}. If you like to develop agents for %{name},
 you will find %{name}-doc package useful.
 
-%define _without_wxWidgets 1
-
-%if 0%{!?_without_wxWidgets:1}
-%package        rsgedit
-Summary:        RsgEditor and wxWidgets related libraries
-Group:          Applications/System
-Requires:       %{name} = %{version}-%{release}
-Requires:       wxGTK wxGTK-gl
-BuildRequires:  wxGTK-devel
-
-%description    rsgedit
-This package contains rsgedit and %{name} plugins which use wxWidgets libraries.
-
-
-%package        wxGTK-devel
-Summary:        wxWidgets related header files and libraries for %{name}
-Group:          Development/Libraries
-Requires:       %{name}-devel = %{version}-%{release}
-Requires:       %{name}-rsgedit = %{version}-%{release}
-Requires:       wxGTK-devel
-
-%description    wxGTK-devel
-This package contains wxWidgets related header files and libraries
-for %{name}. If you like to develop programs using wxWidgets plugins of %{name},
-you will need to install %{name}-wxGTK-devel.
-%endif
-
 %prep
 %setup -q
-%patch0 -p1 -b .libnamefix
-%patch1 -p1 -b .odefix
-%patch2 -p1 -b .boost
-%patch3 -p1 -b .gcc4_4fix
-autoreconf --install
-chmod a-x app/simspark/rsg/agent/nao/*
-find -name "*.cpp" -exec chmod a-x {} \;
-find -name "*.h" -exec chmod a-x {} \;
-sed -i.stamp -e 's|cp -r|cp -pr|' app/simspark/Makefile.{am,in}
+%patch0 -p1 -b .cmakefix
 
 %build
-%configure --enable-debug=no %{?_without_wxWidgets: --without-wxWidgets}
-make %{?_smp_mflags}
+mkdir build
+cd build
+export CXXFLAGS="${CXXFLAGS:-%optflags}"
+export CFLAGS="${CFLAGS:-%optflags}"
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR:PATH=%{_lib} ..
+make VERBOSE=1 %{?_smp_mflags}
+make pdf
+cp doc/users/user-manual.pdf ../doc/users/
 
 %install
 rm -rf %{buildroot}
-make install DESTDIR=%{buildroot} INSTALL="install -p" CPPROG="cp -p"
+make -C build install DESTDIR=%{buildroot}
 
 mkdir %{buildroot}/%{_datadir}/pixmaps/
 cp -p %{SOURCE1} %{buildroot}/%{_datadir}/pixmaps/
 
 desktop-file-install --vendor="%{linvendor}"                 \
-  --dir=%{buildroot}/%{_datadir}/applications %{SOURCE2} %{SOURCE3}
-
-ln -fs %{_datadir}/fonts/dejavu/DejaVuSansMono.ttf \
-      %{buildroot}/%{_datadir}/%{name}/fonts/VeraMono.ttf
+  --dir=%{buildroot}/%{_datadir}/applications %{SOURCE2}
 
-rm -rf %{buildroot}/%{_libdir}/%{name}/*.la
-rm -rf %{buildroot}/%{_bindir}/{rcsoccersim3D,rcssmonitor3D-*,rcssserver3D,agenttest}
-rm -rf %{buildroot}/%{_datadir}/%{name}/*.h
-%if 0%{?_without_wxWidgets:1}
-rm -rf %{buildroot}/%{_includedir}/%{name}/wxutil
-rm -rf %{buildroot}/%{_datadir}/%{name}/xpm*
-rm -rf %{buildroot}/%{_datadir}/applications/%{linvendor}-%{name}-rsgedit.desktop
-%endif
+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 AUTHORS  NEWS ChangeLog COPYING README README-soccer THANKS TODO
+%doc package_docs/*
 %doc doc/TEXT_INSTEAD_OF_A_MANUAL.txt
-%{_bindir}/*spark*
-%dir %{_libdir}/%{name}
+%{_bindir}/*
 # Notice: the package needs .so files for running so
 # they can't be moved to -devel package
-%{_libdir}/%{name}/[^ilo]*.so*
-%{_libdir}/%{name}/inputsdl*.so*
-%{_libdir}/%{name}/openglsyssdl*.so*
-%{_libdir}/%{name}/ob*.so
-%{_libdir}/%{name}/lib[^w]*.so.*
-%dir %{_datadir}/%{name}
-%{_datadir}/%{name}/[^x]*
+%{_libdir}/%{name}
+%{_datadir}/%{name}
 %{_datadir}/applications/%{linvendor}-%{name}.desktop
 %{_datadir}/pixmaps/*
 
 %files devel
 %defattr(-,root,root,-)
-%{_bindir}/*-config
-%dir %{_includedir}/%{name}
-%{_includedir}/%{name}/[^w]*
-#%{_libdir}/%{name}/[^ilo]*.so
-#%{_libdir}/%{name}/inputsdl*.so
-#%{_libdir}/%{name}/openglsyssdl*.so
-%{_libdir}/%{name}/lib[^w]*.so
-%doc TODO doc/devel/howtos doc/devel/manual.pdf
+%{_includedir}/%{name}
+%doc TODO
 
 %files doc
 %defattr(-,root,root,-)
-%doc doc/users/user-manual.pdf doc/manual/manual.pdf
+%doc doc/users/user-manual.pdf
 
 
-%if 0%{!?_without_wxWidgets:1}
-%files rsgedit
-%defattr(-,root,root,-)
-%{_bindir}/rsgedit
-%{_libdir}/%{name}/*wx*.so.*
-#%{_datadir}/%{name}/rsgedit.rb
-%{_datadir}/%{name}/xpm*
-%doc doc/rsgedit.txt
-%{_datadir}/applications/%{linvendor}-%{name}-rsgedit.desktop
-
-%files wxGTK-devel
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/*wx*.so
-%{_includedir}/%{name}/wxutil
-%endif
-
 %changelog
+* Mon Mar 23 2009 Hedayat Vatankhah <hedayat at 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 at grad.com> 0.6-11
 - Fixed the name of fonts package requirement to the new name
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rcssserver3d/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	4 Aug 2008 20:01:36 -0000	1.2
+++ sources	23 Mar 2009 11:21:47 -0000	1.3
@@ -1 +1 @@
-e617a2db885ae4a8c754b6e07c4b359d  rcssserver3d-0.6.tar.gz
+7617ce283127a67fdc1185fb500975ae  rcssserver3d-0.6.1.tar.gz


--- rcssserver3d-0.6-boost.patch DELETED ---


--- rcssserver3d-0.6-gcc4_4fix.patch DELETED ---


--- rcssserver3d-0.6-libnamefix.patch DELETED ---


--- rcssserver3d-0.6-odefix.patch DELETED ---


--- rcssserver3d-rsgedit.desktop DELETED ---




More information about the fedora-extras-commits mailing list