Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hcostelha
stage
stage.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File stage.spec of Package stage
Name: stage Version: 4.1.1 Release: 1%{?dist} Summary: A 2.5D multi-robot simulator Group: Applications/Engineering License: GPLv2+ URL: http://playerstage.org Source0: https://github.com/rtv/Stage/%{name}-%{version}.tar.bz2 # Fixes install path for cmake on 64 bit systems, and removes -O2 flag. http://sourceforge.net/tracker/?func=detail&aid=2934664&group_id=42445&atid=433166 #Patch0: stage-3.2.2.fixcmake64.patch # Fixes search path for included plugin libraries, which were moved to /usr/lib/stage. Included in above patch submission. # Proposed at http://old.nabble.com/Proposal%3A-Plugin-locations-for-Player-and-Stage-ts26868070.html #Patch1: stage-3.2.2.fixlibload.patch # Fixes installation of example worlds, submitted at https://sourceforge.net/tracker/?func=detail&aid=2871625&group_id=42445&atid=433166 #Patch2: stage-3.2.2.fixexamples.patch # Fixes DSO linking problem for executable. Not yet submitted upstream. #Patch3: stage-3.2.2.fixdso.patch Patch0: stage.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++, cmake BuildRequires: doxygen BuildRequires: libfltk1, fltk-devel BuildRequires: graphviz BuildRequires: libjpeg-devel BuildRequires: libpng-devel #BuildRequires: libtool-ltdl-devel BuildRequires: libtool BuildRequires: xorg-x11-libXext-devel BuildRequires: xorg-x11-libX11-devel #BuildRequires: libGL-devel #BuildRequires: libGLU-devel BuildRequires: Mesa-devel BuildRequires: player-devel >= 3.1.0 %if 0%{?suse_version} < 1140 BuildRequires: libv4l %endif %description Stage is a fast and scalable 2.5D multiple robot simulator from the Player project. Stage can be used to simulate sensors and actuators in a low-fidelity bit-mapped environment. Stage models can be controlled with the Stage C API, or through the Player server via a Player plug-in library. %package devel Summary: Header files and libraries for Stage Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: fltk-devel Requires: libpng-devel Requires: libjpeg-devel #Requires: libGL-devel #Requires: libGLU-devel BuildRequires: pkgconfig %description devel This package contains the header files and libraries for Stage. If you want to develop programs using the libstage API, you will need to install stage-devel. %package playerplugin Summary: Plug-in to add Stage support to Player Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: player >= 3.1.0 %description playerplugin This package contains the Stage plug-in library for the Player server. stage-playerplugin allows Stage models to be exposed as Player interfaces, and manipulated through the Player server. %package doc Summary: Extra html documentation for Stage Group: Development/Libraries Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Comprehensive html documentation for the Stage programming API. %prep %setup -q %patch0 -p1 #%patch0 -p1 -b .fixcmake64 #%patch1 -p1 -b .fixlibload #%patch2 -p1 -b .fixexamples #%patch3 -p1 -b .fixdso %build CFLAGS="$RPM_OPT_FLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} # Parallel build causes strange errors make # Documentation builds separately pushd docsrc make mv stage html popd %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT chmod +x $RPM_BUILD_ROOT%{_datadir}/stage/worlds/*.sh # TODO: confirm if we should remove these files # These config files are broken, remove them # rm $RPM_BUILD_ROOT%{_datadir}/stage/worlds/uoa* # rm $RPM_BUILD_ROOT%{_datadir}/stage/worlds/large.world # rm $RPM_BUILD_ROOT%{_datadir}/stage/worlds/asr.* # rm -rf $RPM_BUILD_ROOT%{_datadir}/stage/worlds/wifi* %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING.txt DESCRIPTION.txt README.txt RELEASE.txt AUTHORS.txt %{_bindir}/stage %{_libdir}/lib*.so.* %{_datadir}/stage %{_libdir}/Stage-4.1 %files playerplugin %defattr(-,root,root,-) %{_libdir}/stage*.so %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/Stage-4.1 %files doc %defattr(-,root,root,-) %doc docsrc/html %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor