Accepting request 236066 from home:sbrabec

New package.

OBS-URL: https://build.opensuse.org/request/show/236066
OBS-URL: https://build.opensuse.org/package/show/electronics/intelhex?expand=0&rev=1
This commit is contained in:
2014-06-02 17:03:33 +00:00
committed by Git OBS Bridge
commit 1243c73989
5 changed files with 104 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue May 27 21:37:29 CEST 2014 - sbrabec@suse.cz
- Created new package, version 1.5.
+72
View File
@@ -0,0 +1,72 @@
#
# spec file for package intelhex
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: intelhex
License: BSD-3-Clause
Group: Tools/Other
Version: 1.5
Release: 0
Summary: Library for Intel HEX Files Manipulations
Url: http://www.bialix.com/intelhex/
Source: http://www.bialix.com/intelhex/intelhex-1.5.zip
BuildRequires: python
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Python implementation of Intel HEX file format allows you read, modify, write
hex files and convert them to binary form.
The Intel HEX file format widely used in microprocessors and microcontrollers
area as the de-facto standard for representation of code for programming
microelectronic devices.
This work implements an **intelhex** Python library to read, write,
create from scratch and manipulate data from HEX (also known as Intel HEX)
file format. These operations are provided by “IntelHex” class.
The distribution package also includes several convenience Python scripts
to do basic tasks that utilize this library. The “bin2hex.py” script
converts binary data to HEX, and the “hex2bin.py” works the other direction.
“hex2dump.py” converts data from HEX to a hexdump which is useful for
inspecting data, and “hexmerge.py” merges multiple HEX files into one.
%lang_package
%prep
%setup -q
%build
python setup.py\
build
%install
python setup.py\
install\
--prefix=%{_prefix}\
--root=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS.txt LICENSE.txt NEWS.txt README.txt
%{_bindir}/*
%{python_sitelib}/*
%changelog
+23
View File
@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
+1
View File
@@ -0,0 +1 @@
.osc
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:143a6eeb6320e2cf718d5502633409d35c3b09702e6cda72c2cb37ce4546cdc8
size 82072