[Tinyos-2-commits] CVS: tinyos-2.x/tools/release/external-tools avarice.spec, NONE, 1.1 avr-gcc.spec, NONE, 1.1 avr-insight.spec, NONE, 1.1 binutils.spec, NONE, 1.1 msp430-libc.spec, NONE, 1.1 xscale-elf.gcc.spec, NONE, 1.1

Phil Levis scipio at users.sourceforge.net
Tue Aug 12 06:38:24 PDT 2008


Update of /cvsroot/tinyos/tinyos-2.x/tools/release/external-tools
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv29294

Added Files:
	avarice.spec avr-gcc.spec avr-insight.spec binutils.spec 
	msp430-libc.spec xscale-elf.gcc.spec 
Log Message:
Spec files for external tools.


--- NEW FILE: avarice.spec ---
%define theprefix /usr

Summary: AVaRICE - an interface for Atmel JTAG ICE to GDB
Name: avarice
Version: 2.4
Release: 1
Packager: kwright, TinyOS Group, UC Berkeley
License: GNU GPL
Group: Development/Tools 
URL: http://sourceforge.net/projects/avarice/
Source0: avarice-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root

%description
AVaRICE compiled for the %{target} platform.
AVaRICE is a program interfacing the Atmel JTAG ICE to GDB. 
Users can debug their embedded AVR target via the Atmel JTAG 
ICE using GDB.

%prep
%setup -q

%build
./configure --prefix=/usr
make

%install
rm -rf %{buildroot}%{theprefix}
make prefix=%{buildroot}%{theprefix} install

%clean
rm -rf $RPM_BUILD_DIR/%(name)-%(version)
rm -rf $RPM_SOURCE_DIR/%(name)-%(version)

%files
%defattr(-,root,root,-)
%{theprefix}
%doc

%changelog
* Fri Feb 3 2006 kwright <kwright at cs.berkeley.edu>
- Update to avarice 2.4; create multi-platform file
* Tue Mar 1 2005 kwright <kwright at cs.berkeley.edu>
- Update for TinyOS 1.2 build.
* Mon Aug 18 2003 kwright <kwright at cs.berkeley.edu>
- Initial build.



--- NEW FILE: avr-gcc.spec ---
# 
# The source must be in a tgz with the 
# name %{target}-%{version}-binutils.tgz.
# When unfolded, the top-level directory 
# must be %{target}-%{version}.
# 
#
# 03/14/2005 xscale
# target: xscale-elf
# version: 3.4.3
# release: 1
# 

%define target avr 
%define version  4.1.2
%define release  1
%define name     %{target}-gcc
%define theprefix /usr
%define source %{name}-%{version}.tgz

Summary: gcc compiled for the %{target} platform 
Name: %{name}
Version: %{version}
Release: %{release}
Packager: kwright, TinyOS Group, UC Berkeley
License: GNU GPL
Group: Development/Tools
URL: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-3.4.3.tar.bz2
Source0: %{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-root

%description
gcc compiled for the %{target} platform. The tarfile was renamed 
to %{target}-gcc* to reflect the purpose. 

%prep
%setup -q

%build
./configure --target=%{target} --enable-languages=c --disable-nls --prefix=/usr --disable-libssp
make

%install
rm -rf %{buildroot}%{theprefix}
make prefix=%{buildroot}%{theprefix} install
cd %{buildroot}%{theprefix}
rm lib/libiberty.a

%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}

%files
%defattr(-,root,root,-)
%{theprefix}
%doc

%changelog
* Sun Aug 10 2008 pal <pal at cs.stanford.edu> 4.1.2, avr
* Mon Mar 14 2005 root <kwright at cs.berkeley.edu> 3.4.3
- Initial build for multi-platform, multi-target



--- NEW FILE: avr-insight.spec ---
%define theprefix /usr

Summary: Insight GDB GUI	
Name: avr-insight
Version: 6.3
Release: 1
Packager: TinyOS Group, UC Berkeley
License: GNU GPL
Group: Development/Tools
URL: httphttp://ftp.gnu.org/gnu/gdb/gdb-6.2.tar.gz 
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root

%description
This package includes gdb and insight, a graphical user interface to GDB
written in Tcl/Tk originally by Red Hat and Cygnus.

%prep
%setup -q

%build
./configure --prefix=%{theprefix} --target=avr --with-gnu-ld --with-gnu-as --disable-nls 
make

%install
rm -rf %{buildroot}/usr/local
make prefix=%{buildroot}/usr/local install
cd %{buildroot}/usr/local
rm info/bfd.info* info/configure.info* info/dir info/standards.info
rm lib/libiberty.a

%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}

%files
%defattr(-,root,root,-)
/usr/local
%doc

%changelog
* Thu Aug 28 2003 root <kwright at cs.berkeley.edu> pre6.0cvs-1.2
- Removed last of the file conflicts and changed name to avr-insight
* Fri Aug 15 2003 root <kwright at cs.berkeley.edu> pre6.0cvs-1
- Initial build.



