File BOSSA.spec of Package BOSSA

#
# spec file for package BOSSA
#
# Copyright (c) 2017 SUSE LINUX 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:           BOSSA
Version:        1.8
Release:        0
Summary:        Flash programming utility for Atmel's SAM flash-based ARM microcontrollers
License:        BSD-3-Clause
Group:          Development/Tools/Other
Url:            https://github.com/shumatech/BOSSA/tree/arduino
# http://download.savannah.gnu.org/releases/BOSSA/
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  gcc-c++
BuildRequires:  readline-devel
BuildRequires:  wxWidgets-3_0-devel
# PATCH-FIX-UPSTREAM: https://github.com/shumatech/BOSSA/pull/21
#Patch3:         0003-add-support-for-Atmel-Cortex-M7-chips-SAM-S70-E70-V7.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The motivation behind BOSSA is to create a simple, easy-to-use, open
source utility to replace Atmel's SAM-BA software. BOSSA is an acronym
for Basic Open Source SAM-BA Application to reflect that goal.
http://www.shumatech.com/web/products/bossa

%package -n bossa
Summary:        BOSSA flash programming utility - graphical version
Group:          Development/Tools/Other

%description -n bossa
BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers

The motivation behind BOSSA is to create a simple, easy-to-use, open
source utility to replace Atmel's SAM-BA software. BOSSA is an acronym
for Basic Open Source SAM-BA Application to reflect that goal.
http://www.shumatech.com/web/products/bossa

%package -n bossac
Summary:        BOSSA flash programming utility - command line version
Group:          Development/Tools/Other

%description -n bossac
BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers

The motivation behind BOSSA is to create a simple, easy-to-use, open
source utility to replace Atmel's SAM-BA software. BOSSA is an acronym
for Basic Open Source SAM-BA Application to reflect that goal.
http://www.shumatech.com/web/products/bossa

%package -n bossash
Summary:        BOSSA flash programming utility - interactive shell version
Group:          Development/Tools/Other

%description -n bossash
BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers

The motivation behind BOSSA is to create a simple, easy-to-use, open
source utility to replace Atmel's SAM-BA software. BOSSA is an acronym
for Basic Open Source SAM-BA Application to reflect that goal.
http://www.shumatech.com/web/products/bossa

%prep
%setup -q
#%%patch3 -p1

%build
make bin/bossa %{?_smp_mflags}
make bin/bossac %{?_smp_mflags}
make bin/bossash %{?_smp_mflags}

%install
mkdir -p %{buildroot}%{_bindir}
install -m755 bin/bossa %{buildroot}%{_bindir}
install -m755 bin/bossac %{buildroot}%{_bindir}
install -m755 bin/bossash %{buildroot}%{_bindir}

%files -n bossa
%defattr (-, root, root)
%doc LICENSE README.md
%{_bindir}/bossa

%files -n bossac
%defattr (-, root, root)
%doc LICENSE README.md
%{_bindir}/bossac

%files -n bossash
%defattr (-, root, root)
%doc LICENSE README.md
%{_bindir}/bossash

%changelog
openSUSE Build Service is sponsored by