Package lcc-libs-common-source: Specfile

%global _unpackaged_files_terminate_build 1
%global compat_gcc_branch 9

Name: lcc-libs-common-source
Version: 1.27.12
Release: alt1

Summary: GNU Binary Utility Development Utilities
# This packages contains mostly headers and linker scripts
License: GPLv1 with Autoconf-exception-2.0 GPLv2+ GPLv2+ with Autoconf-exception-2.0 GPLv3+ GPLv3+ with Autoconf-exception-3.0 GPLv3+ with GCC-exception-3.1 GPLv3+ with Libtool-exception LGPLv2.1+ with GCC-linking-exception BSD-1-Clause BSD-3-Clause
Group: Development/Other
Url: http://www.mcst.ru/
BuildArch: noarch

%global tarname gcc-%compat_gcc_branch
Source: %tarname.tar

%define sourcedir /usr/src/lcc-libs-common-source/%version

%description
Common files (m4, headers, etc) for gcc-based libraries: libatomic,
libgcc, libstdc++, libquadmath

%prep
%setup -n %tarname

# replace config.{guess,sub} with system versions from gnu-config
cp -f /usr/share/gnu-config/config.{guess,sub} .

%install
mkdir -p %buildroot%sourcedir
tar c . > %buildroot%sourcedir/%tarname.tar

%files
%sourcedir/%tarname.tar

%changelog
* Mon Jan 15 2024 Michael Shigorin <mike@altlinux.org> 1.27.12-alt1
- 1.27.12

* Sun Mar 05 2023 Michael Shigorin <mike@altlinux.org> 1.26.16-alt1
- 1.26.16

* Fri Nov 26 2021 Andrew Savchenko <bircoph@altlinux.org> 1.25.20-alt1
- Update to lcc-libs-1.25.20

* Thu May 21 2020 Andrew Savchenko <bircoph@altlinux.org> 1.24.07-alt2
- Replace config.{guess,sub} with system versions from gnu-config.

* Tue Feb 25 2020 Andrew Savchenko <bircoph@altlinux.org> 1.24.07-alt1
- Initial release for lcc-libs-1.24.07.