]>
Commit | Line | Data |
---|---|---|
ed0486b4 PS |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with ssp # disable stack-smashing protector 'coz dietlibc will not work with it! | |
4 | # | |
c3a70eef | 5 | Summary: C library optimized for size |
dd5e72ff | 6 | Summary(pl): Biblioteka standardowa C zoptymalizowana na rozmiar |
d6210763 | 7 | Summary(pt_BR): libc pequena otimizada para tamanho |
09de3116 | 8 | Name: dietlibc |
db81efde JB |
9 | Version: 0.29 |
10 | Release: 1 | |
e72c8dd4 | 11 | Epoch: 2 |
aae0fca7 | 12 | License: GPL v2 |
09de3116 | 13 | Group: Development/Libraries |
18646183 | 14 | Source0: http://www.kernel.org/pub/linux/libs/dietlibc/%{name}-%{version}.tar.bz2 |
db81efde | 15 | # Source0-md5: 16d31dd7b5f9124e8ea8280c3f646e13 |
3b24d9ed | 16 | Source1: %{name}-divrem.m4 |
711665cb | 17 | Patch0: %{name}-ppc.patch |
b633677b | 18 | Patch1: %{name}-opt.patch |
b0443187 | 19 | Patch2: %{name}-athlon.patch |
fe0d2b24 | 20 | Patch3: %{name}-amd64.patch |
7497bf14 | 21 | Patch4: %{name}-pentiumX.patch |
7f6186e3 | 22 | Patch5: %{name}-gcc4.patch |
ef49f35c | 23 | URL: http://www.fefe.de/dietlibc/ |
3b24d9ed JB |
24 | %ifarch sparc |
25 | BuildRequires: m4 | |
26 | BuildRequires: perl-base | |
27 | %endif | |
09de3116 | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c3a70eef | 29 | |
b633677b JB |
30 | %define dietprefix %{_prefix}/%{_target_cpu}-linux-dietlibc |
31 | # for some reason known only to rpm there must be "\\|" not "\|" here | |
958a0119 | 32 | %define libarch %(echo %{_target_cpu} | sed -e 's/i.86\\|pentium.\\|athlon/i386/;s/amd64/x86_64/') |
b633677b | 33 | |
c3a70eef | 34 | %description |
35 | Small libc for building embedded applications. | |
36 | ||
dd5e72ff JB |
37 | %description -l pl |
38 | Niewielka libc do budowania aplikacji wbudowanych. | |
39 | ||
aae0fca7 | 40 | %description -l pt_BR |
b633677b JB |
41 |