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