forked from pool/python-python-jenkins
Accepting request 361805 from home:tbechtold:branches:devel:languages:python
Rename python-jenkins to python-python-jenkins OBS-URL: https://build.opensuse.org/request/show/361805 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=1
This commit is contained in:
62
python-python-jenkins.spec
Normal file
62
python-python-jenkins.spec
Normal file
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package python-jenkins
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
|
||||
#
|
||||
# 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-python-jenkins
|
||||
Version: 0.4.12
|
||||
Release: 0
|
||||
Summary: Python bindings for the remote Jenkins API
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://launchpad.net/python-jenkins
|
||||
Source: https://pypi.python.org/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-pbr
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%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()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Requires: python-multi_key_dict
|
||||
Requires: python-six >= 1.3.0
|
||||
Provides: python-jenkins = %{version}
|
||||
Obsoletes: python-jenkins < %{version}
|
||||
|
||||
%description
|
||||
This package provides Python bindings for the Jenkins Remote
|
||||
API. It current supports management of:
|
||||
* Project configuration
|
||||
* Build control
|
||||
* Slave node configuration
|
||||
|
||||
%prep
|
||||
%setup -q -n python-jenkins-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user