File cc-tool.spec of Package cc-tool

#
# spec file for package cc-tool
#
# Copyright (c) 2018 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 https://bugs.opensuse.org/
#


Summary:        Support for Texas Instruments CC Debugger in Linux
License:        GPL-2.0-only
Group:          Hardware/Other
Name:           cc-tool
Version:        0.26
Release:        0
Source0:        cc-tool-%{version}-src.tgz
Source1:        boost.m4
Patch1:         fix-flashing.patch
URL:            http://sourceforge.net/projects/cctool/
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  gettext-devel
BuildRequires:  libboost_filesystem-devel >= 1.55
BuildRequires:  libboost_program_options-devel >= 1.55
BuildRequires:  libboost_regex-devel >= 1.55
BuildRequires:  libboost_system-devel >= 1.55
BuildRequires:  libtool
BuildRequires:  libusb-devel

%description
Support for Texas Instruments CC Debugger in Linux

Can be used to flash various Texas Instruments chips


%prep
%setup -q -n %name
%patch1 -p0

%build
cp %{S:1} m4/
autoreconf -vfi
%configure
make

%install
%make_install

%files
%doc AUTHORS ChangeLog NEWS README
%license COPYING
%{_bindir}/*
%_mandir/man*/cc-tool.*

%changelog
openSUSE Build Service is sponsored by