9c0203
%global commit a1b41dcb01ad531da7f94ae6af116ba77da3575c
bfe71d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
bfe71d
%global module_name catkin_pkg
76ce6b
bfe71d
Name:           python-%{module_name}
9c0203
Version:        0.1.28
76ce6b
Release:        1%{?dist}
bfe71d
Summary:        Library for retrieving information about catkin packages
bfe71d
bfe71d
License:        BSD
bfe71d
URL:            https://github.com/ros-infrastructure/%{module_name}
bfe71d
Source0:        https://github.com/ros-infrastructure/%{module_name}/archive/%{commit}/%{module_name}-%{version}-%{shortcommit}.tar.gz
bfe71d
bfe71d
BuildArch:      noarch
76ce6b
76ce6b
Requires:       python-dateutil
76ce6b
Requires:       python-docutils
76ce6b
BuildRequires:  python-devel
76ce6b
BuildRequires:  python-setuptools
76ce6b
BuildRequires:  python-dateutil
76ce6b
BuildRequires:  python-docutils
76ce6b
BuildRequires:  python-nose
76ce6b
BuildRequires:  python-mock
bfe71d
bfe71d
%description
bfe71d
Library for retrieving information about catkin packages
bfe71d
bfe71d
%prep
bfe71d
%setup -q -n %{module_name}-%{commit}
bfe71d
bfe71d
%build
bfe71d
%{__python} setup.py build
bfe71d
bfe71d
%install
bfe71d
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
bfe71d
76ce6b
%check
76ce6b
PYTHONPATH=$RPM_BUILD_ROOT%{python_sitelib} nosetests -w test
bfe71d
 
bfe71d
%files
bfe71d
%doc README.rst
bfe71d
%{_bindir}/catkin_create_pkg
76ce6b
%{_bindir}/catkin_find_pkg
bfe71d
%{_bindir}/catkin_generate_changelog
bfe71d
%{_bindir}/catkin_tag_changelog
bfe71d
%{_bindir}/catkin_test_changelog
bfe71d
%{python_sitelib}/%{module_name}/
bfe71d
%{python_sitelib}/%{module_name}-%{version}-py?.?.egg-info
bfe71d
bfe71d
%changelog
9c0203
* Thu Feb 06 2014 Scott K Logan <logans@cottsay.net> - 0.1.28-1
9c0203
- Update to 0.1.28
9c0203
76ce6b
* Thu Feb 06 2014 Scott K Logan <logans@cottsay.net> - 0.1.25-1
76ce6b
- Update to 0.1.25
76ce6b
- Added check section
76ce6b
- Added python-dateutil Requires/BuildRequires
76ce6b
- Added python-docutils Requires/BuildRequires
76ce6b
- Added python-nose BuildRequires
76ce6b
- Added python-mock BuildRequires
76ce6b
f0d035
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.18-2
f0d035
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f0d035
bfe71d
* Wed Jul 17 2013 Ankur Sinha <ankursinha at="" fedoraproject="" dot="" org=""> 0.1.18-1
bfe71d
- Update to 1.18
bfe71d
- https://bugzilla.redhat.com/show_bug.cgi?id=926034
bfe71d
bfe71d
* Sat Mar 16 2013 Ankur Sinha <ankursinha at="" fedoraproject="" dot="" org=""> 0.1.10-1
bfe71d
- Initial rpm build
bfe71d
bfe71d
bfe71d