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.
|
|
|
|
|
|
|
|
# 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
|
2018-03-19 14:18:07 +01:00
|
|
|
Version: 0.4.1
|
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
|
2014-02-21 15:08:20 +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
|
2018-03-19 14:18:07 +01:00
|
|
|
Source1: LICENSE
|
|
|
|
BuildRequires: %{python_module construct < 2.9}
|
2017-09-02 11:46:56 +02:00
|
|
|
BuildRequires: %{python_module construct >= 2.8}
|
|
|
|
BuildRequires: %{python_module devel}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
2018-03-19 14:18:07 +01:00
|
|
|
BuildRequires: %{python_module six}
|
2017-09-02 11:46:56 +02:00
|
|
|
BuildRequires: python-rpm-macros
|
2013-05-02 12:41:02 +02:00
|
|
|
Requires: python-construct
|
2014-03-31 09:34:13 +02:00
|
|
|
Requires: python-six >= 1.4.0
|
2013-05-02 12:41:02 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
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}
|
2018-03-19 14:18:07 +01:00
|
|
|
cp %{S:1} .
|
2013-05-02 12:41:02 +02:00
|
|
|
|
|
|
|
%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
|
2013-05-02 12:41:02 +02:00
|
|
|
|
2017-09-02 11:46:56 +02:00
|
|
|
%files %{python_files}
|
2013-05-02 12:41:02 +02:00
|
|
|
%defattr(-,root,root,-)
|
2018-03-19 14:18:07 +01:00
|
|
|
%doc LICENSE
|
2013-05-02 12:41:02 +02:00
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
%changelog
|