Blob Blame History Raw
Name:               bugwarrior
Version:            0.7.0
Release:            3%{?dist}
Summary:            Sync github, bitbucket, and trac issues with taskwarrior

Group:              Development/Libraries
License:            GPLv3+
URL:                http://pypi.python.org/pypi/bugwarrior
Source0:            http://pypi.python.org/packages/source/b/%{name}/%{name}-%{version}.tar.gz

BuildArch:          noarch


BuildRequires:      python2-devel
BuildRequires:      python-setuptools

BuildRequires:      python-twiggy
BuildRequires:      python-bitlyapi
BuildRequires:      python-requests
BuildRequires:      python-bugzilla
BuildRequires:      python-offtrac
BuildRequires:      python-taskw
BuildRequires:      python-dogpile-cache

Requires:           python-setuptools
Requires:           python-twiggy
Requires:           python-bitlyapi
Requires:           python-requests
Requires:           python-bugzilla
Requires:           python-offtrac
Requires:           python-taskw
Requires:           python-dogpile-cache
Requires:           python-keyring

# See https://bugzilla.redhat.com/show_bug.cgi?id=1036078
#BuildRequires:      python-jira
#Requires:           python-jira

%description
bugwarrior is a command line utility for updating your local taskwarrior
database from your forge issue trackers.

It currently supports pulling issues from github, bitbucket, trac, bugzilla,
megaplan, teamlab, redmine, and activecollab

%prep
%setup -q -n %{name}-%{version}

# Remove bundled egg-info in case it exists
rm -rf %{name}.egg-info

%build
%{__python2} setup.py build

%install
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot}

%files
%doc bugwarrior/README.rst LICENSE.txt
%{python2_sitelib}/%{name}/
%{python2_sitelib}/%{name}-%{version}*
%{_bindir}/bugwarrior-pull

%changelog
* Mon Mar 10 2014 Ralph Bean <rbean@redhat.com> - 0.7.0-3
- Added forgotten requirement on python-offtrac

* Sat Mar 08 2014 Ralph Bean <rbean@redhat.com> - 0.7.0-2
- New requirement on python-setuptools.

* Tue Jan 21 2014 Ralph Bean <rbean@redhat.com> - 0.7.0-1
- Latest upstream
- Removed python-jira patch.
- Modernized python2 macros

* Sat Jan 18 2014 Ralph Bean <rbean@redhat.com> - 0.6.3-3
- Added dep on python-keyring.
- Annotated the comment about python-jira.

* Mon Dec 16 2013 Ralph Bean <rbean@redhat.com> - 0.6.3-2
- Patch to disable jira support since it creates a dep nightmare for f19/f18.

* Tue Nov 12 2013 Ralph Bean <rbean@redhat.com> - 0.6.3-1
- Latest upstream.
- Convert python macros to be explicitly python2.
- Remove dangling symlink.

* Thu Oct 31 2013 Ralph Bean <rbean@redhat.com> - 0.6.1-1
- initial package for Fedora