A new user interface for you!

File cross-msp430-devel.spec of Package cross-msp430-devel

# spec file for package msp430-gcc-support-files
# 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/

%define realname msp430-gcc-support-files

Name:           cross-msp430-devel
Version:        1.204
Release:        0
Summary:        Header files for MSP430 development
License:        BSD-3-Clause
Group:          Development/Languages
Url:            http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/index_FDS.html
Source0:        http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPGCC/latest/exports/%{realname}-%{version}.zip
BuildRequires:  unzip
BuildRequires:  fdupes
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

This package is derived from the official Texas Instruments MSP430 support
files and contains the necessary C header files for compilation with

%setup -q -n %{realname}


mkdir -p $incdir
cp -v include/*.h $incdir/

mkdir -p $lddir
cp -v include/*.ld $lddir/

%fdupes %{buildroot}/

%doc Revisions_Header.txt
%dir %{_prefix}/msp430-elf
%dir %{_prefix}/msp430-elf/sys-root
%dir %{_prefix}/msp430-elf/sys-root%{_includedir}/..
%dir %{_prefix}/msp430-elf/sys-root%{_includedir}

%dir %{_libdir}/gcc/msp430-elf
%dir %{_libdir}/gcc/msp430-elf/%{gcc_version}