|
|
3bc7a96 |
%global commit 91fb68520473d2603b9ff7b878423b915d7e8d51
|
|
|
3bc7a96 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
0bfcac1 |
%global realname rosdep
|
|
|
3bc7a96 |
|
|
|
0bfcac1 |
Name: python-rosdep
|
|
|
3bc7a96 |
Version: 0.10.18
|
|
|
3bc7a96 |
Release: 1.20130601git%{shortcommit}%{?dist}
|
|
|
0bfcac1 |
Summary: ROS System Dependency Installer
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
License: BSD
|
|
|
0bfcac1 |
URL: http://ros.org/wiki/rosdep
|
|
|
3bc7a96 |
Source0: https://github.com/ros/%{realname}/archive/%{commit}/%{realname}-%{version}-%{shortcommit}.tar.gz
|
|
|
032ebd1 |
# Change all "pip" executable references to "python-pip"
|
|
|
032ebd1 |
# Fedora-only patch, not submitted upstream.
|
|
|
032ebd1 |
Patch0: %{realname}-0.10.14-pythonpip.patch
|
|
|
032ebd1 |
# Disable catkin-sphinx for now, until it's packaged
|
|
|
032ebd1 |
Patch1: %{realname}-0.10.14-catkinsphinx.patch
|
|
|
0bfcac1 |
BuildArch: noarch
|
|
|
0bfcac1 |
|
|
|
ff47a36 |
BuildRequires: PyYAML
|
|
|
0bfcac1 |
BuildRequires: python-devel
|
|
|
ff47a36 |
BuildRequires: python-nose
|
|
|
ff47a36 |
BuildRequires: python-rospkg
|
|
|
0bfcac1 |
BuildRequires: python-setuptools-devel
|
|
|
0bfcac1 |
BuildRequires: python-sphinx
|
|
|
ff47a36 |
|
|
|
ff47a36 |
Requires: PyYAML
|
|
|
ff47a36 |
Requires: python-rospkg
|
|
|
0bfcac1 |
Requires: ros-release
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
%description
|
|
|
0bfcac1 |
rosdep is a command-line tool for installing system dependencies. For
|
|
|
0bfcac1 |
end-users, rosdep helps you install system dependencies for software that
|
|
|
0bfcac1 |
you are building from source. For developers, rosdep simplifies the problem
|
|
|
0bfcac1 |
of installing system dependencies on different platforms. Instead of having to
|
|
|
0bfcac1 |
figure out which Debian package on Ubuntu Oneiric contains Boost, you can just
|
|
|
0bfcac1 |
specify a dependency on 'boost'.
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
%prep
|
|
|
3bc7a96 |
%setup -qn %{realname}-%{commit}
|
|
|
032ebd1 |
%patch0 -p0 -b .pythonpip
|
|
|
032ebd1 |
%patch1 -p0 -b .catkinsphinx
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
%build
|
|
|
0bfcac1 |
%{__python} setup.py build
|
|
|
0bfcac1 |
pushd doc
|
|
|
0bfcac1 |
make man
|
|
|
0bfcac1 |
# HTML requires ros-theme
|
|
|
0bfcac1 |
#make html
|
|
|
0bfcac1 |
popd
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
%install
|
|
|
0bfcac1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
0bfcac1 |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
0bfcac1 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{realname}
|
|
|
0bfcac1 |
install -p -m 0644 manifest.xml $RPM_BUILD_ROOT%{_datadir}/%{realname}
|
|
|
0bfcac1 |
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
0bfcac1 |
install -p -m 0644 doc/man/rosdep.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
0bfcac1 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ros/rosdep/sources.list.d/
|
|
|
0bfcac1 |
touch $RPM_BUILD_ROOT%{_sysconfdir}/ros/rosdep/sources.list.d/20-default.list
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
# Get rid of non-executable-script errors from rpmlint
|
|
|
0bfcac1 |
sed -i 's|#!/usr/bin/env python||' $RPM_BUILD_ROOT%{python_sitelib}/rosdep2/*.py
|
|
|
0bfcac1 |
sed -i 's|#!/usr/bin/env python||' $RPM_BUILD_ROOT%{python_sitelib}/rosdep2/platforms/*.py
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
%files
|
|
|
0bfcac1 |
%{_bindir}/*
|
|
|
0bfcac1 |
%{python_sitelib}/%{realname}-%{version}-py?.?.egg-info
|
|
|
0bfcac1 |
%{python_sitelib}/%{realname}2
|
|
|
0bfcac1 |
%{_mandir}/man1/*.gz
|
|
|
0bfcac1 |
%{_datadir}/%{realname}
|
|
|
0bfcac1 |
%dir %{_sysconfdir}/ros/rosdep/
|
|
|
0bfcac1 |
%dir %{_sysconfdir}/ros/rosdep/sources.list.d/
|
|
|
0bfcac1 |
%ghost %{_sysconfdir}/ros/rosdep/sources.list.d/20-default.list
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
%changelog
|
|
|
3bc7a96 |
* Sat Jun 01 2013 Rich Mattes <richmattes@gmail.com> - 0.10.18-1.20130601git91fb6852
|
|
|
3bc7a96 |
- Update to release 0.10.18
|
|
|
3bc7a96 |
- Update github source url
|
|
|
3bc7a96 |
|
|
|
032ebd1 |
* Mon Mar 18 2013 Rich Mattes <richmattes@gmail.com> - 0.10.14-1.20130318git76a8fef
|
|
|
032ebd1 |
- Update to release 0.10.14
|
|
|
032ebd1 |
- Fix installer to look for python-pip instead of pip (rhbz922296)
|
|
|
032ebd1 |
- Move rosdep cache to /var/cache instead of /etc
|
|
|
032ebd1 |
|
|
|
0bfcac1 |
* Sun Oct 28 2012 Rich Mattes <richmattes@gmail.com> - 0.10.7-1.20121028gita9d29d2
|
|
|
0bfcac1 |
- Update to 0.10.7
|
|
|
0bfcac1 |
- Depend on /etc/ros from ros-release
|
|
|
0bfcac1 |
- Separate build and install steps
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
* Mon Sep 17 2012 Rich Mattes <richmattes@gmail.com> - 0.9.7-1.20120917git5e1ecef
|
|
|
0bfcac1 |
- Update to 0.9.7
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
* Sat Jun 16 2012 Rich Mattes <richmattes@gmail.com> - 0.9.5-1
|
|
|
0bfcac1 |
- Update to 0.9.5
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
* Sun Apr 29 2012 Rich Mattes <richmattes@gmail.com> - 0.9.3-1
|
|
|
0bfcac1 |
- Initial package
|