diff --git a/fawkes.spec b/fawkes.spec index fa120ee..04ea0a8 100644 --- a/fawkes.spec +++ b/fawkes.spec @@ -1,6 +1,6 @@ Name: fawkes Version: 0.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Robot Software Framework Group: Applications/System @@ -14,24 +14,37 @@ Patch3: fawkes-0.4-desktop-files.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-c++ -BuildRequires: kernel-headers >= 2.6.17, file-devel, sqlite-devel, openssl-devel >= 0.9.8 -BuildRequires: libxml++-devel >= 2.26, libdaemon-devel >= 0.14, avahi-devel -BuildRequires: graphviz-devel >= 2.22 +BuildRequires: kernel-headers >= 2.6.17, sqlite-devel, openssl-devel >= 0.9.8 +BuildRequires: libxml++-devel >= 2.20, libdaemon-devel >= 0.10, avahi-devel BuildRequires: lua-devel >= 5.1, tolua++-devel -BuildRequires: libdc1394-devel >= 2.1, libjpeg-devel >= 6b, libpng-devel >= 1.2, opencv-devel, SDL-devel +BuildRequires: libdc1394-devel >= 2.0, libjpeg-devel >= 6b, libpng-devel >= 1.2, opencv-devel, SDL-devel BuildRequires: libkni3-devel >= 3.9 -BuildRequires: libmicrohttpd-devel >= 0.4, xmlrpc-c-devel -BuildRequires: player-devel >= 3.0 +BuildRequires: libmicrohttpd-devel >= 0.4 BuildRequires: flite-devel BuildRequires: glibmm24-devel, gtkmm24-devel, cairomm, gconfmm26-devel, libglademm24-devel >= 2.6 BuildRequires: doxygen, asciidoc BuildRequires: desktop-file-utils +BuildRequires: urg-devel >= 0.8 +%if ! 0%{?rhel} || 0%{?rhel} >= 6 +BuildRequires: graphviz-devel >= 2.22 +BuildRequires: file-devel +%else +BuildRequires: file +%endif +%if ! 0%{?rhel} +BuildRequires: xmlrpc-c-devel +BuildRequires: player-devel >= 3.0 +BuildRequires: gearbox-devel >= 9.11 +%endif Requires: %{name}-core %{name}-firevision %{name}-firevision-tools %{name}-lua Requires: %{name}-plugin-bbsync %{name}-plugin-bblogger Requires: %{name}-plugin-ttmainloop %{name}-plugin-webview Requires: %{name}-plugin-worldmodel %{name}-plugin-skiller %{name}-plugin-luaagent -Requires: %{name}-plugin-flite %{name}-plugin-player +Requires: %{name}-plugin-flite +%if ! 0%{?rhel} +Requires: %{name}-plugin-player +%endif %description Fawkes is a component-based software framework for robotic real-time @@ -69,17 +82,30 @@ Summary: Development environment Fawkes Group: Development/Libraries BuildArch: noarch Requires: gcc-c++ -Requires: kernel-headers >= 2.6.17, file-devel, sqlite-devel, openssl-devel >= 0.9.8 -Requires: libxml++-devel >= 2.26, libdaemon-devel >= 0.14, avahi-devel -Requires: graphviz-devel >= 2.22 -Requires: libdc1394-devel >= 2.1, libjpeg-devel >= 6b, libpng-devel >= 1.2, opencv-devel, SDL-devel +Requires: kernel-headers >= 2.6.17, sqlite-devel, openssl-devel >= 0.9.8 +Requires: libxml++-devel >= 2.20, libdaemon-devel >= 0.10, avahi-devel +Requires: lua-devel >= 5.1, tolua++-devel +Requires: libdc1394-devel >= 2.0, libjpeg-devel >= 6b, libpng-devel >= 1.2, opencv-devel, SDL-devel Requires: libkni3-devel >= 3.9 -Requires: libmicrohttpd-devel >= 0.4, xmlrpc-c-devel -Requires: player-devel >= 3.0 +Requires: libmicrohttpd-devel >= 0.4 Requires: glibmm24-devel, gtkmm24-devel, cairomm, gconfmm26-devel, libglademm24-devel >= 2.6 Requires: doxygen, asciidoc -Requires: urg-devel >= 0.8, gearbox-devel >= 9.11 -Requires: readline-devel >= 6.1 +Requires: urg-devel >= 0.8 +Requires: readline-devel >= 5.1 +# only on fedora and el6+ +%if ! 0%{?rhel} || 0%{?rhel} >= 6 +Requires: file-devel +Requires: graphviz-devel >= 2.22 +Requires: gearbox-devel >= 9.11 +%else +# el5 +Requires: file +%endif +# not on el* +%if ! 0%{?rhel} +Requires: xmlrpc-c-devel +Requires: player-devel >= 3.0 +%endif %description devenv The %{name}-devenv packages causes the installation of all dependencies @@ -163,7 +189,7 @@ Summary: Fawkes behavior engine plugin Group: Applications/System Requires: %{name} = %{version}-%{release} Requires: %{name}-lua = %{version}-%{release} -BuildRequires: readline-devel >= 6.1 +BuildRequires: readline-devel >= 5.1 %description plugin-skiller This package contains a Fawkes plugin implementing a Lua-based behavior @@ -211,7 +237,6 @@ remotely controlling robots. Summary: Fawkes plugin to access laser range finders Group: Applications/System Requires: %{name} = %{version}-%{release} -BuildRequires: urg-devel >= 0.8, gearbox-devel >= 9.11 %description plugin-laser This package contains a Fawkes plugin to access laser range finders @@ -236,6 +261,7 @@ Requires: %{name} = %{version}-%{release} This package contains a Fawkes plugin which provides a web interface to view log messages, manage plugins and inspect blackboard data. +%if ! 0%{?rhel} %package plugin-player Summary: Integration of Player framework Group: Applications/System @@ -244,6 +270,7 @@ Requires: %{name} = %{version}-%{release} %description plugin-player This package contains a Fawkes plugin which integrates Fawkes with the Player robot software framework. +%endif %package plugin-refboxcomm Summary: RoboCup referee box integration @@ -255,6 +282,7 @@ This package contains a Fawkes plugin which listens to messages from the RoboCup Middle-Size League (MSL) referee box (refbox) or the Standard Platform League (SPL) GameController. +%if ! 0%{?rhel} %package plugin-xmlrpc Summary: XML-RPC communication plugin Group: Applications/System @@ -264,6 +292,7 @@ Requires: %{name} = %{version}-%{release} This package contains a Fawkes plugin which enables communication with Fawkes via XML-RPC. This is for demonstration purposes and has only limited functionality. +%endif %package guis Summary: GUI applications to control Fawkes @@ -400,8 +429,10 @@ rm -rf %{buildroot} %{_bindir}/ffnetloggui %{_bindir}/ffplugingui %{_bindir}/lasergui +%if ! 0%{?rhel} || 0%{?rhel} >= 6 %{_bindir}/skillgui %{_bindir}/skillgui_batch_render +%endif %{_bindir}/ffwiviewer %{_bindir}/firestation %{_bindir}/fvviewer @@ -493,18 +524,22 @@ rm -rf %{buildroot} %{_libdir}/%{name}/plugins/webview.so %{_datadir}/%{name}/webview +%if ! 0%{?rhel} %files plugin-player %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/player.so +%endif %files plugin-refboxcomm %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/refboxcomm.so %{_bindir}/ffrefboxrep +%if ! 0%{?rhel} %files plugin-xmlrpc %defattr(-,root,root,-) %{_libdir}/%{name}/plugins/xmlrpc.so +%endif %files devel %defattr(-,root,root,-) @@ -523,6 +558,9 @@ rm -rf %{buildroot} %{_datadir}/doc/%{name}-%{version} %changelog +* Fri Nov 05 2010 Tim Niemueller - 0.4-4 +- EL 5/6 compatibility, omit stuff with unfulfilled dependencies + * Thu Nov 04 2010 Tim Niemueller - 0.4-3 - consistent macro usage - Make fawkes-core own /usr/share/fawkes