forked from ps2dev/ps2toolchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathps2dev-gcc-stage1.spec
64 lines (50 loc) · 1.51 KB
/
ps2dev-gcc-stage1.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
Name: ps2dev-gcc-stage1
Version: 0.1
Release: alt1
Summary: ps2dev project's patched cross-gcc, stage1 (not for production)
License: GPL
Group: Development/Other
Url: https://github.com/ps2dev/ps2toolchain
Packager: Ildar Mulyukov <[email protected]>
Source: https://github.com/ps2dev/ps2toolchain.tar
Source1: https://github.com/downloads/ps2dev/ps2toolchain/gcc-3.2.2.tar.bz2
# Automatically added by buildreq on Mon Dec 03 2012 (-bi)
# optimized out: elfutils python-base
BuildRequires: git-core ps2dev-binutils wget
BuildRequires: ps2dev-binutils >= %version
Requires: ps2dev-binutils >= %version
%description
%name is the part of ps2dev toolchain.
This package provides the gcc-stage1 for building SDK.
It shouldn't be used for building applications, only SDK!
%prep
%setup -n ps2toolchain
mkdir downloads
cp -al %SOURCE1 downloads/
%install
export _DESTDIR=%buildroot
./toolchain.sh 2
# remove unnessesary files
rm -rf %buildroot$PS2DEV/{\
*/info/,\
*/man/,\
*/share/locale/,\
ps2sdk/,\
test.tmp\
}
%files
%prefix/ps2dev/ee/*/*
%exclude %prefix/ps2dev/ee/lib/libiberty.a
%package -n ps2dev-iop-gcc
Summary: ps2dev project's patched cross-gcc for IOP
Group: Development/Other
Requires: ps2dev-binutils >= %version
%description -n ps2dev-iop-gcc
ps2dev-iop-gcc is the part of ps2dev toolchain.
This package provides the IOP gcc.
%files -n ps2dev-iop-gcc
%prefix/ps2dev/iop/*/*
%exclude %prefix/ps2dev/iop/lib/libiberty.a
%changelog
* Mon Dec 03 2012 Ildar Mulyukov <[email protected]> 0.1-alt1
- initial build for ALT Linux family