2014-10-27 13:22:14 +01:00
|
|
|
#
|
|
|
|
# spec file for package crosstool-ng
|
|
|
|
#
|
2022-12-28 10:04:11 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2014-10-27 13:22:14 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-08-08 22:41:57 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-10-27 13:22:14 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: crosstool-ng
|
2022-12-28 10:04:11 +01:00
|
|
|
Version: 1.25.0
|
2014-10-27 13:22:14 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Toolchain building framework
|
2019-08-08 22:41:57 +02:00
|
|
|
License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND LGPL-2.1-only AND LGPL-3.0-or-later
|
2014-10-27 13:22:14 +01:00
|
|
|
Group: Development/Tools/Building
|
2022-12-28 10:04:11 +01:00
|
|
|
URL: http://crosstool-ng.org
|
2019-08-08 22:41:57 +02:00
|
|
|
Source0: http://crosstool-ng.org/download/crosstool-ng/%{name}-%{version}.tar.xz
|
|
|
|
Source1: http://crosstool-ng.org/download/crosstool-ng/%{name}-%{version}.tar.xz.sig
|
|
|
|
# Alexey Neyman's public key. See http://crosstool-ng.github.io/docs/install/.
|
|
|
|
Source98: %{name}.keyring
|
|
|
|
Source99: %{name}.rpmlintrc
|
2014-10-27 13:22:14 +01:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: gperf
|
2015-11-20 14:45:09 +01:00
|
|
|
BuildRequires: help2man
|
2014-10-27 13:22:14 +01:00
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: makeinfo
|
|
|
|
BuildRequires: ncurses-devel
|
2019-08-08 22:41:57 +02:00
|
|
|
BuildRequires: unzip
|
2014-10-27 13:22:14 +01:00
|
|
|
BuildRequires: wget
|
|
|
|
Requires: bzip2
|
|
|
|
Requires: gcc
|
|
|
|
Requires: gcc-c++
|
|
|
|
Requires: glibc-devel-static
|
|
|
|
Requires: gzip
|
|
|
|
Requires: m4
|
|
|
|
Requires: wget
|
|
|
|
Requires: xz
|
|
|
|
|
|
|
|
%description
|
|
|
|
crosstool-NG aims at building toolchains. Toolchains are an essential component
|
|
|
|
in a software development project. It will compile, assemble and link the code
|
|
|
|
that is being developed. Some pieces of the toolchain will eventually end up
|
2015-11-20 14:45:09 +01:00
|
|
|
in the resulting binary/ies: static libraries are but an example.
|
2014-10-27 13:22:14 +01:00
|
|
|
|
|
|
|
%prep
|
2017-06-19 20:22:03 +02:00
|
|
|
%setup -q
|
2014-10-27 13:22:14 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--docdir=%{_docdir}/%{name}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2019-08-08 22:41:57 +02:00
|
|
|
%fdupes %{buildroot}%{_datadir}/%{name}
|
|
|
|
# from legal team
|
|
|
|
# "Distribution and use is free, also for commercial purposes" (no modification permission)
|
|
|
|
find %{buildroot} -name '*-new-valencian-locale.patch' -type f -delete -print
|
2014-10-27 13:22:14 +01:00
|
|
|
|
|
|
|
%files
|
2019-08-08 22:41:57 +02:00
|
|
|
%license COPYING
|
2014-10-27 13:22:14 +01:00
|
|
|
%{_bindir}/ct-ng
|
2019-08-08 22:41:57 +02:00
|
|
|
%{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/bash-completion
|
|
|
|
%dir %{_datadir}/bash-completion/completions/
|
|
|
|
%{_datadir}/bash-completion/completions/ct-ng
|
|
|
|
%{_docdir}/%{name}
|
|
|
|
%{_libexecdir}/%{name}
|
2014-10-27 13:22:14 +01:00
|
|
|
%{_mandir}/man1/ct-ng.1.gz
|
|
|
|
|
|
|
|
%changelog
|