diff options
author | CoprDistGit <infra@openeuler.org> | 2025-03-14 06:39:29 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2025-03-14 06:39:29 +0000 |
commit | 2956e5c6bb69178ec7aa2ca0faae2f4130cc87f7 (patch) | |
tree | 884301a581b688ab9d7ca58ce1e6520a45e7cdf4 | |
parent | 948fd77b998f0241277102f0154acafe4a6f2645 (diff) |
automatic import of bossaopeneuler24.03_LTS_SP1
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | bossa.spec | 53 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 55 insertions, 0 deletions
@@ -0,0 +1 @@ +/nrf.tar.gz diff --git a/bossa.spec b/bossa.spec new file mode 100644 index 0000000..eda6ea3 --- /dev/null +++ b/bossa.spec @@ -0,0 +1,53 @@ +Name: bossa +Version: 1.9.2 +Release: lp154.7.1 +Summary: Flash utility for Atmel's SAM ARM microcontrollers (e.g. Arduino) +Source0: https://github.com/arduino/BOSSA/archive/refs/heads/nrf.tar.gz +License: BSD 3-clause +Group: System +BuildRequires: (wxwidgets-devel or wxqt3.1-devel or wxGTK3-devel or libwxgtku3.1-devel) +BuildRequires: (gcc-c++ or gcc-g++ or g++) +BuildRequires: (pkgconfig(readline) or readline-devel or libreadline-devel) +Provides: bossac = %{version}-%{release} + +%description +BOSSA is a flash programming utility for Atmel's SAM family of flash-based ARM +microcontrollers (such as various Arduino boards). + +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. + +%package ui +Summary: Graphical frontend for the BOSSA Atmel SAM (e.g. Arduino) flash tool +Group: System +Requires: %{name} = %{version}-%{release} + +%description ui +Graphical frontend for the BOSSA Atmel SAM (e.g. Arduino) flash tool + +%prep +%autosetup -p1 -n BOSSA-nrf + +%build +if which wx-config-3.2 &>/dev/null; then + WX=3.2 +elif which wx-config-3.1 &>/dev/null; then + WX=3.1 +elif which wx-config-3.0 &>/dev/null; then + WX=3.0 +elif which wx-config &>/dev/null; then + WX=$(wx-config --version |cut -d. -f1-2) +fi +%make_build WXVERSION=${WX} + +%install +mkdir -p %{buildroot}%{_bindir} +install -c -m 755 bin/bossa* %{buildroot}%{_bindir}/ + +%files +%{_bindir}/bossa +%{_bindir}/bossash + +%files ui +%{_bindir}/bossac @@ -0,0 +1 @@ +074baf8b82b96c9d88c885f0cb3d55df nrf.tar.gz |