Пакет lcc-blobs: Specfile

Загрузка lcc-blobs.spec
%set_verify_elf_method none
%def_without fortran

Name:     lcc-blobs
Version:  1.25.23
Release:  alt1

Summary:  lcc C compiler (for e2k)
License:  non-free
Group:    Development/C
Url:      http://www.mcst.ru/
Packager: Andrew Savchenko <bircoph@altlinux.org>

%define plevel 2
%ifarch e2kv6
Source0:  lcc_%version-vd6u%{plevel}_e2k-16c.deb
%else
%ifarch e2kv5
Source0:  lcc_%version-vd6u%{plevel}_e2k-8c2.deb
%else
%ifarch e2kv4
Source0:  lcc_%version-vd6u%{plevel}_e2k-8c.deb
%else
Source0:  lcc_%version-vd6u%{plevel}_e2k-4c.deb
%endif
%endif
%endif

ExclusiveArch: %e2k
BuildRequires: dpkg
AutoReqProv: no

%define lcc_dir %_usrsrc/%name

%description
This package contains the lcc C compiler (for e2k),
which has been provided by MCST as precompiled binaries.

This version of lcc is claimed to be compatible with GCC 7.3.

%prep
dpkg-deb -x %SOURCE0 .

%install
%if_without fortran
rm ./opt/mcst/bin/lfortran
rm ./opt/mcst/lcc-home/1.*/e2k-*-linux/bin/libffe.so
rm ./opt/mcst/lcc-home/1.*/e2k-*-linux/lib*/liblfortran.*
%endif
# we don't need them anyway, but sisyphus_check gots angry
rm ./opt/mcst/lcc-home/1.*/e2k-*-linux/lib*/*.so
# buildroot is required to make brp-alt happy
mkdir -p %buildroot%lcc_dir
# move files of interest
mv ./opt/mcst/* %buildroot%lcc_dir

%files
%lcc_dir

%changelog
* Mon May 30 2022 Andrew Savchenko <bircoph@altlinux.org> 1.25.23-alt1
- Update to lcc-1.25.23
- Disable Fortran.

* Wed Feb 02 2022 Andrew Savchenko <bircoph@altlinux.org> 1.25.20-alt2
- Add e2kv6 (e16c) blobs

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

* Wed May 19 2021 Andrew Savchenko <bircoph@altlinux.org> 1.25.17-alt1
- Update to lcc-1.25.17

* Wed Apr 21 2021 Andrew Savchenko <bircoph@altlinux.org> 1.25.15-alt1
- Update to lcc-1.25.15

* Thu Mar 11 2021 Andrew Savchenko <bircoph@altlinux.org> 1.25.14-alt1
- Update to lcc-1.25.14

* Wed Jan 20 2021 Andrew Savchenko <bircoph@altlinux.org> 1.25.12-alt1
- Update to lcc-1.25.12

* Tue Dec 15 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.11-alt1
- Update to lcc-1.25.11

* Tue Nov 10 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.10-alt1
- Update to lcc-1.25.10

* Wed Oct 28 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.09-alt2
- Add e2kv5 (e8c2) blobs

* Tue Oct 06 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.09-alt1
- Update to lcc-1.25.09

* Thu Sep 10 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.08-alt1
- Update to lcc-1.25.08

* Tue Aug 04 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.07-alt1
- Update to lcc-1.25.07

* Fri Jul 24 2020 Andrew Savchenko <bircoph@altlinux.org> 1.25.06-alt1
- Update to lcc-1.25.06

* Tue Jun 16 2020 Andrew Savchenko <bircoph@altlinux.org> 1.24.11-alt1
Update to lcc-1.24.11

* Wed Feb 26 2020 Andrew Savchenko <bircoph@altlinux.org> 1.24.07-alt1
Update to lcc-1.24.07

* Tue Jan 16 2020 Andrew Savchenko <bircoph@altlinux.org> 1.23.21-alt1.E2K.0
Update to lcc-1.23.21

* Tue Sep 24 2019 Andrew Savchenko <bircoph@altlinux.org> 1.23.20-alt1.E2K.0
Update to lcc-1.23.20

* Thu Sep 05 2019 Andrew Savchenko <bircoph@altlinux.org> 1.23.19-alt1.E2K.0
Update to lcc-1.23.19

* Sun Nov 11 2018 Andrew Savchenko <bircoph@altlinux.org> 1.23.12-alt1.E2K.0
Initial release
Наверх