2013-05-02 12:41:02 +02:00
|
|
|
#
|
|
|
|
# spec file for package python-pybeam
|
|
|
|
#
|
2018-03-19 14:18:07 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-05-02 12:41:02 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-01-01 16:13:38 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2014-02-21 15:08:20 +01:00
|
|
|
#
|
2013-05-02 12:41:02 +02:00
|
|
|
|
|
|
|
|
2017-09-02 11:46:56 +02:00
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
2013-05-02 12:41:02 +02:00
|
|
|
Name: python-pybeam
|
2019-01-01 16:13:38 +01:00
|
|
|
Version: 0.5
|
2013-05-02 12:41:02 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Python module to parse Erlang BEAM files
|
2014-02-21 15:08:20 +01:00
|
|
|
License: MIT
|
2013-05-02 12:41:02 +02:00
|
|
|
Group: Development/Languages/Python
|
2018-12-04 18:19:00 +01:00
|
|
|
URL: http://github.com/matwey/pybeam
|
2017-01-18 10:13:34 +01:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
|
2019-01-01 16:13:38 +01:00
|
|
|
BuildRequires: %{python_module Sphinx}
|
|
|
|
BuildRequires: %{python_module construct < 2.10}
|
|
|
|
BuildRequires: %{python_module construct >= 2.9}
|
2017-09-02 11:46:56 +02:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2018-03-19 14:18:07 +01:00
|
|
|
BuildRequires: %{python_module six}
|
2019-01-01 16:13:38 +01:00
|
|
|
BuildRequires: fdupes
|
2017-09-02 11:46:56 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
2019-01-01 16:13:38 +01:00
|
|
|
Requires: python-construct < 2.10
|
|
|
|
Requires: python-construct >= 2.9
|
2014-03-31 09:34:13 +02:00
|
|
|
Requires: python-six >= 1.4.0
|
2013-05-02 12:41:02 +02:00
|
|
|
BuildArch: noarch
|
2017-09-02 11:46:56 +02:00
|
|
|
%python_subpackages
|
2013-05-02 12:41:02 +02:00
|
|
|
|
|
|
|
%description
|
2017-09-02 11:46:56 +02:00
|
|
|
Python module to parse Erlang BEAM files, now it is able to read
|
|
|
|
imports, exports, atoms, as well as compile info and attribute
|
|
|
|
chunks in pretty python format.
|
2013-05-02 12:41:02 +02:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pybeam-%{version}
|
|
|
|
|
|
|
|
%build
|
2017-09-02 11:46:56 +02:00
|
|
|
%python_build
|
2013-05-02 12:41:02 +02:00
|
|
|
|
|
|
|
%install
|
2017-09-02 11:46:56 +02:00
|
|
|
%python_install
|
2019-01-01 16:13:38 +01:00
|
|
|
%fdupes %{buildroot}/%{_prefix}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%python_exec setup.py test
|
2013-05-02 12:41:02 +02:00
|
|
|
|
2017-09-02 11:46:56 +02:00
|
|
|
%files %{python_files}
|
2018-12-04 18:19:00 +01:00
|
|
|
%license LICENSE
|
2013-05-02 12:41:02 +02:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|