# # spec file for package djgpp # Name: build-gcc Version: 0.0.git.437.7523786 Release: 1%{?dist} Summary: 64-bit DOS Group: Development/Tools License: GPL-3.0+ URL: https://github.com/stsp/build-gcc VCS: git+https://github.com/stsp/build-gcc.git#7523786d229d5179dcf080b6a49ae74df24da62c: Source0: build-gcc-0.0.git.437.7523786.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: bash BuildRequires: make BuildRequires: autoconf BuildRequires: automake BuildRequires: unzip BuildRequires: wget BuildRequires: bison BuildRequires: flex BuildRequires: texinfo BuildRequires: patch BuildRequires: tar BuildRequires: xz BuildRequires: bzip2 BuildRequires: gzip BuildRequires: dos2unix BuildRequires: zlib-devel %description djgpp is a gcc cross-compiler for DOS target. %prep %setup -q -n build-gcc-0.0.git.437.7523786 %build make PREFIX=%{_prefix} %{?_smp_mflags} %check %install CFLAGS=-g3 LDFLAGS= CPPFLAGS= CXXFLAGS=-g3 make DESTDIR=%{buildroot} PREFIX=%{_prefix} install %files %defattr(-,root,root) %{_bindir}/* %{_prefix}/i586-pc-msdosdjgpp %{_prefix}/libexec/gcc %{_prefix}/lib/gcc %changelog