From 3e319a92003e35d9e111e719ddfad1ea59c054b8 Mon Sep 17 00:00:00 2001 From: mulhern Date: Thu, 24 Mar 2016 08:52:21 -0400 Subject: [PATCH] Initial version: 0.06 Signed-off-by: mulhern --- .gitignore | 1 + python-justbytes.spec | 72 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 74 insertions(+) create mode 100644 python-justbytes.spec diff --git a/.gitignore b/.gitignore index e69de29..649cd6d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/justbytes-0.6.tar.gz diff --git a/python-justbytes.spec b/python-justbytes.spec new file mode 100644 index 0000000..c257799 --- /dev/null +++ b/python-justbytes.spec @@ -0,0 +1,72 @@ +%global srcname justbytes +Name: python-%{srcname} +Version: 0.6 +Release: 1%{?dist} +Summary: A library for handling computation with address ranges in bytes + +License: GPLv2 +URL: http://pypi.python.org/pypi/%{srcname} +Source0: https://pypi.python.org/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildArch: noarch + +%description +A library for handling computations with address ranges. The library also offers +a configurable way to extract the representation of a value. + +%package -n python2-%{srcname} +Summary: A library for handling computation with address ranges in bytes +%{?python_provide:%python_provide python2-%{srcname}} + +BuildRequires: python2-devel +BuildRequires: python-setuptools + +Requires: python-justbases +Requires: python-six + +%description -n python2-%{srcname} +A library for handling computations with address ranges. The library also offers +a configurable way to extract the representation of a value. + + +%package -n python3-%{srcname} +Summary: A module for handling computation with address ranges in bytes +%{?python_provide:%python_provide python3-%{srcname}} + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +Requires: python3-justbases +Requires: python3-six + +%description -n python3-%{srcname} +A library for handling computations with address ranges. The library also offers +a configurable way to extract the representation of a value. + +%prep +%autosetup -n %{srcname}-%{version} +rm -rf justbytes.egg-info + +%build +%py2_build +%py3_build + +%install +%py2_install +%py3_install + +%files -n python2-%{srcname} +%license LICENSE +%doc README.rst +%{python2_sitelib}/justbytes/ +%{python2_sitelib}/justbytes-%{version}-*.egg-info + +%files -n python3-%{srcname} +%license LICENSE +%doc README.rst +%{python3_sitelib}/justbytes/ +%{python3_sitelib}/justbytes-%{version}-*.egg-info + +%changelog +* Wed Mar 23 2016 mulhern - 0.6 +- Initial release diff --git a/sources b/sources index e69de29..c0ac37f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +872d2e2837fb2dcda8a925f94976bd38 justbytes-0.6.tar.gz