# For linux, change to /usr/src/redhat
# For my cygwin: /cygdrive/c/rpmsrc
if [ -z $RPMS ]; then #test to see if RPMS is overridden by the environment
- RPMS=/usr/src/redhat
+ RPMS=/usr/src/rpm
fi
-TINYOS_VERSION=2.0.2
-TINYOS_TOOLS_VERSION=1.2.4
+TINYOS_VERSION=2.1.0
+TINYOS_TOOLS_VERSION=1.3.0
echo "*** Building tarballs"
#rm ../../../*.tar.gz
NAME=tinyos-tools
-VERSION=1.2.4
+VERSION=1.3.0
cd ../..
rm -rf $NAME-$VERSION
!^./support
!^./tools/release
!^./tos
-!^./README|overall-todo.txt
+!^./README|overall-todo.txt|release-notes.txt
!/.cvsignore
!/CVS/
!/CVS$
Summary: TinyOS tools
Name: tinyos-tools
-Version: 1.2.4
-Release: 2
+Version: 1.3.0
+Release: 1
License: Please see source
Group: Development/System
URL: http://www.tinyos.net/
Source0: %{name}-%{version}.tar.gz
# This makes cygwin happy
Provides: /bin/sh /bin/bash
-Requires: nesc >= 1.2.7
+Requires: nesc >= 1.3
%description
Tools for use with tinyos. Includes, for example: uisp, motelist, pybsl, mig,
-ncc and nesdoc. The source for these tools is found in the TinyOS CSV
+ncc and nesdoc. The source for these tools is found in the TinyOS CVS
repository under tinyos-2.x/tools.
%prep
NAME=tinyos
-VERSION=2.0.2
+VERSION=2.1.0
cd ../..
rm -rf $NAME-$VERSION
tools/release/extractor $NAME-$VERSION <<'EOF' | gzip >../$NAME-$VERSION.tar.gz
-!^./apps/tests/(eyesIFX|mica2|msp430|RadioStress|TestAlarm|TestAMOnOff|TestAMService|TestBroadcast|TestCollection|TestMultihopLqi|TestOscilloscopeLQI|TestPowerManager|TestPowerup|TestPrintf|TestRadioPM|TestScheduler|TestSerialBandwidth|TestSharedResource|TestSimTimers|TestSleep|TestTimerSync|TestTreeRouting|TestTrickleTimer)
+!^./apps/tests/(eyesIFX|mica2|msp430|rf230|mts300|telosb)
+!^./apps/tests/(RadioStress|TestAlarm|TestAM|TestAMOnOff|TestAMService|TestBroadcast|TestCollection|TestLocalTime|TestMultihopLqi|TestOscilloscopeLQI|TestPowerManager|TestPowerup|TestPrintf|TestRadioPM|TestScheduler|TestSerialBandwidth|TestSharedResource|TestSimTimers|TestSleep|TestTimerSync|TestTreeRouting|TestTrickleTimer|TestTymo)
!^/apps/(BlinkAlarm|BlinkMSP430|BlinkTask|BlinkToRadio|Test|TestADC|TestArbiter|TestCC2420|TestRadio|TestSPI|TestScheduler|TestSchedulerTemp|TestSerial)
!^./doc
!^./overall-todo.txt
!^./tos/lib/ByteRadio
!^./tos/lib/deluge
!^./tos/lib/net/collection
+!^./tos/lib/net/zigbee
+!^./tos/lib/net/tymo
!^./tos/lib/oski
!^./tos/platforms/btnode3
!/.cvsignore
./tests/cc2420/LplBroadcastCountToLeds/RadioCountMsg.class
./tests/cc2420/RssiToSerial/SpecAnalyzer.class
./tests/cc2420/RssiToSerial/RssiSerialMsg.class
+./tests/TestSerial/TestSerialMsg.class
+./tests/TestSerial/TestSerial.class
./RadioCountToLeds/RadioCountMsg.class
EOF
rm -rf $NAME-$VERSION
Summary: An event-based operating environment designed for use with embedded networked sensors.
Name: tinyos
BuildArchitectures: noarch
-Version: 2.0.2
-Release: 2
+Version: 2.1.0
+Release: 1
License: Please see source
Packager: TinyOS Group, UC Berkeley
Group: Development/System
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
Prefix: /opt
-Requires: tinyos-tools >= 1.2.4, nesc >= 1.2.7
+Requires: tinyos-tools >= 1.3, nesc >= 1.3
%description
TinyOS is an event based operating environment designed for use with