File hex2bin.spec of Package hex2bin
#
# spec file for package hex2bin
#
# Copyright (c) 2014 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: hex2bin
Version: 1.0.10
Release: 0
Summary: Converts Motorola and Intel hex files to binary
License: BSD-2-Clause
Group: Development/Tools/Building
Url: http://sourceforge.net/projects/hex2bin
Source: http://downloads.sourceforge.net/%{name}/Hex2bin-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Converts Motorola and Intel hex files to binary. For other formats, check this
project also on sourceforge: srecord
%prep
%setup -q -n Hex2bin-%{version}
rm -f hex2bin mot2bin
%build
make %{?_smp_mflags}
%install
install -d %{buildroot}/%{_bindir}
install -m 0755 hex2bin mot2bin %{buildroot}/%{_bindir}
%files
%defattr(-,root,root)
%doc doc/*
%{_bindir}/*
%changelog