initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-08 15:00:34 +01:00
parent 6c8fba85e1
commit a6bdab49e4
3 changed files with 56 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/dbus-python-client-gen-0.5.tar.gz

View File

@ -0,0 +1,54 @@
%global srcname dbus-python-client-gen
Name: python-%{srcname}
Version: 0.5
Release: 1%{?dist}
Summary: Python Library for Generating dbus-python Client Code
License: MPLv2.0
URL: https://github.com/stratis-storage/dbus-python-client-gen
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
%global _description \
%{summary}.
%description %{_description}
%package -n python3-%{srcname}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-dbus
BuildRequires: python3-into-dbus-python >= 0.06
Requires: python3-dbus
Requires: python3-into-dbus-python >= 0.06
%description -n python3-%{srcname} %{_description}
Python 3 version.
%prep
%autosetup -n %{srcname}-%{version}
%build
%py3_build
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v tests
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
%{python3_sitelib}/dbus_python_client_gen/
%{python3_sitelib}/dbus_python_client_gen-*.egg-info/
%changelog
* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5-1
- Initial import

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (dbus-python-client-gen-0.5.tar.gz) = f0818d35d309ce3cea10ea557a8e25fa87fd2065e08d5d2bc67b66c1fb66bbe44d0481bf77620c9aec33c80f45f1bf8921d166f28e48f0df60159e717bd89d5e