@[if Homepage and Homepage != '']URL: @(Homepage)@\n@[end if]Source0: %{name}-%{version}.tar.gz
@[if NoArch]@\nBuildArch: noarch@\n@[end if]
@[for p in Depends]Requires: @p@\n@[end for]@[for p in BuildDepends]BuildRequires: @p@\n@[end for]@[for p in Conflicts]Conflicts: @p@\n@[end for]@[for p in Replaces]Obsoletes: @p@\n@[end for]
%description
homer_mapping
@(Description)
%prep
%setup -q
...
...
@@ -35,7 +18,7 @@ homer_mapping
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/indigo/setup.sh" ]; then . "/opt/ros/indigo/setup.sh"; fi
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi
mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
%cmake .. \
-UINCLUDE_INSTALL_DIR \
...
...
@@ -43,8 +26,8 @@ mkdir -p obj-%{_target_platform} && cd obj-%{_target_platform}
-USYSCONF_INSTALL_DIR \
-USHARE_INSTALL_PREFIX \
-ULIB_SUFFIX \
-DCMAKE_INSTALL_PREFIX="/opt/ros/indigo" \
-DCMAKE_PREFIX_PATH="/opt/ros/indigo" \
-DCMAKE_INSTALL_PREFIX="@(InstallationPrefix)" \
-DCMAKE_PREFIX_PATH="@(InstallationPrefix)" \
-DSETUPTOOLS_DEB_LAYOUT=OFF \
-DCATKIN_BUILD_BINARY_PACKAGE="1" \
...
...
@@ -54,44 +37,11 @@ make %{?_smp_mflags}
# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree that was dropped by catkin, and source it. It will
# set things like CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
if [ -f "/opt/ros/indigo/setup.sh" ]; then . "/opt/ros/indigo/setup.sh"; fi
if [ -f "@(InstallationPrefix)/setup.sh" ]; then . "@(InstallationPrefix)/setup.sh"; fi
cd obj-%{_target_platform}
make %{?_smp_mflags} install DESTDIR=%{buildroot}
%files
/opt/ros/indigo
%changelog
* Sat Nov 28 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.7-0
- Autogenerated by Bloom
* Fri Nov 27 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.6-0
- Autogenerated by Bloom
* Tue Nov 24 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.5-0
- Autogenerated by Bloom
* Fri Nov 20 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.4-0
- Autogenerated by Bloom
* Fri Nov 20 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.2-0
- Autogenerated by Bloom
* Tue Nov 17 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-5
- Autogenerated by Bloom
* Tue Nov 17 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-4
- Autogenerated by Bloom
* Tue Nov 17 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-3
- Autogenerated by Bloom
* Fri Oct 09 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-2
- Autogenerated by Bloom
* Fri Sep 25 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-1
- Autogenerated by Bloom
* Tue Sep 15 2015 Viktor Seib <vseib@uni-koblenz.de> - 1.0.1-0
- Autogenerated by Bloom
@(InstallationPrefix)
%changelog@[for change_version, (change_date, main_name, main_email) in changelogs]@\n* @(change_date) @(main_name) <@(main_email)> - @(change_version)@\n- Autogenerated by Bloom@\n@[end for]