Blob Blame History Raw
Name:               bugwarrior
Version:            0.6.3
Release:            2%{?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
Patch0:             bugwarrior-patch-out-jira.patch

BuildArch:          noarch


BuildRequires:      python2-devel
BuildRequires:      python-setuptools

BuildRequires:      python-twiggy
BuildRequires:      python-bitlyapi
BuildRequires:      python-requests
BuildRequires:      python-bugzilla
#BuildRequires:      python-jira
BuildRequires:      python-taskw
BuildRequires:      python-dogpile-cache

Requires:           python-twiggy
Requires:           python-bitlyapi
Requires:           python-requests
Requires:           python-bugzilla
#Requires:           python-jira
Requires:           python-taskw
Requires:           python-dogpile-cache

%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, jira, and activecollab

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

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

%build
%{__python} setup.py build

%install
%{__python} 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 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