--- NEW FILE: binutils.spec ---
# 
# The source must be in a tgz with the 
# name %{target}-%{version}-binutils.tgz.
# When unfolded, the top-level directory 
# must be %{target}-%{version}.
# 
# 03/14/2005 xscale
# target: xscale-elf
# version: 2.15
# release: 1
#
# 03/25/2005 avr
# target: avr
# version: 2.15tinyos
# release: 3
# 

%define target   avr
%define version  2.17tinyos
%define release  3
%define name     %{target}-binutils
%define theprefix /usr
%define source   %{name}-%{version}.tgz

Summary: GNU binutils for the %{target} platform
Name: %{name}
Version: %{version}
Release: %{release}
Packager: kwright, TinyOS Group, UC Berkeley
URL: http://ftp.gnu.org/gnu/binutils/
Source0: %{source}
License: GNU GPL
Group: Development/Tools 
BuildRoot: %{_tmppath}/%{name}-root

%description
The GNU Binutils are a collection of binary tools. The main tools are 
ld and as. This particular collection  contains a patched as for 
use with TinyOS 1.2+ on the %{target} platform. The patch allows 
NesC to use the $ character within symbols to separate component
names and variable names. 

%prep
%setup -q

%build
./configure --target=%{target} --prefix=%{theprefix}
make

%install
rm -rf %{buildroot}%{theprefix}
make prefix=%{buildroot}%{theprefix} install
cd %{buildroot}%{theprefix}
rm -rf info share 
rm lib/libiberty.a

%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}

%files
%defattr(-,root,root)
%{theprefix}
%doc

%changelog
* Tue Jul 26 2005 kwright <kwright at cs.berkeley.edu>
- Increase release version for avr; old version did not have the $
  patch
* Tue Mar 11 2005 kwright <kwright at cs.berkeley.edu>
- Initial version for multi-platform, multi-target.



--- NEW FILE: msp430-libc.spec ---
# 
# The source must be in a tgz with the 
# name %{target}-%{version}-binutils.tgz.
# When unfolded, the top-level directory 
# must be %{target}-%{version}.
# 
# avr:
# target: avr
# libname: libc
# version: 1.2.3
# release: 1
# url: http://savannah.nongnu.org/download/avr-libc/
# 
# xscale-elf:
# target: xscale-elf
# libname: newlib
# version: 1.11tinyos
# release: 1
# url: ftp://sources.redhat.com/pub/newlib/newlib-1.11.0.tar.gz

%define target msp430tools 
%define libname libc
%define version 20080808
%define release 1
%define url http://savannah.nongnu.org/download/
%define name     %{target}-%{libname}
%define theprefix /opt
%define source   %{name}-%{version}.tgz

Summary: C library for the %{target} platform
Name: %{name}
Version: %{version}
Release: %{release}
Packager: TinyOS Group, UC Berkeley
License: GNU GPL-compatible
Group: Development/Tools
URL: %{url}
Source0: %{source}
BuildRoot: %{_tmppath}/%{name}-root

%description
C library for the %{target} platform.

%prep
%setup -q

%build
# doconf can have additional configuration parameters
cd src
make

%install
rm -rf %{buildroot}%{theprefix}
cd src
make prefix=%{buildroot}%{theprefix}/msp430 install
cd %{buildroot}%{theprefix}
rm -rf info

%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}

%files
%{theprefix}
%defattr(-,root,root,-)
%doc


%changelog
* Fri Mar 10 2005 root <kwright at cs.berkeley.edu> 1.2.3-1
- Initial version for multi-platform, multi-target




--- NEW FILE: xscale-elf.gcc.spec ---
# 
# The source must be in a tgz with the 
# name %{target}-%{version}-binutils.tgz.
# When unfolded, the top-level directory 
# must be %{target}-%{version}.
# 
#
# 03/14/2005 xscale
# target: xscale-elf
# version: 3.4.3
# release: 1
# 

%define target xscale-elf
%define version  3.4.3
%define release  1
%define name     %{target}-gcc
%define theprefix /usr
%define source %{name}-%{version}.tgz

Summary: gcc compiled for the %{target} platform 
Name: %{name}
Version: %{version}
Release: %{release}
Packager: kwright, TinyOS Group, UC Berkeley
License: GNU GPL
Group: Development/Tools
URL: ftp://ftp.gnu.org/pub/gnu/gcc/gcc-3.4.3/gcc-3.4.3.tar.bz2
Source0: %{name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-root

%description
gcc compiled for the %{target} platform. The tarfile was renamed 
to %{target}-gcc* to reflect the purpose. 

%prep
%setup -q

%build
./configure --target=%{target} --enable-languages=c --disable-nls --prefix=/usr
make

%install
rm -rf %{buildroot}%{theprefix}
make prefix=%{buildroot}%{theprefix} install
cd %{buildroot}%{theprefix}
rm lib/libiberty.a

%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_SOURCE_DIR/%{name}-%{version}

%files
%defattr(-,root,root,-)
%{theprefix}
%doc

%changelog
* Mon Mar 14 2005 root <kwright at cs.berkeley.edu> 3.4.3
- Initial build for multi-platform, multi-target





More information about the Tinyos-2-commits mailing list