From fd1a97efb7b98db66f44d1797d6ac4f93361fd0c Mon Sep 17 00:00:00 2001 From: Vendula Poncova Date: Mon, 11 Nov 2019 15:10:31 +0100 Subject: [PATCH] Initial import (#1767801). --- .gitignore | 1 + python-dasbus.spec | 47 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 49 insertions(+) create mode 100644 .gitignore create mode 100644 python-dasbus.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1e69d1c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/dasbus-0.1.tar.gz diff --git a/python-dasbus.spec b/python-dasbus.spec new file mode 100644 index 0000000..d55e9fd --- /dev/null +++ b/python-dasbus.spec @@ -0,0 +1,47 @@ +%global srcname dasbus + +Name: python-%{srcname} +Version: 0.1 +Release: 1%{?dist} +Summary: DBus library in Python 3 + +License: LGPLv2+ +URL: https://pypi.python.org/pypi/dasbus +Source0: %{pypi_source} + +BuildArch: noarch + +%global _description %{expand: +Dasbus is a DBus library written in Python 3, based on +GLib and inspired by pydbus. It is designed to be easy +to use and extend.} + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-setuptools +Requires: python3-gobject-base +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{srcname} +%license LICENSE +%doc README.md +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + +%changelog +* Thu Oct 31 2019 Vendula Poncova - 0.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..70f86e0 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (dasbus-0.1.tar.gz) = af0e35064d4596ea3a7fec0f7100e34071b9fadc35e7ecd181a64314c677acf49fcadf570fcc4ab6a80ec1d98176476c7d57bf8114550ed35909aec01a3ada65