-
Notifications
You must be signed in to change notification settings - Fork 2
/
gcc-4.8-blp.spec
74 lines (59 loc) · 1.74 KB
/
gcc-4.8-blp.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
%define debug_package %{nil}
%define _unpackaged_files_terminate_build 0
Name: gcc-4.8-blp
Version: 1.0.0
Release: 1%{?dist}
Summary: Custom gcc/gfortran compiler
License: GPLv3
URL: https://github.com/CodethinkLabs/gcc/tree/jmac/legacy-support-4_8-I
Source0: https://github.com/CodethinkLabs/gcc/archive/jmac/gcc-4.8-blp-1.0.0.tar.gz
BuildRequires: binutils >= 2.20.51.0.2-12
BuildRequires: glibc-static
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, sharutils
BuildRequires: texinfo, texinfo-tex, /usr/bin/pod2man
BuildRequires: systemtap-sdt-devel >= 1.3
BuildRequires: gdb
BuildRequires: glibc-devel >= 2.4.90-13
BuildRequires: elfutils-devel >= 0.147
BuildRequires: elfutils-libelf-devel >= 0.147
BuildRequires: gmp-devel >= 4.1.2-8, mpfr-devel >= 2.2.1, libmpc-devel >= 0.8.1
Requires: cpp
Requires: binutils >= 2.20.51.0.2-12
Conflicts: gdb < 5.1-2
Requires: glibc-devel >= 2.2.90-12
Requires: libgcc
Requires: libgomp
Requires: libgfortran
Requires: libquadmath
Requires: libquadmath-devel
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
AutoReq: 0
%description
This gcc package provides support for compiling Fortran
programs and includes Bloomberg's custom libraries.
%prep
%setup -q
%build
./contrib/download_prerequisites
mkdir ../gcc-build
pushd ../gcc-build
../%{name}-%{version}/configure --prefix=%{_prefix} --enable-languages=fortran
make %{?_smp_mflags}
popd
%install
rm -rf $RPM_BUILD_ROOT
pushd ../gcc-build
%make_install
popd
%files
%defattr(-,root,root,-)
%{_prefix}/bin/*
%{_prefix}/include/*
%{_prefix}/lib/*
%{_prefix}/lib64/*
%{_prefix}/libexec/*
%{_prefix}/share/*
%doc gcc/README* gcc/COPYING* COPYING.RUNTIME
#%{_prefix}/share/man/*
%changelog