File xc3sprog.spec of Package xc3sprog
#
# spec file for package xc3sprog
#
# Copyright (c) 2018, Martin Hauke <mardnh@gmx.de>
#
# 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/
#
Name: xc3sprog
Version: 0.0.0+git.20190927
Release: 0
Summary: Utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs
License: GPL-2.0-only
Group: Development/Tools/Other
URL: https://github.com/xtrx-sdr/xc3sprog
#Git-Clone: https://github.com/xtrx-sdr/xc3sprog.git
Source: %{name}-%{version}.tar.xz
Patch0: xc3sprog-limit-gcc-version.patch
BuildRequires: cmake
BuildRequires: gcc-c++
%if 0%{?suse_version} >= 1600
BuildRequires: libftdi0-devel
%else
BuildRequires: libftdi-devel
%endif
BuildRequires: libusb-1_0-devel
BuildRequires: libusb3380-devel
ExclusiveArch: %{ix86} x86_64 aarch64 armv7hl s390x
%description
A suite of utilities for programming Xilinx FPGAs, CPLDs, and EEPROMs
with the Xilinx Parallel Cable and other JTAG adapters.
Special branch for XTRX over USB3 adapter.
%prep
%autosetup -p1
%build
%cmake
%install
%cmake_install
%check
%files
%license LICENSE
%doc README
%{_bindir}/bitparse
%{_bindir}/detectchain
%{_bindir}/jedecparse
%{_bindir}/readdna
%{_bindir}/srecparse
%{_bindir}/xc2c_warp
%{_bindir}/xc3sprog
%changelog