automatic version update by autodist [release 1.8.15-1mamba;Wed May 19 2021]
This commit is contained in:
parent
7857e78483
commit
129330c161
33
arduino.spec
33
arduino.spec
@ -2,14 +2,14 @@
|
|||||||
%define longversion %(echo 0%version | tr -d .)
|
%define longversion %(echo 0%version | tr -d .)
|
||||||
|
|
||||||
Name: arduino
|
Name: arduino
|
||||||
Version: 1.8.13
|
Version: 1.8.15
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: The open-source Arduino environment
|
Summary: The open-source Arduino environment
|
||||||
Group: Graphical Desktop/Applications/Development
|
Group: Graphical Desktop/Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.arduino.cc/en/Main/software
|
URL: https://www.arduino.cc/en/software/
|
||||||
Source: https://github.com/arduino/Arduino.git/%{version}/Arduino-%{version}.tar.bz2
|
Source: https://github.com/arduino/Arduino.git/%{version}/Arduino-%{version}.tar.bz2
|
||||||
Source1: arduino-1.0.1-icons.tar.xz
|
Source1: arduino-1.0.1-icons.tar.xz
|
||||||
Patch0: arduino-1.0.1-script.patch
|
Patch0: arduino-1.0.1-script.patch
|
||||||
@ -19,17 +19,18 @@ Patch1: arduino-1.0-use_system_rxtx.patch
|
|||||||
Patch2: arduino-1.0-etc.patch
|
Patch2: arduino-1.0-etc.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: java-rxtx
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: ldconfig
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: apache-ant
|
BuildRequires: apache-ant
|
||||||
BuildRequires: jpackage-utils
|
BuildRequires: javapackages
|
||||||
|
Requires: java-openjdk8-runtime
|
||||||
Requires: cross-avr-gcc
|
Requires: cross-avr-gcc
|
||||||
Requires: avr-libc
|
Requires: avr-libc
|
||||||
Requires: avrdude
|
Requires: avrdude
|
||||||
Requires: java-rxtx
|
Requires: java-rxtx
|
||||||
Obsoletes: arduino.noarch
|
Obsoletes: arduino.noarch < 1.8.15
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The open-source Arduino environment makes it easy to write code and upload it to the Arduino i/o board.
|
The open-source Arduino environment makes it easy to write code and upload it to the Arduino i/o board.
|
||||||
@ -52,6 +53,7 @@ tar xf %{SOURCE1}
|
|||||||
#build-jar-repository -p -s app/lib/ ecj jna RXTXcomm
|
#build-jar-repository -p -s app/lib/ ecj jna RXTXcomm
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
export JAVA_HOME=%{_jvmdir}/java-8
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
export platform=linux64
|
export platform=linux64
|
||||||
%endif
|
%endif
|
||||||
@ -65,20 +67,10 @@ export LD_PRELOAD=/usr/lib/libatomic.so
|
|||||||
|
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
count=0
|
|
||||||
set +e
|
|
||||||
while [[ count -lt 5 ]]; do
|
|
||||||
# Workaround for java random crashes on build servers
|
|
||||||
count=$((count+1))
|
|
||||||
#(cd core/methods; ant)
|
|
||||||
#(cd core; ant)
|
|
||||||
ant -Djava.net.preferIPv4Stack=true -Dplatform=${platform} dist << __END
|
ant -Djava.net.preferIPv4Stack=true -Dplatform=${platform} dist << __END
|
||||||
|
|
||||||
__END
|
__END
|
||||||
[ $? -eq 0 ] && break
|
|
||||||
done
|
|
||||||
[ $? -ne 0 ] && exit 1
|
|
||||||
set -e
|
|
||||||
tar -xf linux/arduino-%{version}-${platform}.tar.xz
|
tar -xf linux/arduino-%{version}-${platform}.tar.xz
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -128,6 +120,9 @@ done
|
|||||||
%doc %{_defaultdocdir}/arduino-%{version}/reference
|
%doc %{_defaultdocdir}/arduino-%{version}/reference
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 19 2021 Automatic Build System <autodist@mambasoft.it> 1.8.15-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Sat Jul 11 2020 Automatic Build System <autodist@mambasoft.it> 1.8.13-1mamba
|
* Sat Jul 11 2020 Automatic Build System <autodist@mambasoft.it> 1.8.13-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user