Initial version: 0.06
Signed-off-by: mulhern <amulhern@redhat.com>
This commit is contained in:
parent
1c312871d1
commit
3e319a9200
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/justbytes-0.6.tar.gz
|
72
python-justbytes.spec
Normal file
72
python-justbytes.spec
Normal file
@ -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 <amulhern@redhat.com> - 0.6
|
||||
- Initial release
|
Loading…
Reference in New Issue
Block a user