2009-07-31 02:57:26 +00:00
|
|
|
#
|
2011-05-23 14:57:07 +00:00
|
|
|
# spec file for package python-bugzilla
|
2009-07-31 02:57:26 +00:00
|
|
|
#
|
2013-05-16 13:18:25 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-07-31 02:57:26 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-bugzilla
|
2013-05-30 17:17:42 +00:00
|
|
|
Version: 0.8.0suse2
|
2013-05-16 13:18:25 +00:00
|
|
|
Release: 0
|
2009-07-31 02:57:26 +00:00
|
|
|
Summary: Python library for bugzilla
|
2012-01-31 16:59:03 +00:00
|
|
|
License: GPL-2.0+
|
2013-05-16 13:18:25 +00:00
|
|
|
Group: Development/Libraries/Python
|
2009-07-31 02:57:26 +00:00
|
|
|
Url: https://fedorahosted.org/python-bugzilla/
|
2013-05-30 17:17:42 +00:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2012-01-31 16:59:03 +00:00
|
|
|
# https://gitorious.org/opensuse/python-bugzilla
|
2009-07-31 02:57:26 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: python-devel
|
2013-05-22 12:10:42 +00:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
2013-01-03 17:38:22 +00:00
|
|
|
%else
|
2013-05-22 12:10:42 +00:00
|
|
|
BuildArch: noarch
|
2013-01-03 17:33:43 +00:00
|
|
|
%endif
|
2013-05-30 17:17:42 +00:00
|
|
|
Suggests: osc
|
2009-07-31 02:57:26 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This is a python module that provides a nice, python-ish interface to Bugzilla
|
|
|
|
|
over XMLRPC.
|
|
|
|
|
|
|
|
|
|
It was originally written specifically for Red Hat's Bugzilla instance, but now
|
|
|
|
|
supports the Web Services provided by upstream Bugzilla 3.0 and 3.2 also.
|
|
|
|
|
|
|
|
|
|
It also includes a 'bugzilla' commandline client which can be used for quick,
|
|
|
|
|
ad-hoc bugzilla jiggery-pokery. I guess you could use it in shell scripts too,
|
|
|
|
|
but gosh - why not just write something in Python instead?
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
2013-05-22 12:10:42 +00:00
|
|
|
CFLAGS="%{optflags}" python setup.py build
|
2009-07-31 02:57:26 +00:00
|
|
|
|
|
|
|
|
%install
|
2013-05-22 12:10:42 +00:00
|
|
|
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
2009-07-31 02:57:26 +00:00
|
|
|
|
2013-05-22 12:10:42 +00:00
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README
|
|
|
|
|
%{_bindir}/bugzilla
|
|
|
|
|
%{python_sitelib}/bugzilla
|
|
|
|
|
%{python_sitelib}/python_bugzilla-%{version}-py%{py_ver}.egg-info
|
|
|
|
|
%{_mandir}/man1/bugzilla.1.gz
|
2009-07-31 02:57:26 +00:00
|
|
|
|
|
|
|
|
%changelog
|