File asl.spec of Package asl

# spec file for package asl
# Copyright (c) 2022 SUSE LLC
# 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

Name:           asl
Version:        1.42_bld232
Release:        0
Summary:        Macro Assembler AS
License:        GPL-2.0-only OR GPL-3.0-only
Patch0:         asl-buildfixes.patch
BuildRequires:  gcc-c++
Obsoletes:      %{name}-doc

AS is a portable macro cross-assembler for a variety of microprocessors
and controllers. Although it is mainly targeted at embedded processors
and single-board computers, you also find CPU families that are used in
workstations and PCs in the target list.

%autosetup -p1 -n asl-current

make %{?_smp_mflags} CFLAGS="%{optflags} -fno-strict-aliasing"

make %{?_smp_mflags} test

%make_install INSTROOT=%{buildroot}

%license COPYING
%dir %{_prefix}/lib/asl

openSUSE Build Service is sponsored by