Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:frispete:python
python-hexdump
python-hexdump.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-hexdump.spec of Package python-hexdump
# # spec file for package python-hexdump # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-hexdump Version: 3.3 Release: 0 Summary: Python tool to dump binary data License: Unlicense Group: Development/Languages/Python URL: https://bitbucket.org/techtonik/hexdump/ Source0: https://files.pythonhosted.org/packages/source/h/hexdump/hexdump-%{version}.zip Source1: https://bitbucket.org/techtonik/hexdump/raw/66325cb5fed890df4a345e25ea8f107fd31b60d8/UNLICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip BuildArch: noarch %python_subpackages %description This utility converts between the raw representation and a byte-based hexdump representation. The display is equivalent to the output of the `hexdump -C` command, but it requires a Python runtime. %prep %setup -q -c -n hexdump-%{version} sed -i '/^#!/d' hexdump.py cp %{SOURCE1} . %build %python_build %install %python_install # Copy the data directory ourselves to the correct location %python_expand cp -av data %{buildroot}%{$python_sitelib} # and remove the other rm -rf %{buildroot}/usr/data %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand $python %{buildroot}%{$python_sitelib}/hexdump.py --test %files %{python_files} %{python_sitelib}/* %doc README.txt %license UNLICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor