|
|
69febaa |
%global commit 23f30f7e42f4a7184de001fe1ef21ad44a015a4c
|
|
|
64e5950 |
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
0bfcac1 |
%global realname rosdep
|
|
|
64e5950 |
|
|
|
cb0d4fe |
Name: python-%{realname}
|
|
|
69febaa |
Version: 0.11.2
|
|
|
3589772 |
Release: 1%{?dist}
|
|
|
0bfcac1 |
Summary: ROS System Dependency Installer
|
|
|
0bfcac1 |
|
|
|
0bfcac1 |
License: BSD
|
|
|
cb0d4fe |
URL: http://ros.org/wiki/%{realname}
|
|
|
69febaa |
Source0: https://github.com/ros-infrastructure/%{realname}/archive/%{commit}/%{realname}-%{commit}.tar.gz
|
|
|
cd1fc59 |
# Disable the viewcode extension in sphinx config
|
|
|
69febaa |
Patch0: %{realname}-0.10.27-sphinx.patch
|
|
|
89a6788 |
|
|
|
0bfcac1 |
BuildArch: noarch
|
|
|
0bfcac1 |
|
|
|
ff47a36 |
BuildRequires: PyYAML
|
|
|
2352116 |
BuildRequires: python-catkin_pkg
|
|
|
2352116 |
BuildRequires: python-catkin-sphinx
|
|
|
0bfcac1 |
BuildRequires: python-devel
|
|
|
0f7a5e3 |
BuildRequires: python-nose1.1
|
|
|
0f7a5e3 |
BuildRequires: python-rosdistro >= 0.4.0
|
|
|
69febaa |
BuildRequires: python-rospkg >= 1.0.34
|
|
|
0bfcac1 |
BuildRequires: python-sphinx
|
|
|
ff47a36 |
|
|
|
cd1fc59 |
Requires: PyYAML >= 3.1
|
|
|
cd1fc59 |
Requires: python-catkin_pkg
|
|
|
ff47a36 |
Requires: python-rospkg
|
|
|
cd1fc59 |
Requires: python-rosdistro >= 0.3.0
|
|
|
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
|
|
|
64e5950 |
%setup -qn %{realname}-%{commit}
|
|
|
69febaa |
%patch0 -p0 -b .sphinx
|
|
|
cd1fc59 |
|
|
|
cb0d4fe |
|
|
|
0bfcac1 |
%build
|
|
|
0bfcac1 |
%{__python} setup.py build
|
|
|
0bfcac1 |
pushd doc
|
|
|
0bfcac1 |
# HTML requires ros-theme
|
|
|
dabb462 |
make html
|
|
|
cb0d4fe |
rm -f html/.buildinfo
|
|
|
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 |
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
|
|
|
cb0d4fe |
sed -i 's|#!/usr/bin/env python||' $RPM_BUILD_ROOT%{python_sitelib}/%{realname}2/*.py
|
|
|
cb0d4fe |
sed -i 's|#!/usr/bin/env python||' $RPM_BUILD_ROOT%{python_sitelib}/%{realname}2/platforms/*.py
|
|
|
0bfcac1 |
|
|
|
2352116 |
# Get rid of hidden file in documentation folder
|
|
|
2352116 |
rm -f doc/_build/.buildinfo
|
|
|
0bfcac1 |
|
|
|
cb0d4fe |
|
|
|
cb0d4fe |
# Cannot currently run tests because they need to query Github
|
|
|
cb0d4fe |
# %check
|
|
|
cb0d4fe |
# PYTHONPATH=$RPM_BUILD_ROOT%{python2_sitelib} nosetests -w test
|
|
|
cb0d4fe |
|
|
|
cb0d4fe |
|
|
|
0bfcac1 |
%files
|
|
|
69febaa |
%doc LICENSE
|
|
|
69febaa |
%doc README.md doc/_build/html
|
|
|
0bfcac1 |
%{_bindir}/*
|
|
|
0bfcac1 |
%{python_sitelib}/%{realname}-%{version}-py?.?.egg-info
|
|
|
0bfcac1 |
%{python_sitelib}/%{realname}2
|
|
|
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
|
|
|
69febaa |
* Wed Mar 04 2015 Rich Mattes <richmattes@gmail.com> - 0.11.2-1
|
|
|
69febaa |
- Update to release 0.11.2
|
|
|
69febaa |
- Update to latest github guidelines
|
|
|
69febaa |
|
|
|
0f7a5e3 |
* Tue Dec 30 2014 Rich Mattes <richmattes@gmail.com> - 0.11.0-1
|
|
|
0f7a5e3 |
- Update to release 0.11.0
|
|
|
0f7a5e3 |
|
|
|
cb0d4fe |
* Mon Nov 24 2014 Scott K Logan <logans@cottsay.net> - 0.10.33-1
|
|
|
cb0d4fe |
- Update to release 0.10.33
|
|
|
cb0d4fe |
|
|
|
63f0218 |
* Sat Oct 18 2014 Scott K Logan <logans@cottsay.net> - 0.10.32-1
|
|
|
63f0218 |
- Update to release 0.10.32
|
|
|
63f0218 |
|
|
|
2352116 |
* Sat Apr 12 2014 Rich Mattes <richmattes@gmail.com> - 0.10.27-1
|
|
|
2352116 |
- Update to release 0.10.27
|
|
|
2352116 |
- Build html documentation
|
|
|
2352116 |
|
|
|
3589772 |
* Sat Feb 08 2014 Rich Mattes <richmattes@gmail.com> - 0.10.25-1
|
|
|
3589772 |
- Update to release 0.10.25
|
|
|
3589772 |
|
|
|
64e5950 |
* Sat Jun 01 2013 Rich Mattes <richmattes@gmail.com> - 0.10.18-1.20130601git91fb6852
|
|
|
64e5950 |
- Update to release 0.10.18
|
|
|
64e5950 |
- Update github source url
|
|
|
64e5950 |
|
|
|
4de5bfe |
* Mon Mar 18 2013 Rich Mattes <richmattes@gmail.com> - 0.10.14-1.20130318git76a8fef
|
|
|
4de5bfe |
- Update to release 0.10.14
|
|
|
4de5bfe |
- Fix installer to look for python-pip instead of pip (rhbz922296)
|
|
|
4de5bfe |
- Move rosdep cache to /var/cache instead of /etc
|
|
|
4de5bfe |
|
|
|
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
|